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.001066/0.001066, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00115/0.00115, allocations: 193.7 kB / 16.25 MB, free: 6.625 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.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 275 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9634/0.9634, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 101 kB / 0.5947 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1694, allocations: 86.98 MB / 0.6796 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002475/0.172, allocations: 1.537 MB / 0.6811 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002876/0.1723, allocations: 108.5 kB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.1723, allocations: 0 / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.26e-05/0.1724, allocations: 0 / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.1724, allocations: 11.92 kB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.1726, allocations: 19.97 kB / 0.6813 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.1727, allocations: 51.8 kB / 0.6813 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.825e-05/0.1728, allocations: 8 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.1729, allocations: 19.92 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.255e-05/0.1729, allocations: 27.84 kB / 0.6814 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1729, allocations: 4 kB / 0.6814 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.824e-05/0.173, allocations: 19.98 kB / 0.6814 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.173, allocations: 11.98 kB / 0.6814 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.1731, allocations: 23.86 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.1732, allocations: 64.02 kB / 0.6815 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1732, allocations: 0 / 0.6815 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1732, allocations: 4 kB / 0.6815 GB, free: 15.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.1732, allocations: 0 / 0.6815 GB, free: 15.19 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.0005143/0.1737, allocations: 367.3 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1738, allocations: 12.03 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.1738, allocations: 4.844 kB / 0.6819 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.174, allocations: 188.1 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.174, allocations: 4.375 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.174, allocations: 384 / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.1743, allocations: 74.22 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1743, allocations: 192 / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1743, allocations: 7.938 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1743, allocations: 0 / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.1746, allocations: 75.91 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.1749, allocations: 288.8 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1752, allocations: 66.47 kB / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.1753, allocations: 44.91 kB / 0.6826 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.1755, allocations: 113.1 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1756, allocations: 34.56 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.1756, allocations: 0 / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005268/0.1761, allocations: 149.4 kB / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.1762, allocations: 51.41 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/0.1763, allocations: 132.2 kB / 0.683 GB, free: 13.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1763, allocations: 25.7 kB / 0.6831 GB, free: 13.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.1763, allocations: 88.14 kB / 0.6831 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.1764, allocations: 15.8 kB / 0.6832 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.1764, allocations: 13.72 kB / 0.6832 GB, free: 13.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1765, allocations: 318.8 kB / 0.6835 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1767, allocations: 39.95 kB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1768, allocations: 35.95 kB / 0.6835 GB, free: 12.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.1771, allocations: 80.78 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1771, allocations: 3.938 kB / 0.6836 GB, free: 12.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000319/0.1774, allocations: 113.9 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1774, allocations: 4 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1774, allocations: 0 / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1775, allocations: 3.938 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1776, allocations: 23.97 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1776, allocations: 0 / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.606e-05/0.1777, allocations: 11.98 kB / 0.6838 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1777, allocations: 4 kB / 0.6838 GB, free: 12.6 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.628e-05/0.1778, allocations: 119.1 kB / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.1778, allocations: 11.89 kB / 0.6839 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003621/0.1782, allocations: 121.5 kB / 0.684 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1782, allocations: 0 / 0.684 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1782, allocations: 0 / 0.684 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1782, allocations: 0 / 0.684 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.1784, allocations: 181.6 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1784, allocations: 0 / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/0.1785, allocations: 15.98 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.1785, allocations: 4 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1785, allocations: 11.92 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1785, allocations: 0 / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1785, allocations: 0 / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.1789, allocations: 203.3 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.1789, allocations: 92.94 kB / 0.6845 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.179, allocations: 4 kB / 0.6845 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1791, allocations: 11.98 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.1791, allocations: 3.938 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.1791, allocations: 0 / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.852e-05/0.1792, allocations: 107.2 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1792, allocations: 0 / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.1794, allocations: 12 kB / 0.6846 GB, free: 11.61 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.0001357/0.1796, allocations: 99.25 kB / 0.6847 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.1799, allocations: 83.91 kB / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1799, allocations: 0 / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.1801, allocations: 43.91 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1803, allocations: 11.92 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.1807, allocations: 168.6 kB / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.1809, allocations: 0.6846 MB / 0.6857 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.314e-05/0.181, allocations: 3.984 kB / 0.6857 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.181, allocations: 15.44 kB / 0.6857 GB, free: 10.45 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.181, allocations: 0 / 0.6857 GB, free: 10.45 MB / 494.1 MB Notification: Performance of Templates: time 0.002829/0.1838, allocations: 0.7021 MB / 0.6864 GB, free: 9.758 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)