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.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001097/0.001097, allocations: 190.9 kB / 16.13 MB, free: 6.66 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.313/1.313, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001993/0.001993, allocations: 290.3 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9249/0.9249, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.00156, allocations: 91.59 kB / 0.5945 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1647, allocations: 86.99 MB / 0.6794 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002463/0.1672, allocations: 1.548 MB / 0.6809 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000305/0.1675, allocations: 104.6 kB / 0.681 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.1676, allocations: 0 / 0.681 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.599e-05/0.1676, allocations: 3.938 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.443e-05/0.1677, allocations: 12.7 kB / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.1679, allocations: 15.98 kB / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.215e-05/0.1679, allocations: 45.56 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.055e-05/0.168, allocations: 12 kB / 0.6811 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.1681, allocations: 11.98 kB / 0.6811 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.1681, allocations: 28.72 kB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1682, allocations: 0 / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-05/0.1682, allocations: 19.98 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.1683, allocations: 12.47 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.1683, allocations: 24.38 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.1684, allocations: 61.19 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1684, allocations: 0 / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1685, allocations: 0 / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1685, allocations: 0 / 0.6813 GB, free: 15.29 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.0005428/0.169, allocations: 379.3 kB / 0.6816 GB, free: 14.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1691, allocations: 8.031 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.1691, allocations: 8.844 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.1692, allocations: 184.2 kB / 0.6818 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.1693, allocations: 384 / 0.6818 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1693, allocations: 4.375 kB / 0.6818 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.1695, allocations: 70.22 kB / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1696, allocations: 192 / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1696, allocations: 7.938 kB / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1696, allocations: 0 / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.1699, allocations: 75.86 kB / 0.682 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.1703, allocations: 281 kB / 0.6823 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.1705, allocations: 74.47 kB / 0.6823 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.1707, allocations: 44.89 kB / 0.6824 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.1709, allocations: 117 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.171, allocations: 38.5 kB / 0.6825 GB, free: 13.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.171, allocations: 0 / 0.6825 GB, free: 13.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005583/0.1715, allocations: 145.5 kB / 0.6827 GB, free: 13.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.1716, allocations: 51.41 kB / 0.6827 GB, free: 13.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1717, allocations: 137.8 kB / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1717, allocations: 25.7 kB / 0.6829 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.1718, allocations: 84.14 kB / 0.6829 GB, free: 13.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.1718, allocations: 15.81 kB / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.1718, allocations: 13.7 kB / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.172, allocations: 318.8 kB / 0.6833 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1721, allocations: 39.95 kB / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.1723, allocations: 35.97 kB / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.1725, allocations: 80.7 kB / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1726, allocations: 3.938 kB / 0.6834 GB, free: 12.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003669/0.1729, allocations: 109.6 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1729, allocations: 8 kB / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.173, allocations: 0 / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.173, allocations: 0 / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1731, allocations: 19.97 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1731, allocations: 0 / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.39e-05/0.1732, allocations: 7.984 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1732, allocations: 8 kB / 0.6836 GB, free: 12.7 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 7.904e-05/0.1733, allocations: 119.1 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.1733, allocations: 3.906 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.1737, allocations: 121.4 kB / 0.6838 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1737, allocations: 0 / 0.6838 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1737, allocations: 8 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1737, allocations: 0 / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.1739, allocations: 181.6 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1739, allocations: 0 / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.174, allocations: 19.98 kB / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.174, allocations: 0 / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.174, allocations: 0 / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.174, allocations: 3.984 kB / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.174, allocations: 0 / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.1744, allocations: 223.6 kB / 0.6842 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.1744, allocations: 84.95 kB / 0.6843 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1745, allocations: 3.984 kB / 0.6843 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1746, allocations: 11.98 kB / 0.6843 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.1746, allocations: 4.047 kB / 0.6843 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1746, allocations: 7.984 kB / 0.6843 GB, free: 11.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.388e-05/0.1747, allocations: 105.8 kB / 0.6844 GB, free: 11.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1747, allocations: 0 / 0.6844 GB, free: 11.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.1749, allocations: 16 kB / 0.6844 GB, free: 11.7 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.0001315/0.175, allocations: 95.25 kB / 0.6845 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.1754, allocations: 83.92 kB / 0.6846 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1754, allocations: 3.938 kB / 0.6846 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.1755, allocations: 43.89 kB / 0.6847 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.1758, allocations: 9.484 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.1761, allocations: 171.3 kB / 0.6848 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1764, allocations: 0.6809 MB / 0.6855 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.298e-05/0.1765, allocations: 4 kB / 0.6855 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.1765, allocations: 7.438 kB / 0.6855 GB, free: 10.55 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1765, allocations: 0 / 0.6855 GB, free: 10.55 MB / 494.1 MB Notification: Performance of Templates: time 0.002816/0.1793, allocations: 0.6665 MB / 0.6862 GB, free: 9.887 MB / 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)