Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized",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 1.731/1.731, allocations: 287.4 MB / 302.6 MB, free: 8.352 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.0009918/0.0009919, allocations: 178.5 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0007966/0.0007967, allocations: 84.8 kB / 0.7431 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004108, allocations: 16.98 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.223, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001705/0.2248, allocations: 1.156 MB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002899/0.2251, allocations: 88.62 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.2252, allocations: 0 / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.2252, allocations: 0 / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.577e-05/0.2253, allocations: 7.938 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.2254, allocations: 7.984 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.96e-05/0.2255, allocations: 27.92 kB / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2256, allocations: 0 / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.678e-05/0.2257, allocations: 7.938 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.2257, allocations: 15.98 kB / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2258, allocations: 0 / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.034e-05/0.2258, allocations: 15.98 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.2258, allocations: 3.984 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.2259, allocations: 33.64 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.393e-05/0.226, allocations: 23.91 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.226, allocations: 3.984 kB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.226, allocations: 0 / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.226, allocations: 0 / 0.9801 GB, free: 26.67 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004605/0.2265, allocations: 351.7 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.2265, allocations: 8.031 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.2266, allocations: 30.75 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.2268, allocations: 16.92 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2269, allocations: 164.3 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.2269, allocations: 4.375 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.2269, allocations: 4.312 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.2271, allocations: 70.22 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2272, allocations: 11.88 kB / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2272, allocations: 0 / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2272, allocations: 0 / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.2274, allocations: 59.95 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.2278, allocations: 265 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.228, allocations: 62.48 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.2281, allocations: 40.88 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.2281, allocations: 4 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2281, allocations: 38.5 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.2282, allocations: 4 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004305/0.2286, allocations: 121.6 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.2286, allocations: 51.41 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.339e-05/0.2287, allocations: 105.8 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.2287, allocations: 25.7 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.2288, allocations: 92.27 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.2288, allocations: 7.844 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.2288, allocations: 0 / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.2289, allocations: 310.8 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.229, allocations: 31.97 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.403e-05/0.2291, allocations: 39.91 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.2293, allocations: 68.88 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2293, allocations: 3.938 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000228/0.2295, allocations: 101.5 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2295, allocations: 4 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2295, allocations: 4 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2296, allocations: 3.984 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2297, allocations: 8 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.2297, allocations: 3.984 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/0.2298, allocations: 12 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.2298, allocations: 4.031 kB / 0.9821 GB, free: 24.35 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 (2): * Single equations (assignments): 2 * 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 7.266e-05/0.2299, allocations: 123 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.2299, allocations: 8 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.2299, allocations: 3.531 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2299, allocations: 0 / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.23, allocations: 0 / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.23, allocations: 0 / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2301, allocations: 165.6 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2301, allocations: 0 / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.641e-05/0.2302, allocations: 23.98 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2302, allocations: 0 / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.2302, allocations: 3.938 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2302, allocations: 0 / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2302, allocations: 0 / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.2305, allocations: 191.4 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.2306, allocations: 85.02 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.2306, allocations: 0 / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.58e-05/0.2307, allocations: 16.02 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.2307, allocations: 0 / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.2307, allocations: 3.938 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.729e-05/0.2308, allocations: 91.52 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2308, allocations: 4 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001918/0.231, allocations: 4 kB / 0.9828 GB, free: 23.55 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 (2): * Single equations (assignments): 2 * 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.0004404/0.2314, allocations: 0.7202 MB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.2317, allocations: 67.98 kB / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2317, allocations: 0 / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.2318, allocations: 39.97 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.2321, allocations: 4 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.2325, allocations: 158.3 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.2327, allocations: 0.677 MB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.056e-05/0.2327, allocations: 7.906 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.2328, allocations: 11.44 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.2328, allocations: 0 / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.2454, allocations: 1.175 MB / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.2456, allocations: 197.9 kB / 0.9858 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.732, allocations: 0 / 0.9858 GB, free: 20.48 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)