Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, 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.001041/0.001041, allocations: 197.3 kB / 16.14 MB, free: 6.664 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001978/0.001978, allocations: 275 kB / 290.2 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9898/0.9898, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 92.48 kB / 0.5945 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1712, allocations: 86.98 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002631/0.1738, allocations: 1.548 MB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002867/0.1742, allocations: 104.6 kB / 0.681 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.1742, allocations: 0 / 0.681 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.105e-05/0.1742, allocations: 0 / 0.681 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/0.1743, allocations: 15.92 kB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.1745, allocations: 15.98 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.332e-05/0.1745, allocations: 47.78 kB / 0.6811 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.1746, allocations: 4 kB / 0.6811 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.1747, allocations: 15.98 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.1747, allocations: 23.84 kB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1747, allocations: 7.938 kB / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.1748, allocations: 15.98 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.1749, allocations: 12 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.1749, allocations: 23.84 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1751, allocations: 60.03 kB / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1751, allocations: 0 / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1751, allocations: 0 / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1751, allocations: 0 / 0.6813 GB, free: 15.31 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.0005553/0.1756, allocations: 375.3 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1757, allocations: 8.031 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.1757, allocations: 12.84 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1759, allocations: 172.2 kB / 0.6818 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-06/0.1759, allocations: 4.312 kB / 0.6818 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1759, allocations: 4.375 kB / 0.6818 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.1762, allocations: 78.2 kB / 0.6819 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1762, allocations: 192 / 0.6819 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1762, allocations: 3.938 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1762, allocations: 0 / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.1765, allocations: 79.92 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.1769, allocations: 280.9 kB / 0.6823 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1771, allocations: 78.41 kB / 0.6823 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.1773, allocations: 44.92 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/0.1775, allocations: 105.1 kB / 0.6825 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1775, allocations: 34.5 kB / 0.6825 GB, free: 13.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1775, allocations: 4 kB / 0.6825 GB, free: 13.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005414/0.1781, allocations: 157.5 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.1781, allocations: 55.39 kB / 0.6827 GB, free: 13.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.1782, allocations: 124.6 kB / 0.6828 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1783, allocations: 29.7 kB / 0.6829 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.1783, allocations: 92.12 kB / 0.6829 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.1783, allocations: 11.81 kB / 0.683 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.754e-05/0.1784, allocations: 17.72 kB / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1785, allocations: 314.8 kB / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1787, allocations: 35.97 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.1788, allocations: 43.95 kB / 0.6833 GB, free: 12.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.1791, allocations: 72.78 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1792, allocations: 3.938 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003175/0.1795, allocations: 121.5 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1795, allocations: 4 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1795, allocations: 0 / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1795, allocations: 0 / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1796, allocations: 15.98 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1797, allocations: 3.938 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.589e-05/0.1797, allocations: 11.98 kB / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1798, allocations: 0 / 0.6836 GB, free: 12.72 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 9.931e-05/0.1799, allocations: 127.1 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.1799, allocations: 7.906 kB / 0.6837 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.1802, allocations: 113.5 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1803, allocations: 0 / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1803, allocations: 3.938 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1803, allocations: 3.984 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.1804, allocations: 185.6 kB / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1805, allocations: 0 / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.1805, allocations: 15.97 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1806, allocations: 0 / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1806, allocations: 4 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1806, allocations: 0 / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1806, allocations: 0 / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.181, allocations: 211.3 kB / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.181, allocations: 92.89 kB / 0.6843 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1811, allocations: 4 kB / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1812, allocations: 7.984 kB / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.1812, allocations: 11.98 kB / 0.6843 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1812, allocations: 0 / 0.6843 GB, free: 11.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.777e-05/0.1813, allocations: 99.27 kB / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1813, allocations: 3.938 kB / 0.6844 GB, free: 11.74 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.1815, allocations: 12 kB / 0.6844 GB, free: 11.73 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.0001403/0.1817, allocations: 103.2 kB / 0.6845 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.182, allocations: 79.92 kB / 0.6846 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.182, allocations: 4 kB / 0.6846 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.1821, allocations: 40.33 kB / 0.6847 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.1824, allocations: 13.66 kB / 0.6847 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.1827, allocations: 163.2 kB / 0.6848 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.183, allocations: 0.6887 MB / 0.6855 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.976e-05/0.183, allocations: 4.094 kB / 0.6855 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.183, allocations: 7.438 kB / 0.6855 GB, free: 10.58 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1831, allocations: 0 / 0.6855 GB, free: 10.58 MB / 494.1 MB Notification: Performance of Templates: time 0.003235/0.1863, allocations: 0.6719 MB / 0.6862 GB, free: 9.914 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)