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.001285/0.001285, 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.001327/0.001327, allocations: 189.2 kB / 16.14 MB, free: 6.637 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.452/1.452, 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.002634/0.002634, allocations: 297.1 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.105/1.105, allocations: 178.6 MB / 0.5068 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002862, allocations: 93.56 kB / 0.6057 GB, free: 25.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1724, allocations: 89.15 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002841/0.1752, allocations: 1.558 MB / 0.6943 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003714/0.1756, allocations: 112.6 kB / 0.6944 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.1757, allocations: 0.625 kB / 0.6944 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.118e-05/0.1757, allocations: 5.594 kB / 0.6944 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.1758, allocations: 3.938 kB / 0.6944 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.176, allocations: 19.97 kB / 0.6944 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.1761, allocations: 44.42 kB / 0.6945 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1762, allocations: 14.45 kB / 0.6945 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.233e-05/0.1763, allocations: 15.98 kB / 0.6945 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.1764, allocations: 23.84 kB / 0.6945 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1764, allocations: 4 kB / 0.6945 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.639e-05/0.1765, allocations: 15.98 kB / 0.6946 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.941e-05/0.1766, allocations: 11.98 kB / 0.6946 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.1766, allocations: 17.62 kB / 0.6946 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.1768, allocations: 59.8 kB / 0.6946 GB, free: 2.934 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1768, allocations: 0 / 0.6946 GB, free: 2.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.1768, allocations: 3.984 kB / 0.6946 GB, free: 2.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.778e-06/0.1768, allocations: 0 / 0.6946 GB, free: 2.93 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.0007222/0.1775, allocations: 377.9 kB / 0.695 GB, free: 2.512 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.1776, allocations: 12.03 kB / 0.695 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.1776, allocations: 8.844 kB / 0.695 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.1779, allocations: 172.3 kB / 0.6952 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1779, allocations: 8.375 kB / 0.6952 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1779, allocations: 384 / 0.6952 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.1782, allocations: 74.16 kB / 0.6953 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1782, allocations: 192 / 0.6953 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1783, allocations: 7.938 kB / 0.6953 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1783, allocations: 0 / 0.6953 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.1786, allocations: 83.91 kB / 0.6954 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.1791, allocations: 280.8 kB / 0.6956 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.1794, allocations: 66.47 kB / 0.6957 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.1796, allocations: 56.84 kB / 0.6957 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003284/0.1799, allocations: 109 kB / 0.6958 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.18, allocations: 34.56 kB / 0.6959 GB, free: 1.484 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.18, allocations: 0 / 0.6959 GB, free: 1.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006126/0.1806, allocations: 145.6 kB / 0.696 GB, free: 1.336 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.1806, allocations: 55.34 kB / 0.6961 GB, free: 1.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.1808, allocations: 125.8 kB / 0.6962 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1808, allocations: 25.7 kB / 0.6962 GB, free: 1.105 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.1809, allocations: 96.05 kB / 0.6963 GB, free: 1.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.181, allocations: 11.89 kB / 0.6963 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.181, allocations: 13.72 kB / 0.6963 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1812, allocations: 314.8 kB / 0.6966 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.1814, allocations: 43.89 kB / 0.6967 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1815, allocations: 35.95 kB / 0.6967 GB, free: 0.582 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.1818, allocations: 85.06 kB / 0.6968 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.1818, allocations: 3.938 kB / 0.6968 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003308/0.1822, allocations: 109.5 kB / 0.6969 GB, free: 388 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1822, allocations: 4 kB / 0.6969 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1822, allocations: 4 kB / 0.6969 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1822, allocations: 0 / 0.6969 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1824, allocations: 19.97 kB / 0.6969 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.1824, allocations: 3.938 kB / 0.6969 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/0.1825, allocations: 11.98 kB / 0.6969 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.1825, allocations: 0 / 0.6969 GB, free: 344 kB / 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 9.982e-05/0.1826, allocations: 117.8 kB / 0.6971 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.1826, allocations: 4 kB / 0.6971 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.183, allocations: 121.5 kB / 0.6972 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.183, allocations: 0 / 0.6972 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.183, allocations: 0 / 0.6972 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.183, allocations: 0 / 0.6972 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.1833, allocations: 193.5 kB / 0.6974 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1833, allocations: 0 / 0.6974 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.717e-05/0.1834, allocations: 15.98 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1834, allocations: 0 / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1834, allocations: 8 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.1834, allocations: 7.922 kB / 0.6974 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1835, allocations: 0 / 0.6974 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.1839, allocations: 207.4 kB / 0.6976 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.1839, allocations: 89 kB / 0.6977 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1839, allocations: 0 / 0.6977 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1841, allocations: 11.98 kB / 0.6977 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.1841, allocations: 0 / 0.6977 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.1841, allocations: 4 kB / 0.6977 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.721e-05/0.1842, allocations: 110.5 kB / 0.6978 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1842, allocations: 0 / 0.6978 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002421/0.1845, allocations: 11.94 kB / 0.6978 GB, free: 15.35 MB / 0.4981 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.0001777/0.1847, allocations: 103.2 kB / 0.6979 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.185, allocations: 87.78 kB / 0.698 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.185, allocations: 0 / 0.698 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.1852, allocations: 43.97 kB / 0.698 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.1855, allocations: 7.938 kB / 0.698 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.1858, allocations: 159.5 kB / 0.6982 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1862, allocations: 0.6887 MB / 0.6989 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.1862, allocations: 11.97 kB / 0.6989 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.1863, allocations: 11.44 kB / 0.6989 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1863, allocations: 0 / 0.6989 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.00329/0.1896, allocations: 0.6769 MB / 0.6995 GB, free: 13.52 MB / 0.4981 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)