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.001936/0.001936, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001963/0.001963, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8366/0.8366, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 73.25 kB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1499, allocations: 78.86 MB / 0.6506 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002951/0.1529, allocations: 1.481 MB / 0.652 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003723/0.1533, allocations: 108.6 kB / 0.6521 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.1533, allocations: 4 kB / 0.6521 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.24e-05/0.1534, allocations: 3.938 kB / 0.6521 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.1535, allocations: 7.938 kB / 0.6521 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1538, allocations: 23.91 kB / 0.6521 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.1539, allocations: 39.92 kB / 0.6522 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.154, allocations: 19.95 kB / 0.6522 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.919e-05/0.1541, allocations: 19.92 kB / 0.6522 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.1541, allocations: 23.86 kB / 0.6522 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1542, allocations: 7.938 kB / 0.6522 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.1543, allocations: 19.98 kB / 0.6523 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.1543, allocations: 19.98 kB / 0.6523 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.1544, allocations: 19.86 kB / 0.6523 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.1545, allocations: 63.95 kB / 0.6524 GB, free: 1.754 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1546, allocations: 0 / 0.6524 GB, free: 1.754 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1546, allocations: 0 / 0.6524 GB, free: 1.754 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1546, allocations: 0 / 0.6524 GB, free: 1.754 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.0006029/0.1552, allocations: 383.1 kB / 0.6527 GB, free: 1.328 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1552, allocations: 12.03 kB / 0.6527 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.1553, allocations: 34.75 kB / 0.6528 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.1553, allocations: 4.938 kB / 0.6528 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1555, allocations: 177.7 kB / 0.6529 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1555, allocations: 4.375 kB / 0.653 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.1555, allocations: 384 / 0.653 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.1558, allocations: 78.2 kB / 0.653 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1558, allocations: 3.938 kB / 0.653 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.1558, allocations: 0 / 0.653 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1558, allocations: 4 kB / 0.653 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.1561, allocations: 75.86 kB / 0.6531 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.1565, allocations: 284.9 kB / 0.6534 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.1568, allocations: 72.33 kB / 0.6534 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.1569, allocations: 44.91 kB / 0.6535 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.1572, allocations: 105.1 kB / 0.6536 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.1573, allocations: 42.48 kB / 0.6536 GB, free: 272 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.1573, allocations: 4 kB / 0.6536 GB, free: 268 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005922/0.1579, allocations: 141.5 kB / 0.6538 GB, free: 120 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1579, allocations: 51.41 kB / 0.6538 GB, free: 56 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1581, allocations: 131.6 kB / 0.6539 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1581, allocations: 33.7 kB / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.1582, allocations: 88.14 kB / 0.6541 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.1582, allocations: 7.906 kB / 0.6541 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.1582, allocations: 17.72 kB / 0.6541 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1584, allocations: 318.8 kB / 0.6544 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.1586, allocations: 39.95 kB / 0.6544 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.1587, allocations: 39.91 kB / 0.6545 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.159, allocations: 84.72 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.159, allocations: 0 / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003483/0.1594, allocations: 113.6 kB / 0.6547 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1594, allocations: 4 kB / 0.6547 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1594, allocations: 0 / 0.6547 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1594, allocations: 3.938 kB / 0.6547 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1596, allocations: 15.98 kB / 0.6547 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1596, allocations: 0 / 0.6547 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.367e-05/0.1597, allocations: 19.91 kB / 0.6547 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1597, allocations: 0 / 0.6547 GB, free: 15.11 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 (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 9.469e-05/0.1598, allocations: 125.7 kB / 0.6548 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.1598, allocations: 8.281 kB / 0.6548 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.1602, allocations: 121.5 kB / 0.6549 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1602, allocations: 0 / 0.6549 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1602, allocations: 0 / 0.6549 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1602, allocations: 0 / 0.6549 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.1604, allocations: 185.6 kB / 0.6551 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1605, allocations: 4 kB / 0.6551 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.253e-05/0.1605, allocations: 15.98 kB / 0.6551 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1606, allocations: 0 / 0.6551 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1606, allocations: 0 / 0.6551 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1606, allocations: 3.938 kB / 0.6551 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1606, allocations: 0 / 0.6551 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.161, allocations: 215.3 kB / 0.6553 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.161, allocations: 89.06 kB / 0.6554 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1611, allocations: 0 / 0.6554 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1612, allocations: 15.97 kB / 0.6554 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.1612, allocations: 0 / 0.6554 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1612, allocations: 4 kB / 0.6555 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.891e-05/0.1613, allocations: 99.27 kB / 0.6555 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1613, allocations: 4 kB / 0.6555 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002255/0.1615, allocations: 8 kB / 0.6556 GB, free: 14.13 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 (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.0007624/0.1623, allocations: 0.7474 MB / 0.6563 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003709/0.1627, allocations: 79.92 kB / 0.6564 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1627, allocations: 0 / 0.6564 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.1629, allocations: 39.95 kB / 0.6564 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.1631, allocations: 9.719 kB / 0.6564 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.1637, allocations: 191 kB / 0.6566 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.164, allocations: 0.6924 MB / 0.6573 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.846e-05/0.164, allocations: 0 / 0.6573 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.1641, allocations: 19.38 kB / 0.6573 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1641, allocations: 4 kB / 0.6573 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.1888, allocations: 1.877 MB / 0.6591 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.538, allocations: 9.828 kB / 0.6591 GB, free: 10.46 MB / 0.4981 GB (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)