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.005181/0.005181, allocations: 101.5 kB / 15.73 MB, free: 6.477 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.001186/0.001187, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002104, allocations: 278.8 kB / 290.8 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9582/0.9582, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 99.84 kB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1599, allocations: 86.97 MB / 0.7664 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002428/0.1624, allocations: 1.497 MB / 0.7678 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000289/0.1627, allocations: 112.5 kB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.1627, allocations: 4 kB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.1628, allocations: 3.938 kB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.1628, allocations: 3.938 kB / 0.768 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1631, allocations: 23.97 kB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.867e-05/0.1632, allocations: 47.84 kB / 0.768 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.1632, allocations: 4 kB / 0.768 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.736e-05/0.1633, allocations: 23.92 kB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.463e-05/0.1633, allocations: 23.89 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1634, allocations: 4 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.832e-05/0.1634, allocations: 23.92 kB / 0.7681 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.1635, allocations: 15.92 kB / 0.7681 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.1635, allocations: 19.88 kB / 0.7681 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.1636, allocations: 59.75 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1637, allocations: 4 kB / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1637, allocations: 0 / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1637, allocations: 0 / 0.7682 GB, free: 6.527 MB / 0.5606 GB 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.000477/0.1642, allocations: 379.1 kB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1642, allocations: 12.03 kB / 0.7686 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.1642, allocations: 4.938 kB / 0.7686 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1643, allocations: 180.2 kB / 0.7688 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1644, allocations: 4.375 kB / 0.7688 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.1644, allocations: 4.375 kB / 0.7688 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.1646, allocations: 70.22 kB / 0.7688 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.1646, allocations: 4.188 kB / 0.7688 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1647, allocations: 3.938 kB / 0.7688 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1647, allocations: 0 / 0.7688 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.165, allocations: 75.92 kB / 0.7689 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.1653, allocations: 288.8 kB / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1655, allocations: 70.45 kB / 0.7692 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.1657, allocations: 44.91 kB / 0.7693 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/0.1659, allocations: 117 kB / 0.7694 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1659, allocations: 34.56 kB / 0.7694 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1659, allocations: 0 / 0.7694 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005399/0.1665, allocations: 149.4 kB / 0.7696 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.1665, allocations: 51.41 kB / 0.7696 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.999e-05/0.1666, allocations: 129.8 kB / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1666, allocations: 25.7 kB / 0.7698 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.1667, allocations: 88.14 kB / 0.7699 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1667, allocations: 11.89 kB / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.1667, allocations: 13.72 kB / 0.7699 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.1668, allocations: 318.8 kB / 0.7702 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.167, allocations: 39.95 kB / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.1671, allocations: 31.97 kB / 0.7703 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.1674, allocations: 84.77 kB / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1674, allocations: 7.875 kB / 0.7703 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003222/0.1678, allocations: 109.5 kB / 0.7705 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1678, allocations: 4 kB / 0.7705 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.1678, allocations: 0 / 0.7705 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1678, allocations: 0 / 0.7705 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1679, allocations: 23.97 kB / 0.7705 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.168, allocations: 0 / 0.7705 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/0.168, allocations: 11.98 kB / 0.7705 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1681, allocations: 3.938 kB / 0.7705 GB, free: 3.934 MB / 0.5606 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 6.74e-05/0.1681, allocations: 118.4 kB / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.1682, allocations: 7.906 kB / 0.7706 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.1685, allocations: 125.4 kB / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1685, allocations: 0 / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1685, allocations: 0 / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1685, allocations: 0 / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.1687, allocations: 185.6 kB / 0.7709 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1687, allocations: 4 kB / 0.7709 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-05/0.1688, allocations: 11.98 kB / 0.7709 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1688, allocations: 4 kB / 0.7709 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.1688, allocations: 4 kB / 0.7709 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1689, allocations: 0 / 0.7709 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1689, allocations: 3.984 kB / 0.7709 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.1692, allocations: 211.6 kB / 0.7711 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.1693, allocations: 85.05 kB / 0.7712 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1693, allocations: 7.984 kB / 0.7712 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1694, allocations: 11.98 kB / 0.7712 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.1694, allocations: 4.031 kB / 0.7712 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1694, allocations: 0 / 0.7712 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.073e-05/0.1695, allocations: 114.4 kB / 0.7714 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1695, allocations: 0 / 0.7714 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002229/0.1697, allocations: 8 kB / 0.7714 GB, free: 2.945 MB / 0.5606 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.0001191/0.1699, allocations: 107.2 kB / 0.7715 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003416/0.1702, allocations: 75.92 kB / 0.7715 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1702, allocations: 0 / 0.7715 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.1704, allocations: 47.89 kB / 0.7716 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.1706, allocations: 9.656 kB / 0.7716 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.1709, allocations: 157.5 kB / 0.7717 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.1712, allocations: 0.6885 MB / 0.7724 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.703e-05/0.1712, allocations: 0 / 0.7724 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.1712, allocations: 7.438 kB / 0.7724 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1712, allocations: 4 kB / 0.7724 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of Templates: time 0.002728/0.174, allocations: 0.7982 MB / 0.7732 GB, free: 1.004 MB / 0.5606 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)