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.0009837/0.0009837, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009014/0.009014, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 278.4 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.943/0.943, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004723, allocations: 15.72 kB / 0.5987 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1726, allocations: 88.54 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.001922/0.1746, allocations: 1.203 MB / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003251/0.1749, allocations: 105.1 kB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.175, allocations: 4 kB / 0.6864 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.175, allocations: 2.094 kB / 0.6864 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.1751, allocations: 7.922 kB / 0.6864 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.1752, allocations: 15.98 kB / 0.6864 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.183e-05/0.1753, allocations: 43.8 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.957e-05/0.1754, allocations: 20.03 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.1755, allocations: 11.98 kB / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.639e-05/0.1755, allocations: 23.86 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1755, allocations: 0 / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.832e-05/0.1756, allocations: 15.98 kB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.1757, allocations: 7.984 kB / 0.6865 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.1757, allocations: 41.58 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.1758, allocations: 64 kB / 0.6866 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1758, allocations: 0.5 kB / 0.6866 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1758, allocations: 0 / 0.6866 GB, free: 13.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1758, allocations: 0.5 kB / 0.6866 GB, free: 13.49 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.0006462/0.1765, allocations: 382.9 kB / 0.687 GB, free: 13.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1765, allocations: 8.031 kB / 0.687 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.1766, allocations: 8.922 kB / 0.687 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1767, allocations: 176.2 kB / 0.6872 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1767, allocations: 1.125 kB / 0.6872 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.1767, allocations: 5.438 kB / 0.6872 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.177, allocations: 88.45 kB / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.177, allocations: 192 / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1771, allocations: 3.938 kB / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1771, allocations: 2.406 kB / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.1774, allocations: 98.05 kB / 0.6874 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.1778, allocations: 291.9 kB / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.1781, allocations: 80.12 kB / 0.6877 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.1783, allocations: 51.05 kB / 0.6878 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.1785, allocations: 110.2 kB / 0.6879 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.1785, allocations: 38.56 kB / 0.6879 GB, free: 12.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1785, allocations: 3.938 kB / 0.6879 GB, free: 12.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005857/0.1791, allocations: 177.4 kB / 0.6881 GB, free: 11.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.1792, allocations: 51.41 kB / 0.6881 GB, free: 11.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/0.1793, allocations: 132.6 kB / 0.6883 GB, free: 11.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1793, allocations: 29.7 kB / 0.6883 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.1794, allocations: 92.14 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1794, allocations: 7.891 kB / 0.6884 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.1794, allocations: 13.72 kB / 0.6884 GB, free: 11.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1796, allocations: 314.8 kB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.1797, allocations: 51.95 kB / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.1799, allocations: 43.97 kB / 0.6888 GB, free: 11.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.1802, allocations: 100.8 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.1802, allocations: 7.922 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003558/0.1806, allocations: 133.5 kB / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1806, allocations: 12 kB / 0.689 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1806, allocations: 0 / 0.689 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1807, allocations: 0 / 0.689 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1808, allocations: 23.97 kB / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.1808, allocations: 3.984 kB / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.312e-05/0.1809, allocations: 15.98 kB / 0.6891 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1809, allocations: 4 kB / 0.6891 GB, free: 10.76 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 8.32e-05/0.181, allocations: 119.1 kB / 0.6892 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.181, allocations: 7.906 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.1815, allocations: 153.8 kB / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1815, allocations: 48 / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1815, allocations: 3.984 kB / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1815, allocations: 0 / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.1818, allocations: 185.6 kB / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1818, allocations: 0 / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.835e-05/0.1819, allocations: 23.98 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1819, allocations: 0 / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1819, allocations: 0 / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1819, allocations: 0 / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1819, allocations: 0 / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.1823, allocations: 227.4 kB / 0.6898 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.1824, allocations: 88.95 kB / 0.6899 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1824, allocations: 11.88 kB / 0.6899 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1825, allocations: 23.97 kB / 0.6899 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.1825, allocations: 0 / 0.6899 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1826, allocations: 7.938 kB / 0.6899 GB, free: 9.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.705e-05/0.1826, allocations: 99.25 kB / 0.69 GB, free: 9.723 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1826, allocations: 0 / 0.69 GB, free: 9.723 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1828, allocations: 12 kB / 0.69 GB, free: 9.711 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.000138/0.183, allocations: 103.2 kB / 0.6901 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.1834, allocations: 99.92 kB / 0.6902 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1834, allocations: 0 / 0.6902 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.1835, allocations: 55.95 kB / 0.6903 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1838, allocations: 7.938 kB / 0.6903 GB, free: 9.441 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.1842, allocations: 168.5 kB / 0.6904 GB, free: 9.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1845, allocations: 0.6926 MB / 0.6911 GB, free: 8.535 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.191e-05/0.1845, allocations: 4 kB / 0.6911 GB, free: 8.531 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.1846, allocations: 11.44 kB / 0.6911 GB, free: 8.52 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1846, allocations: 0 / 0.6911 GB, free: 8.52 MB / 494.1 MB Notification: Performance of Templates: time 0.002709/0.1873, allocations: 0.6645 MB / 0.6918 GB, free: 7.867 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)