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.0008185/0.0008183, allocations: 93.03 kB / 16.02 MB, free: 84 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.001303/0.001303, allocations: 180.5 kB / 16.92 MB, free: 6.68 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7304/0.7304, allocations: 115.4 MB / 407.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003632, allocations: 9.469 kB / 495.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1701, allocations: 77.5 MB / 0.5598 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.001539/0.1717, allocations: 1.2 MB / 0.561 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003276/0.172, allocations: 120.5 kB / 0.5611 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.172, allocations: 0 / 0.5611 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.1721, allocations: 3.938 kB / 0.5611 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.765e-05/0.1721, allocations: 11.92 kB / 0.5611 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.1723, allocations: 19.97 kB / 0.5611 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.1724, allocations: 39.86 kB / 0.5611 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.075e-05/0.1725, allocations: 7.984 kB / 0.5611 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.1725, allocations: 23.92 kB / 0.5612 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.71e-05/0.1726, allocations: 19.91 kB / 0.5612 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1726, allocations: 4 kB / 0.5612 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.1727, allocations: 15.98 kB / 0.5612 GB, free: 7.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.1727, allocations: 11.94 kB / 0.5612 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.1728, allocations: 49.55 kB / 0.5613 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.1729, allocations: 51.86 kB / 0.5613 GB, free: 7.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1729, allocations: 0 / 0.5613 GB, free: 7.582 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1729, allocations: 3.938 kB / 0.5613 GB, free: 7.578 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.1729, allocations: 0 / 0.5613 GB, free: 7.578 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.00052/0.1735, allocations: 383.5 kB / 0.5617 GB, free: 7.152 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1735, allocations: 8.031 kB / 0.5617 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.1735, allocations: 4.938 kB / 0.5617 GB, free: 7.141 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1737, allocations: 180.2 kB / 0.5619 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1737, allocations: 384 / 0.5619 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1737, allocations: 12.38 kB / 0.5619 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.1741, allocations: 82.16 kB / 0.562 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1741, allocations: 4.172 kB / 0.562 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1741, allocations: 3.938 kB / 0.562 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1741, allocations: 4 kB / 0.562 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.1745, allocations: 95.92 kB / 0.5621 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.1749, allocations: 281 kB / 0.5623 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.1751, allocations: 78.41 kB / 0.5624 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.1753, allocations: 64.91 kB / 0.5625 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/0.1755, allocations: 105.1 kB / 0.5626 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1756, allocations: 34.56 kB / 0.5626 GB, free: 6.082 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1756, allocations: 0 / 0.5626 GB, free: 6.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006266/0.1762, allocations: 181.5 kB / 0.5628 GB, free: 5.898 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.1763, allocations: 55.34 kB / 0.5628 GB, free: 5.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.1764, allocations: 125.8 kB / 0.5629 GB, free: 5.699 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1764, allocations: 29.7 kB / 0.563 GB, free: 5.664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.1765, allocations: 96.06 kB / 0.5631 GB, free: 5.566 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.1765, allocations: 11.84 kB / 0.5631 GB, free: 5.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.1765, allocations: 9.719 kB / 0.5631 GB, free: 5.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1767, allocations: 314.8 kB / 0.5634 GB, free: 5.223 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.1769, allocations: 51.95 kB / 0.5634 GB, free: 5.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.177, allocations: 47.95 kB / 0.5635 GB, free: 5.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.1774, allocations: 96.78 kB / 0.5636 GB, free: 5.027 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1774, allocations: 7.938 kB / 0.5636 GB, free: 5.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003932/0.1778, allocations: 133.5 kB / 0.5637 GB, free: 4.883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1778, allocations: 4 kB / 0.5637 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1778, allocations: 4.328 kB / 0.5637 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1778, allocations: 0 / 0.5637 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.178, allocations: 31.84 kB / 0.5637 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.178, allocations: 0 / 0.5637 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.1781, allocations: 15.98 kB / 0.5638 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1781, allocations: 4 kB / 0.5638 GB, free: 4.824 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.621e-05/0.1782, allocations: 122.4 kB / 0.5639 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.1783, allocations: 15.88 kB / 0.5639 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004391/0.1787, allocations: 137.5 kB / 0.564 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1787, allocations: 0 / 0.564 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1787, allocations: 0 / 0.564 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1787, allocations: 0 / 0.564 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.1789, allocations: 185.6 kB / 0.5642 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1789, allocations: 0 / 0.5642 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1791, allocations: 23.98 kB / 0.5642 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1791, allocations: 3.938 kB / 0.5642 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1791, allocations: 3.984 kB / 0.5642 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1791, allocations: 0 / 0.5642 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1791, allocations: 0 / 0.5642 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004284/0.1795, allocations: 227.3 kB / 0.5645 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.1796, allocations: 85.09 kB / 0.5645 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.1796, allocations: 8 kB / 0.5645 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1798, allocations: 15.98 kB / 0.5646 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1798, allocations: 0 / 0.5646 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.1798, allocations: 7.984 kB / 0.5646 GB, free: 3.902 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.376e-05/0.1799, allocations: 102.1 kB / 0.5647 GB, free: 3.805 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1799, allocations: 0 / 0.5647 GB, free: 3.805 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1801, allocations: 8 kB / 0.5647 GB, free: 3.797 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 (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.0001646/0.1803, allocations: 103.2 kB / 0.5648 GB, free: 3.688 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.1807, allocations: 111.8 kB / 0.5649 GB, free: 3.578 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1807, allocations: 0 / 0.5649 GB, free: 3.578 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.1809, allocations: 47.97 kB / 0.5649 GB, free: 3.531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1811, allocations: 14.19 kB / 0.5649 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.1815, allocations: 172.5 kB / 0.5651 GB, free: 3.328 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1818, allocations: 0.6887 MB / 0.5658 GB, free: 2.613 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.161e-05/0.1818, allocations: 4 kB / 0.5658 GB, free: 2.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.1819, allocations: 15.44 kB / 0.5658 GB, free: 2.594 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1819, allocations: 0 / 0.5658 GB, free: 2.594 MB / 430.1 MB Notification: Performance of Templates: time 0.003105/0.185, allocations: 0.6523 MB / 0.5664 GB, free: 1.945 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)