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.00132/0.00132, allocations: 100.7 kB / 16.4 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 197.1 kB / 17.34 MB, free: 5.582 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8529/0.8529, allocations: 126.7 MB / 417.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.27 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1509, allocations: 78.87 MB / 0.6506 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002518/0.1535, allocations: 1.416 MB / 0.6519 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000253/0.1538, allocations: 96.53 kB / 0.652 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.1538, allocations: 4 kB / 0.652 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.1538, allocations: 0 / 0.652 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.863e-05/0.1539, allocations: 3.938 kB / 0.652 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.1541, allocations: 23.95 kB / 0.6521 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.36e-05/0.1541, allocations: 15.94 kB / 0.6521 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.897e-05/0.1542, allocations: 11.98 kB / 0.6521 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.014e-05/0.1543, allocations: 7.938 kB / 0.6521 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.1543, allocations: 11.98 kB / 0.6521 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1544, allocations: 8 kB / 0.6521 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.1544, allocations: 23.92 kB / 0.6521 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.1545, allocations: 7.938 kB / 0.6522 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1545, allocations: 15.92 kB / 0.6522 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.1546, allocations: 32.11 kB / 0.6522 GB, free: 1.898 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1546, allocations: 0 / 0.6522 GB, free: 1.898 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1546, allocations: 0 / 0.6522 GB, free: 1.898 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1546, allocations: 0 / 0.6522 GB, free: 1.898 MB / 494.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.0004726/0.1551, allocations: 343.4 kB / 0.6525 GB, free: 1.512 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1552, allocations: 12.03 kB / 0.6525 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.1552, allocations: 34.75 kB / 0.6526 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.1554, allocations: 20.86 kB / 0.6526 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1555, allocations: 164.4 kB / 0.6527 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.1555, allocations: 8.297 kB / 0.6528 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.1555, allocations: 384 / 0.6528 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1557, allocations: 58.22 kB / 0.6528 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1558, allocations: 3.938 kB / 0.6528 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1558, allocations: 4 kB / 0.6528 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1558, allocations: 3.938 kB / 0.6528 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.156, allocations: 47.95 kB / 0.6529 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.1564, allocations: 261 kB / 0.6531 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1566, allocations: 62.48 kB / 0.6532 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1567, allocations: 24.91 kB / 0.6532 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1567, allocations: 3.984 kB / 0.6532 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1568, allocations: 34.5 kB / 0.6532 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1568, allocations: 0 / 0.6532 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004258/0.1572, allocations: 109.6 kB / 0.6533 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.1573, allocations: 51.41 kB / 0.6534 GB, free: 496 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.427e-05/0.1574, allocations: 105.8 kB / 0.6535 GB, free: 380 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1574, allocations: 25.7 kB / 0.6535 GB, free: 348 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.1574, allocations: 90 kB / 0.6536 GB, free: 256 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.1575, allocations: 3.953 kB / 0.6536 GB, free: 252 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.1575, allocations: 9.844 kB / 0.6536 GB, free: 236 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1577, allocations: 322.8 kB / 0.6539 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1578, allocations: 19.97 kB / 0.6539 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1579, allocations: 23.97 kB / 0.654 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.1581, allocations: 64.75 kB / 0.654 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1581, allocations: 3.938 kB / 0.654 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002469/0.1584, allocations: 77.66 kB / 0.6541 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1584, allocations: 4 kB / 0.6541 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1584, allocations: 0 / 0.6541 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1584, allocations: 0 / 0.6541 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1585, allocations: 11.98 kB / 0.6541 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1586, allocations: 4.031 kB / 0.6541 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.566e-05/0.1586, allocations: 11.92 kB / 0.6541 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.1586, allocations: 4 kB / 0.6541 GB, free: 15.68 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.998e-05/0.1587, allocations: 113.8 kB / 0.6542 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.1588, allocations: 7.938 kB / 0.6543 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.1588, allocations: 7.531 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1588, allocations: 3.938 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1588, allocations: 0 / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1588, allocations: 0 / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.159, allocations: 173.6 kB / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.159, allocations: 0 / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.1591, allocations: 11.98 kB / 0.6544 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1591, allocations: 3.938 kB / 0.6544 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1591, allocations: 0 / 0.6544 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1592, allocations: 0 / 0.6544 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1592, allocations: 0 / 0.6544 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.1595, allocations: 179.4 kB / 0.6546 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.1595, allocations: 77.36 kB / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1595, allocations: 0 / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.694e-05/0.1596, allocations: 15.98 kB / 0.6547 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.1597, allocations: 0 / 0.6547 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1597, allocations: 0 / 0.6547 GB, free: 15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.212e-05/0.1597, allocations: 87.27 kB / 0.6548 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1598, allocations: 7.969 kB / 0.6548 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002198/0.16, allocations: 8 kB / 0.6548 GB, free: 14.9 MB / 0.4981 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 (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.0006198/0.1606, allocations: 0.7046 MB / 0.6555 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002638/0.1609, allocations: 55.98 kB / 0.6555 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1609, allocations: 0 / 0.6555 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.161, allocations: 31.91 kB / 0.6556 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.1613, allocations: 3.938 kB / 0.6556 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.1618, allocations: 155.3 kB / 0.6557 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.1621, allocations: 0.6768 MB / 0.6564 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.1621, allocations: 0 / 0.6564 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.1622, allocations: 15.42 kB / 0.6564 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1622, allocations: 0 / 0.6564 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.1841, allocations: 1.459 MB / 0.6578 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.401, allocations: 4.531 kB / 0.6578 GB, free: 11.78 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)