Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009817/0.0009817, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009713/0.0009714, allocations: 193.9 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.556/1.556, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 66.92 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1726, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002382/0.1751, allocations: 1.552 MB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002409/0.1753, allocations: 108.5 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.1753, allocations: 0 / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.1754, allocations: 8 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.073e-05/0.1755, allocations: 7.922 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.1756, allocations: 19.97 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.1757, allocations: 43.86 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.317e-05/0.1758, allocations: 7.984 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.1758, allocations: 19.94 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.763e-05/0.1759, allocations: 19.91 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1759, allocations: 4 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.097e-05/0.1759, allocations: 27.98 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.728e-05/0.176, allocations: 15.92 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.176, allocations: 23.86 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.453e-05/0.1761, allocations: 47.88 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1761, allocations: 0 / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1761, allocations: 3.938 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1761, allocations: 0 / 0.7847 GB, free: 12 MB / 0.6075 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.0004328/0.1766, allocations: 375.5 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.1766, allocations: 12.03 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.1766, allocations: 8.844 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.084e-05/0.1767, allocations: 180.2 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.1767, allocations: 4.375 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1768, allocations: 4.375 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.177, allocations: 70.22 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.177, allocations: 192 / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.177, allocations: 3.938 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.177, allocations: 7.938 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.1773, allocations: 75.91 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.1776, allocations: 292.7 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1778, allocations: 74.47 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.1779, allocations: 40.91 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.1781, allocations: 109.1 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.1781, allocations: 38.55 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1781, allocations: 0 / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004761/0.1786, allocations: 145.5 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.1787, allocations: 55.41 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.784e-05/0.1787, allocations: 125.8 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1788, allocations: 29.7 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.1788, allocations: 92.05 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.1788, allocations: 7.906 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.1789, allocations: 13.7 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.1789, allocations: 318.8 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1791, allocations: 35.95 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1792, allocations: 43.97 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.1795, allocations: 76.78 kB / 0.7868 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1795, allocations: 3.938 kB / 0.7868 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000296/0.1798, allocations: 121.8 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1798, allocations: 8 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.1798, allocations: 0 / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1798, allocations: 0 / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1799, allocations: 19.92 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1799, allocations: 0 / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.015e-05/0.18, allocations: 11.97 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.18, allocations: 8 kB / 0.787 GB, free: 9.391 MB / 0.6075 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 6.254e-05/0.1801, allocations: 117.8 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.1801, allocations: 7.891 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.1804, allocations: 121.4 kB / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1805, allocations: 0 / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1805, allocations: 4 kB / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1805, allocations: 4 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.1806, allocations: 177.6 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1806, allocations: 0 / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.971e-05/0.1807, allocations: 19.98 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1807, allocations: 0 / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1807, allocations: 0 / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1808, allocations: 0 / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1808, allocations: 4 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.1811, allocations: 207.4 kB / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.1811, allocations: 84.95 kB / 0.7877 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1811, allocations: 4 kB / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.896e-05/0.1812, allocations: 15.91 kB / 0.7877 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1813, allocations: 4 kB / 0.7877 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1813, allocations: 4 kB / 0.7877 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.951e-05/0.1813, allocations: 102.4 kB / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1813, allocations: 0 / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002089/0.1816, allocations: 8 kB / 0.7879 GB, free: 8.418 MB / 0.6075 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.0001021/0.1817, allocations: 107.2 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.182, allocations: 83.92 kB / 0.788 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.182, allocations: 0 / 0.788 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.1821, allocations: 43.89 kB / 0.7881 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.1823, allocations: 15.94 kB / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.1826, allocations: 166.4 kB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.1828, allocations: 0.6885 MB / 0.7889 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.1829, allocations: 4 kB / 0.7889 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.1829, allocations: 7.438 kB / 0.7889 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1829, allocations: 3.938 kB / 0.7889 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of Templates: time 0.002303/0.1852, allocations: 0.69 MB / 0.7896 GB, free: 6.562 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)