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: translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009472/0.0009472, allocations: 96.27 kB / 15.69 MB, free: 480 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.001033/0.001034, allocations: 176.9 kB / 16.57 MB, free: 6.398 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.317/1.317, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6707/0.6707, allocations: 113.8 MB / 405.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002892, allocations: 9.281 kB / 493 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.001463/0.144, allocations: 1.177 MB / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002431/0.1443, allocations: 112.5 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.1443, allocations: 0 / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.1443, allocations: 0 / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.896e-05/0.1444, allocations: 15.97 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.1445, allocations: 11.98 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.753e-05/0.1446, allocations: 27.91 kB / 0.5581 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.033e-05/0.1447, allocations: 12 kB / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.893e-05/0.1447, allocations: 11.92 kB / 0.5582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.243e-05/0.1448, allocations: 27.89 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1448, allocations: 0 / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.491e-05/0.1449, allocations: 19.98 kB / 0.5582 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.1449, allocations: 11.94 kB / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.1449, allocations: 29.64 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.429e-05/0.145, allocations: 39.92 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.145, allocations: 0 / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.145, allocations: 0 / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.145, allocations: 4 kB / 0.5583 GB, free: 10.08 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005332/0.1456, allocations: 379.4 kB / 0.5587 GB, free: 9.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1456, allocations: 12.02 kB / 0.5587 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.1456, allocations: 4 kB / 0.5587 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1458, allocations: 179 kB / 0.5588 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.1458, allocations: 4 kB / 0.5589 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1458, allocations: 4 kB / 0.5589 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.1461, allocations: 85.59 kB / 0.5589 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1461, allocations: 3.953 kB / 0.5589 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.1461, allocations: 0 / 0.5589 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1461, allocations: 4 kB / 0.5589 GB, free: 9.324 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.1464, allocations: 103.9 kB / 0.559 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.1468, allocations: 281 kB / 0.5593 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.147, allocations: 82.48 kB / 0.5594 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.1472, allocations: 105.2 kB / 0.5595 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1473, allocations: 30.56 kB / 0.5595 GB, free: 8.648 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1473, allocations: 3.938 kB / 0.5595 GB, free: 8.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005808/0.1479, allocations: 185.5 kB / 0.5597 GB, free: 8.457 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.1479, allocations: 51.41 kB / 0.5597 GB, free: 8.395 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/0.148, allocations: 125.8 kB / 0.5599 GB, free: 8.262 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.148, allocations: 25.7 kB / 0.5599 GB, free: 8.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.1481, allocations: 96.06 kB / 0.56 GB, free: 8.133 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.1481, allocations: 11.81 kB / 0.56 GB, free: 8.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.1481, allocations: 0 / 0.56 GB, free: 8.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1482, allocations: 318.8 kB / 0.5603 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.1484, allocations: 47.95 kB / 0.5603 GB, free: 7.754 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.1486, allocations: 51.95 kB / 0.5604 GB, free: 7.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1487, allocations: 39.97 kB / 0.5604 GB, free: 7.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1488, allocations: 4 kB / 0.5604 GB, free: 7.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003606/0.1491, allocations: 137.5 kB / 0.5606 GB, free: 7.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1492, allocations: 13.88 kB / 0.5606 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1492, allocations: 0 / 0.5606 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.1492, allocations: 336 / 0.5606 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1493, allocations: 19.98 kB / 0.5606 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1493, allocations: 0 / 0.5606 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-05/0.1494, allocations: 15.98 kB / 0.5606 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1494, allocations: 7.984 kB / 0.5606 GB, free: 7.465 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 (3): * Single equations (assignments): 3 * 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.893e-05/0.1495, allocations: 117.8 kB / 0.5607 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.1496, allocations: 15.84 kB / 0.5608 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.15, allocations: 141.5 kB / 0.5609 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.15, allocations: 3.984 kB / 0.5609 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.15, allocations: 0 / 0.5609 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.15, allocations: 0 / 0.5609 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.1502, allocations: 185.6 kB / 0.5611 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1502, allocations: 0 / 0.5611 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.1503, allocations: 23.98 kB / 0.5611 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1504, allocations: 0 / 0.5611 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1504, allocations: 3.953 kB / 0.5611 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1504, allocations: 0 / 0.5611 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1504, allocations: 0 / 0.5611 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.1508, allocations: 231.3 kB / 0.5613 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.1508, allocations: 85.02 kB / 0.5614 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1509, allocations: 4 kB / 0.5614 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.151, allocations: 19.94 kB / 0.5614 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.151, allocations: 3.984 kB / 0.5614 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.151, allocations: 4 kB / 0.5614 GB, free: 6.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.754e-05/0.1511, allocations: 107.1 kB / 0.5615 GB, free: 6.438 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1511, allocations: 0 / 0.5615 GB, free: 6.438 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1514, allocations: 8 kB / 0.5615 GB, free: 6.43 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 (3): * Single equations (assignments): 3 * 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.000158/0.1515, allocations: 103.9 kB / 0.5616 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003675/0.1519, allocations: 103.9 kB / 0.5617 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1519, allocations: 0 / 0.5617 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.1521, allocations: 55.89 kB / 0.5618 GB, free: 6.164 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.1523, allocations: 4 kB / 0.5618 GB, free: 6.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.1526, allocations: 160.6 kB / 0.5619 GB, free: 5.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1528, allocations: 0.6887 MB / 0.5626 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.1528, allocations: 8 kB / 0.5626 GB, free: 5.258 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.1529, allocations: 11.44 kB / 0.5626 GB, free: 5.246 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1529, allocations: 7.938 kB / 0.5626 GB, free: 5.238 MB / 430.1 MB Notification: Performance of Templates: time 0.002371/0.1552, allocations: 0.6332 MB / 0.5633 GB, free: 4.609 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)