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.004535/0.004535, allocations: 104.4 kB / 15.73 MB, free: 6.035 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.001106/0.001106, allocations: 196 kB / 16.67 MB, free: 5.969 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 275 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9416/0.9416, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 96.27 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1677, allocations: 86.98 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.00229/0.17, allocations: 1.483 MB / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002809/0.1703, allocations: 104.5 kB / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.1704, allocations: 4 kB / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.1704, allocations: 4 kB / 0.7679 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.589e-05/0.1705, allocations: 11.86 kB / 0.768 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.1707, allocations: 23.95 kB / 0.768 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.343e-05/0.1708, allocations: 43.86 kB / 0.768 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.1709, allocations: 15.97 kB / 0.768 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/0.171, allocations: 15.94 kB / 0.7681 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.171, allocations: 23.91 kB / 0.7681 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.171, allocations: 4 kB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.1711, allocations: 27.92 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.1712, allocations: 11.98 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.1712, allocations: 15.88 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.1713, allocations: 67.72 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1713, allocations: 3.938 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1713, allocations: 0 / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1713, allocations: 0 / 0.7682 GB, free: 6.562 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.0005091/0.1719, allocations: 375.2 kB / 0.7686 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1719, allocations: 16.03 kB / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.1719, allocations: 0.9375 kB / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1721, allocations: 180.2 kB / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1721, allocations: 4.375 kB / 0.7688 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1721, allocations: 4.375 kB / 0.7688 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.1723, allocations: 70.22 kB / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1723, allocations: 4.172 kB / 0.7688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1724, allocations: 7.938 kB / 0.7688 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.1724, allocations: 8 kB / 0.7688 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.1726, allocations: 71.92 kB / 0.7689 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.173, allocations: 284.9 kB / 0.7692 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1732, allocations: 74.41 kB / 0.7693 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.1734, allocations: 44.91 kB / 0.7693 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/0.1736, allocations: 109 kB / 0.7694 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1736, allocations: 30.56 kB / 0.7694 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.1736, allocations: 8 kB / 0.7694 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004997/0.1741, allocations: 149.4 kB / 0.7696 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.1742, allocations: 51.41 kB / 0.7696 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.1743, allocations: 129 kB / 0.7698 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1744, allocations: 29.7 kB / 0.7698 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.1744, allocations: 96.12 kB / 0.7699 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.1745, allocations: 3.906 kB / 0.7699 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.1745, allocations: 17.72 kB / 0.7699 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1747, allocations: 314.8 kB / 0.7702 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1748, allocations: 35.97 kB / 0.7702 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1749, allocations: 43.95 kB / 0.7703 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.1752, allocations: 72.78 kB / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1752, allocations: 7.938 kB / 0.7703 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002925/0.1755, allocations: 113.5 kB / 0.7705 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1755, allocations: 7.984 kB / 0.7705 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1755, allocations: 0 / 0.7705 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1755, allocations: 0 / 0.7705 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.1757, allocations: 19.98 kB / 0.7705 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1757, allocations: 0 / 0.7705 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.053e-05/0.1758, allocations: 11.98 kB / 0.7705 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1758, allocations: 0 / 0.7705 GB, free: 3.973 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 9.491e-05/0.1759, allocations: 126.4 kB / 0.7706 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1759, allocations: 8.234 kB / 0.7706 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.1763, allocations: 121.4 kB / 0.7707 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1763, allocations: 3.938 kB / 0.7707 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1763, allocations: 0 / 0.7707 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1763, allocations: 0 / 0.7707 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.1765, allocations: 181.6 kB / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1765, allocations: 4 kB / 0.7709 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.727e-05/0.1766, allocations: 15.97 kB / 0.7709 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1766, allocations: 0 / 0.7709 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1766, allocations: 4 kB / 0.7709 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1766, allocations: 0 / 0.7709 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1766, allocations: 0 / 0.7709 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.177, allocations: 215.2 kB / 0.7711 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.1771, allocations: 85.05 kB / 0.7712 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.1771, allocations: 0 / 0.7712 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1772, allocations: 15.98 kB / 0.7712 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.1773, allocations: 7.984 kB / 0.7712 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.1773, allocations: 0 / 0.7712 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.125e-05/0.1774, allocations: 107.2 kB / 0.7713 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1774, allocations: 4 kB / 0.7714 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002269/0.1776, allocations: 12 kB / 0.7714 GB, free: 2.977 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.000167/0.1778, allocations: 103.2 kB / 0.7715 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003255/0.1781, allocations: 75.91 kB / 0.7715 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1781, allocations: 0 / 0.7715 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.1783, allocations: 43.97 kB / 0.7716 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.1785, allocations: 11.92 kB / 0.7716 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.1789, allocations: 153.4 kB / 0.7717 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.1792, allocations: 0.6846 MB / 0.7724 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.1792, allocations: 11.98 kB / 0.7724 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.1793, allocations: 7.438 kB / 0.7724 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1793, allocations: 0 / 0.7724 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of Templates: time 0.003339/0.1826, allocations: 0.8291 MB / 0.7732 GB, free: 1.012 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)