Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",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.002297/0.002297, allocations: 110.5 kB / 16.41 MB, free: 6.441 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.002081/0.002081, allocations: 193.2 kB / 17.34 MB, free: 5.699 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7875/0.7875, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 73.09 kB / 0.568 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1636, allocations: 77.94 MB / 0.6441 GB, free: 9.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002949/0.1666, allocations: 1.479 MB / 0.6455 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003508/0.1669, allocations: 112.5 kB / 0.6456 GB, free: 7.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.167, allocations: 4 kB / 0.6456 GB, free: 7.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.82e-05/0.1671, allocations: 0 / 0.6456 GB, free: 7.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.28e-05/0.1671, allocations: 11.88 kB / 0.6456 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.1674, allocations: 27.95 kB / 0.6457 GB, free: 7.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.751e-05/0.1675, allocations: 43.84 kB / 0.6457 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1676, allocations: 4 kB / 0.6457 GB, free: 7.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.929e-05/0.1677, allocations: 23.92 kB / 0.6457 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.1677, allocations: 15.92 kB / 0.6457 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1677, allocations: 4 kB / 0.6457 GB, free: 7.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.41e-05/0.1678, allocations: 23.98 kB / 0.6458 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.1679, allocations: 19.92 kB / 0.6458 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.1679, allocations: 23.86 kB / 0.6458 GB, free: 7.715 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1681, allocations: 60.02 kB / 0.6459 GB, free: 7.656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1681, allocations: 0 / 0.6459 GB, free: 7.656 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1681, allocations: 0 / 0.6459 GB, free: 7.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1681, allocations: 0 / 0.6459 GB, free: 7.656 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005899/0.1687, allocations: 379.1 kB / 0.6462 GB, free: 7.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1688, allocations: 12.62 kB / 0.6462 GB, free: 7.223 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.1688, allocations: 34.75 kB / 0.6463 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.1689, allocations: 12.89 kB / 0.6463 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.169, allocations: 182.3 kB / 0.6465 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.169, allocations: 384 / 0.6465 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.169, allocations: 4.312 kB / 0.6465 GB, free: 6.949 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.1693, allocations: 74.22 kB / 0.6465 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1693, allocations: 3.938 kB / 0.6465 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1693, allocations: 0 / 0.6465 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1694, allocations: 0 / 0.6465 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.1697, allocations: 79.92 kB / 0.6466 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.17, allocations: 288.8 kB / 0.6469 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.1703, allocations: 66.53 kB / 0.647 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.1704, allocations: 48.91 kB / 0.647 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.1707, allocations: 113 kB / 0.6471 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1707, allocations: 30.56 kB / 0.6471 GB, free: 6.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1707, allocations: 0 / 0.6471 GB, free: 6.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005787/0.1713, allocations: 153.5 kB / 0.6473 GB, free: 6.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1714, allocations: 51.41 kB / 0.6473 GB, free: 5.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1715, allocations: 129.8 kB / 0.6475 GB, free: 5.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1715, allocations: 25.7 kB / 0.6475 GB, free: 5.777 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.1716, allocations: 96.14 kB / 0.6476 GB, free: 5.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.1716, allocations: 7.906 kB / 0.6476 GB, free: 5.672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.1716, allocations: 21.7 kB / 0.6476 GB, free: 5.645 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1718, allocations: 314.8 kB / 0.6479 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.1719, allocations: 35.95 kB / 0.6479 GB, free: 5.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.1721, allocations: 31.97 kB / 0.648 GB, free: 5.262 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.1724, allocations: 92.7 kB / 0.6481 GB, free: 5.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1724, allocations: 0 / 0.6481 GB, free: 5.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003416/0.1728, allocations: 105.8 kB / 0.6482 GB, free: 5.059 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1728, allocations: 8 kB / 0.6482 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1728, allocations: 0 / 0.6482 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1728, allocations: 4 kB / 0.6482 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1729, allocations: 16.02 kB / 0.6482 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.173, allocations: 0 / 0.6482 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.541e-05/0.1731, allocations: 23.86 kB / 0.6482 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1731, allocations: 4 kB / 0.6482 GB, free: 5.004 MB / 494.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 (3): * Single equations (assignments): 3 * 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 8.451e-05/0.1732, allocations: 118.7 kB / 0.6483 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.1732, allocations: 4 kB / 0.6483 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.1736, allocations: 125.4 kB / 0.6484 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1736, allocations: 0 / 0.6484 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1736, allocations: 0 / 0.6484 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1736, allocations: 4 kB / 0.6485 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.1738, allocations: 181.6 kB / 0.6486 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1738, allocations: 4 kB / 0.6486 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.459e-05/0.1739, allocations: 15.98 kB / 0.6486 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1739, allocations: 0 / 0.6486 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1739, allocations: 3.938 kB / 0.6486 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1739, allocations: 0 / 0.6486 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1739, allocations: 0 / 0.6486 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.1743, allocations: 219.3 kB / 0.6489 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.1744, allocations: 81.06 kB / 0.6489 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1744, allocations: 7.922 kB / 0.6489 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1745, allocations: 11.98 kB / 0.649 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.1746, allocations: 4 kB / 0.649 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1746, allocations: 4 kB / 0.649 GB, free: 4.129 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.324e-05/0.1747, allocations: 97.89 kB / 0.6491 GB, free: 4.035 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1747, allocations: 4 kB / 0.6491 GB, free: 4.031 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.1749, allocations: 15.98 kB / 0.6491 GB, free: 4.016 MB / 494.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 (3): * Single equations (assignments): 3 * 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.0006752/0.1756, allocations: 0.7358 MB / 0.6498 GB, free: 3.254 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.1759, allocations: 83.86 kB / 0.6499 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1759, allocations: 0 / 0.6499 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.1761, allocations: 43.95 kB / 0.6499 GB, free: 3.129 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.1764, allocations: 4 kB / 0.6499 GB, free: 3.125 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.1769, allocations: 191 kB / 0.6501 GB, free: 2.898 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1771, allocations: 0.6885 MB / 0.6508 GB, free: 2.184 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.957e-05/0.1772, allocations: 0 / 0.6508 GB, free: 2.184 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.1772, allocations: 19.44 kB / 0.6508 GB, free: 2.164 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1772, allocations: 0 / 0.6508 GB, free: 2.164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.1961, allocations: 1.886 MB / 0.6526 GB, free: 364 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/7.721, allocations: 10.3 kB / 0.6526 GB, free: 356 kB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear_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_QuadraticLinear.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)