Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001331/0.001331, allocations: 104 kB / 16.35 MB, free: 5.824 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.001243/0.001243, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 284.8 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9033/0.9033, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 94.77 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1545, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002432/0.157, allocations: 1.489 MB / 0.683 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002637/0.1573, allocations: 100.5 kB / 0.6831 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.1573, allocations: 8 kB / 0.6831 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.1573, allocations: 3.984 kB / 0.6832 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.97e-05/0.1574, allocations: 7.875 kB / 0.6832 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.1576, allocations: 23.97 kB / 0.6832 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.923e-05/0.1577, allocations: 47.78 kB / 0.6832 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.1578, allocations: 15.98 kB / 0.6832 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.126e-05/0.1578, allocations: 15.98 kB / 0.6833 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.1579, allocations: 19.86 kB / 0.6833 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1579, allocations: 8 kB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.781e-05/0.158, allocations: 19.98 kB / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.158, allocations: 15.98 kB / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.1581, allocations: 15.88 kB / 0.6833 GB, free: 5.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.1582, allocations: 63.72 kB / 0.6834 GB, free: 5.578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1582, allocations: 3.938 kB / 0.6834 GB, free: 5.574 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1582, allocations: 0 / 0.6834 GB, free: 5.574 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1582, allocations: 0 / 0.6834 GB, free: 5.574 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.0004745/0.1587, allocations: 383.3 kB / 0.6838 GB, free: 5.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1587, allocations: 12.03 kB / 0.6838 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.1588, allocations: 4.844 kB / 0.6838 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1589, allocations: 179.2 kB / 0.684 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1589, allocations: 4.375 kB / 0.684 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.1589, allocations: 384 / 0.684 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.1592, allocations: 74.2 kB / 0.684 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1592, allocations: 192 / 0.684 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.1592, allocations: 7.938 kB / 0.684 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1592, allocations: 4 kB / 0.684 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.1595, allocations: 79.86 kB / 0.6841 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.1598, allocations: 280.9 kB / 0.6844 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.16, allocations: 70.47 kB / 0.6844 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.1601, allocations: 44.92 kB / 0.6845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.1604, allocations: 109.1 kB / 0.6846 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1604, allocations: 42.56 kB / 0.6846 GB, free: 4.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1604, allocations: 0 / 0.6846 GB, free: 4.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004959/0.1609, allocations: 149.4 kB / 0.6848 GB, free: 3.973 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.1609, allocations: 51.41 kB / 0.6848 GB, free: 3.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/0.161, allocations: 125.8 kB / 0.6849 GB, free: 3.777 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1611, allocations: 29.7 kB / 0.685 GB, free: 3.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.1611, allocations: 100.1 kB / 0.6851 GB, free: 3.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.1611, allocations: 7.812 kB / 0.6851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.1612, allocations: 17.72 kB / 0.6851 GB, free: 3.609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.1613, allocations: 314.8 kB / 0.6854 GB, free: 3.293 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1614, allocations: 35.97 kB / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1615, allocations: 39.95 kB / 0.6855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.1618, allocations: 80.78 kB / 0.6855 GB, free: 3.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1618, allocations: 3.938 kB / 0.6855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002908/0.1621, allocations: 113.5 kB / 0.6857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1621, allocations: 6.812 kB / 0.6857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1621, allocations: 0 / 0.6857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1621, allocations: 0 / 0.6857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1623, allocations: 15.98 kB / 0.6857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1623, allocations: 0 / 0.6857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.359e-05/0.1623, allocations: 11.98 kB / 0.6857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1624, allocations: 4 kB / 0.6857 GB, free: 2.98 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 6.768e-05/0.1624, allocations: 121.8 kB / 0.6858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1625, allocations: 7.906 kB / 0.6858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.1628, allocations: 125.4 kB / 0.6859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1628, allocations: 0 / 0.6859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1628, allocations: 0 / 0.6859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1628, allocations: 3.984 kB / 0.6859 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.163, allocations: 181.6 kB / 0.6861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.163, allocations: 0 / 0.6861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.1631, allocations: 15.97 kB / 0.6861 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1631, allocations: 7.938 kB / 0.6861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1631, allocations: 0 / 0.6861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1631, allocations: 0 / 0.6861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1631, allocations: 0 / 0.6861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.1635, allocations: 211.3 kB / 0.6863 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.1635, allocations: 88.95 kB / 0.6864 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1635, allocations: 0 / 0.6864 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.1636, allocations: 12.41 kB / 0.6864 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.1637, allocations: 7.984 kB / 0.6864 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.1637, allocations: 3.938 kB / 0.6864 GB, free: 2.105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.1637, allocations: 103.3 kB / 0.6865 GB, free: 2.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1638, allocations: 0 / 0.6865 GB, free: 2.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.164, allocations: 12 kB / 0.6866 GB, free: 1.992 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.0001164/0.1641, allocations: 99.25 kB / 0.6867 GB, free: 1.887 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.1644, allocations: 79.89 kB / 0.6867 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1644, allocations: 4 kB / 0.6867 GB, free: 1.805 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.1646, allocations: 39.97 kB / 0.6868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.1648, allocations: 11.92 kB / 0.6868 GB, free: 1.754 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.1651, allocations: 153.5 kB / 0.6869 GB, free: 1.578 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1653, allocations: 0.6885 MB / 0.6876 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.976e-05/0.1654, allocations: 8 kB / 0.6876 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.1654, allocations: 11.44 kB / 0.6876 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1654, allocations: 0 / 0.6876 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of Templates: time 0.002733/0.1682, allocations: 0.7969 MB / 0.6884 GB, free: 56 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)