Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.563/2.563, allocations: 287.3 MB / 302.3 MB, free: 8.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001614/0.001614, allocations: 183 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.186/2.186, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 105 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005058, allocations: 12.52 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2233, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001861/0.2252, allocations: 1.281 MB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009813/0.2262, allocations: 0.5175 MB / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.2263, allocations: 0 / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.83e-05/0.2264, allocations: 3.938 kB / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.174e-05/0.2265, allocations: 19.91 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.2267, allocations: 39.89 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.2268, allocations: 43.89 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.227, allocations: 36.19 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.371e-05/0.2271, allocations: 27.92 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.2272, allocations: 27.84 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2272, allocations: 4 kB / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.109e-05/0.2273, allocations: 7.984 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.34e-05/0.2273, allocations: 15.92 kB / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.2274, allocations: 37.64 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.2275, allocations: 64.05 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2275, allocations: 0 / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2275, allocations: 0 / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2275, allocations: 0 / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005835/0.2281, allocations: 395 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2282, allocations: 16.02 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.2282, allocations: 38.55 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.2283, allocations: 11.86 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.2284, allocations: 192.7 kB / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2285, allocations: 4 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.2285, allocations: 12 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.2288, allocations: 105.6 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2289, allocations: 3.938 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.2289, allocations: 4 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2289, allocations: 4 kB / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.2293, allocations: 107.9 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.23, allocations: 392.5 kB / 0.9816 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.2303, allocations: 62.55 kB / 0.9816 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.2303, allocations: 7.953 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.2304, allocations: 38.5 kB / 0.9817 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 2.425e-06/0.2304, allocations: 0 / 0.9817 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006946/0.2311, allocations: 185.6 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.2311, allocations: 51.41 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2313, allocations: 134 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2313, allocations: 29.7 kB / 0.9821 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.2313, allocations: 104.2 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.2314, allocations: 15.8 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.2314, allocations: 0 / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.2315, allocations: 322.8 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.2317, allocations: 47.97 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.2319, allocations: 47.91 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.2321, allocations: 52.34 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2321, allocations: 0 / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004334/0.2326, allocations: 137.5 kB / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.2326, allocations: 17.97 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2326, allocations: 0 / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2326, allocations: 4 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2329, allocations: 15.98 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2329, allocations: 4 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.233, allocations: 11.98 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.2331, allocations: 0 / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.347e-05/0.2332, allocations: 131.7 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.2332, allocations: 7.906 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.2337, allocations: 158.2 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2337, allocations: 4 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2338, allocations: 0 / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2338, allocations: 0 / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.234, allocations: 209.5 kB / 0.9833 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.234, allocations: 0 / 0.9833 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.2342, allocations: 23.97 kB / 0.9833 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2342, allocations: 4 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2343, allocations: 0 / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.2343, allocations: 3.953 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2343, allocations: 0 / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.2347, allocations: 239.3 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.2348, allocations: 89.02 kB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.2348, allocations: 4 kB / 0.9836 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.235, allocations: 12.17 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.2351, allocations: 15.92 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.2351, allocations: 7.938 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.06e-05/0.2352, allocations: 103.3 kB / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2352, allocations: 0 / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003213/0.2355, allocations: 12 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007054/0.2362, allocations: 0.7709 MB / 0.9845 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004315/0.2367, allocations: 115.9 kB / 0.9847 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2367, allocations: 0 / 0.9847 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.2369, allocations: 63.91 kB / 0.9847 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.2371, allocations: 7.953 kB / 0.9847 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2386, allocations: 0.7148 MB / 0.9854 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.2388, allocations: 0.7043 MB / 0.9861 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.239, allocations: 11.98 kB / 0.9861 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.239, allocations: 31.42 kB / 0.9861 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of SimCode: time 9.71e-07/0.2391, allocations: 0 / 0.9861 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.2641, allocations: 1.687 MB / 0.9878 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/0.2645, allocations: 175.7 kB / 0.988 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/2.725, allocations: 4 kB / 0.988 GB, free: 17.97 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)