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.005307/0.005307, allocations: 97.33 kB / 15.73 MB, free: 6.035 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.001185/0.001185, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 287 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9555/0.9555, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 99.86 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1677, allocations: 86.97 MB / 0.7664 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002219/0.17, allocations: 1.483 MB / 0.7678 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002782/0.1703, allocations: 104.5 kB / 0.7679 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.1703, allocations: 8 kB / 0.7679 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.1704, allocations: 3.938 kB / 0.7679 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-05/0.1704, allocations: 3.938 kB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.1706, allocations: 27.95 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.994e-05/0.1707, allocations: 43.86 kB / 0.768 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.1708, allocations: 7.984 kB / 0.768 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.1708, allocations: 19.92 kB / 0.768 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.1709, allocations: 19.92 kB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1709, allocations: 8 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.444e-05/0.171, allocations: 19.98 kB / 0.7681 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.171, allocations: 15.86 kB / 0.7681 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.1711, allocations: 27.86 kB / 0.7681 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.1712, allocations: 55.73 kB / 0.7682 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.1712, allocations: 4 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1712, allocations: 0 / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.1712, allocations: 0 / 0.7682 GB, free: 6.539 MB / 0.5606 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.0004786/0.1717, allocations: 383.1 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1718, allocations: 8.031 kB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.1718, allocations: 8.891 kB / 0.7686 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1719, allocations: 176.2 kB / 0.7687 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1719, allocations: 4.375 kB / 0.7687 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1719, allocations: 384 / 0.7687 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.1722, allocations: 78.2 kB / 0.7688 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1722, allocations: 192 / 0.7688 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1722, allocations: 7.938 kB / 0.7688 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1722, allocations: 3.984 kB / 0.7688 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.1725, allocations: 71.92 kB / 0.7689 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.1728, allocations: 288.9 kB / 0.7692 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1731, allocations: 74.47 kB / 0.7692 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.1732, allocations: 36.92 kB / 0.7693 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.1734, allocations: 113.1 kB / 0.7694 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1735, allocations: 34.56 kB / 0.7694 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1735, allocations: 3.938 kB / 0.7694 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005349/0.174, allocations: 149.5 kB / 0.7696 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.174, allocations: 51.41 kB / 0.7696 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.1742, allocations: 129.8 kB / 0.7697 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.1742, allocations: 25.7 kB / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.1742, allocations: 92.14 kB / 0.7699 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.1742, allocations: 11.89 kB / 0.7699 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.1743, allocations: 13.72 kB / 0.7699 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.1744, allocations: 318.8 kB / 0.7702 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.1746, allocations: 35.95 kB / 0.7702 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1747, allocations: 39.95 kB / 0.7703 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.175, allocations: 80.78 kB / 0.7703 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.175, allocations: 3.938 kB / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003162/0.1753, allocations: 109.6 kB / 0.7704 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1753, allocations: 8 kB / 0.7704 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1753, allocations: 0 / 0.7704 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1754, allocations: 0 / 0.7704 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1755, allocations: 19.97 kB / 0.7705 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1755, allocations: 4 kB / 0.7705 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.429e-05/0.1756, allocations: 11.92 kB / 0.7705 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.1756, allocations: 11.94 kB / 0.7705 GB, free: 3.934 MB / 0.5606 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 7.009e-05/0.1757, allocations: 114.4 kB / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.1757, allocations: 15.94 kB / 0.7706 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.1761, allocations: 117.5 kB / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1761, allocations: 0 / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1761, allocations: 0 / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1761, allocations: 8 kB / 0.7707 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.1763, allocations: 177.6 kB / 0.7709 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1763, allocations: 0 / 0.7709 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.953e-05/0.1764, allocations: 15.98 kB / 0.7709 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1764, allocations: 0 / 0.7709 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1764, allocations: 7.984 kB / 0.7709 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1764, allocations: 0 / 0.7709 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1764, allocations: 0 / 0.7709 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.1767, allocations: 215.7 kB / 0.7711 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.1768, allocations: 85.05 kB / 0.7712 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.1768, allocations: 3.938 kB / 0.7712 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.1769, allocations: 11.98 kB / 0.7712 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.177, allocations: 4 kB / 0.7712 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.177, allocations: 7.938 kB / 0.7712 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.346e-05/0.177, allocations: 106 kB / 0.7713 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.177, allocations: 0 / 0.7713 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000225/0.1773, allocations: 8 kB / 0.7714 GB, free: 2.953 MB / 0.5606 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.000127/0.1774, allocations: 99.25 kB / 0.7714 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.1778, allocations: 79.92 kB / 0.7715 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1778, allocations: 4 kB / 0.7715 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.1779, allocations: 39.95 kB / 0.7716 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.1782, allocations: 11.94 kB / 0.7716 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.1785, allocations: 157.3 kB / 0.7717 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.1787, allocations: 0.6846 MB / 0.7724 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.1788, allocations: 8 kB / 0.7724 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.1788, allocations: 7.438 kB / 0.7724 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1788, allocations: 0 / 0.7724 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of Templates: time 0.002767/0.1816, allocations: 0.8041 MB / 0.7732 GB, free: 1.012 MB / 0.5606 GB 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)