Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008946/0.0008945, allocations: 96.08 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009622/0.0009622, allocations: 181.9 kB / 16.92 MB, free: 6.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7146/0.7146, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 9.719 kB / 496 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1689, allocations: 77.52 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.001918/0.1709, allocations: 1.154 MB / 0.5612 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003675/0.1713, allocations: 100.6 kB / 0.5613 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.1713, allocations: 0 / 0.5613 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.1714, allocations: 0 / 0.5613 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.1714, allocations: 3.938 kB / 0.5613 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.1716, allocations: 15.92 kB / 0.5613 GB, free: 7.641 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.666e-05/0.1717, allocations: 23.92 kB / 0.5613 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.274e-05/0.1718, allocations: 4 kB / 0.5613 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/0.1719, allocations: 4 kB / 0.5613 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.1719, allocations: 19.86 kB / 0.5613 GB, free: 7.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1719, allocations: 4 kB / 0.5613 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.914e-05/0.172, allocations: 15.98 kB / 0.5613 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.172, allocations: 3.984 kB / 0.5614 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.1721, allocations: 41.62 kB / 0.5614 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.1722, allocations: 27.91 kB / 0.5614 GB, free: 7.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1722, allocations: 0 / 0.5614 GB, free: 7.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1723, allocations: 0 / 0.5614 GB, free: 7.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1723, allocations: 0 / 0.5614 GB, free: 7.492 MB / 430.1 MB 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.0005049/0.1728, allocations: 347.7 kB / 0.5618 GB, free: 7.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.1728, allocations: 16.02 kB / 0.5618 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.1729, allocations: 30.75 kB / 0.5618 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.1731, allocations: 16.92 kB / 0.5618 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1733, allocations: 164.3 kB / 0.562 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.1733, allocations: 384 / 0.562 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.1734, allocations: 8.359 kB / 0.562 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.1736, allocations: 66.22 kB / 0.562 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1736, allocations: 7.875 kB / 0.562 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1736, allocations: 4 kB / 0.5621 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1736, allocations: 0 / 0.5621 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.1739, allocations: 63.89 kB / 0.5621 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.1743, allocations: 261 kB / 0.5624 GB, free: 6.375 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1746, allocations: 70.48 kB / 0.5624 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.1747, allocations: 36.89 kB / 0.5625 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1747, allocations: 4 kB / 0.5625 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1748, allocations: 34.5 kB / 0.5625 GB, free: 6.211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.1748, allocations: 0 / 0.5625 GB, free: 6.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004941/0.1753, allocations: 125.6 kB / 0.5626 GB, free: 6.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.1753, allocations: 51.41 kB / 0.5627 GB, free: 6.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.1754, allocations: 105.8 kB / 0.5628 GB, free: 5.906 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1754, allocations: 25.7 kB / 0.5628 GB, free: 5.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.1755, allocations: 84.14 kB / 0.5629 GB, free: 5.789 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.1755, allocations: 19.95 kB / 0.5629 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.1756, allocations: 9.719 kB / 0.5629 GB, free: 5.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1757, allocations: 310.8 kB / 0.5632 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1759, allocations: 31.97 kB / 0.5632 GB, free: 5.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.176, allocations: 35.97 kB / 0.5633 GB, free: 5.375 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.1762, allocations: 76.75 kB / 0.5633 GB, free: 5.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1762, allocations: 3.938 kB / 0.5633 GB, free: 5.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002683/0.1765, allocations: 89.66 kB / 0.5634 GB, free: 5.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1765, allocations: 8.031 kB / 0.5634 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1766, allocations: 4 kB / 0.5634 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1766, allocations: 3.984 kB / 0.5634 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1767, allocations: 8 kB / 0.5634 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1767, allocations: 7.969 kB / 0.5635 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.1768, allocations: 15.91 kB / 0.5635 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1768, allocations: 256 / 0.5635 GB, free: 5.152 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.1769, allocations: 117.8 kB / 0.5636 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.177, allocations: 8 kB / 0.5636 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.177, allocations: 3.531 kB / 0.5636 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.177, allocations: 4 kB / 0.5636 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.177, allocations: 3.938 kB / 0.5636 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.177, allocations: 0 / 0.5636 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.1773, allocations: 169.5 kB / 0.5638 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1773, allocations: 0 / 0.5638 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/0.1774, allocations: 23.98 kB / 0.5638 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1774, allocations: 0 / 0.5638 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1774, allocations: 0 / 0.5638 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1774, allocations: 0 / 0.5638 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1774, allocations: 0 / 0.5638 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.1777, allocations: 191.4 kB / 0.564 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.1778, allocations: 85.02 kB / 0.5641 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.1778, allocations: 0 / 0.5641 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.45e-05/0.1779, allocations: 11.98 kB / 0.5641 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.178, allocations: 4.031 kB / 0.5641 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.178, allocations: 0 / 0.5641 GB, free: 4.449 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.624e-05/0.178, allocations: 91.27 kB / 0.5642 GB, free: 4.359 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.783e-06/0.178, allocations: 0 / 0.5642 GB, free: 4.359 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1783, allocations: 7.938 kB / 0.5642 GB, free: 4.352 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006325/0.1789, allocations: 0.7202 MB / 0.5649 GB, free: 3.605 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.1792, allocations: 67.98 kB / 0.5649 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1792, allocations: 0 / 0.5649 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.1793, allocations: 39.97 kB / 0.565 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.1796, allocations: 4 kB / 0.565 GB, free: 3.496 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.1801, allocations: 156.8 kB / 0.5651 GB, free: 3.309 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1804, allocations: 0.6888 MB / 0.5658 GB, free: 2.594 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.263e-05/0.1804, allocations: 0 / 0.5658 GB, free: 2.594 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.1805, allocations: 11.44 kB / 0.5658 GB, free: 2.582 MB / 430.1 MB Notification: Performance of SimCode: time 1.814e-06/0.1805, allocations: 0 / 0.5658 GB, free: 2.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.2067, allocations: 1.193 MB / 0.567 GB, free: 1.527 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/0.2071, allocations: 192.1 kB / 0.5672 GB, free: 1.273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.968, allocations: 4 kB / 0.5672 GB, free: 1.27 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)