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.001437/0.001437, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 198.8 kB / 16.53 MB, free: 6.391 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002216/0.002216, allocations: 291 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9389/0.9389, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 99.52 kB / 0.5952 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.153, allocations: 86.98 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002385/0.1554, allocations: 1.473 MB / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002638/0.1557, allocations: 108.5 kB / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.1557, allocations: 0 / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.1558, allocations: 3.938 kB / 0.6817 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.1559, allocations: 8.812 kB / 0.6817 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.156, allocations: 20.69 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.181e-05/0.1561, allocations: 47.78 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.1562, allocations: 13.5 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.063e-05/0.1563, allocations: 19.91 kB / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.1563, allocations: 24.42 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1563, allocations: 4.625 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.1564, allocations: 15.98 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.1564, allocations: 15.98 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.1565, allocations: 23.86 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.1566, allocations: 64.02 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1566, allocations: 0 / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1566, allocations: 0 / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1566, allocations: 0 / 0.682 GB, free: 14.84 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.0004512/0.1571, allocations: 371.3 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.1571, allocations: 12.03 kB / 0.6823 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.1572, allocations: 16.84 kB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1573, allocations: 172.2 kB / 0.6825 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.1573, allocations: 8.312 kB / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1573, allocations: 384 / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.1576, allocations: 74.2 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1576, allocations: 192 / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1576, allocations: 7.938 kB / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1576, allocations: 3.984 kB / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.1579, allocations: 75.92 kB / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.1582, allocations: 281 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.1584, allocations: 74.41 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.1586, allocations: 44.92 kB / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.1588, allocations: 105.1 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.1589, allocations: 42.5 kB / 0.6832 GB, free: 13.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.1589, allocations: 0 / 0.6832 GB, free: 13.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005548/0.1594, allocations: 149.4 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.1595, allocations: 51.41 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.1596, allocations: 126.3 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1596, allocations: 29.7 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.1597, allocations: 96.12 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.1597, allocations: 7.812 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.1597, allocations: 17.72 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.1598, allocations: 314.8 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.16, allocations: 35.97 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.1601, allocations: 43.95 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.1604, allocations: 76.78 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1604, allocations: 3.938 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003319/0.1608, allocations: 113.6 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1608, allocations: 7.984 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1608, allocations: 0 / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1608, allocations: 3.938 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1609, allocations: 15.98 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.161, allocations: 0 / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.161, allocations: 11.98 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1611, allocations: 0 / 0.6843 GB, free: 12.25 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.287e-05/0.1611, allocations: 127.1 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.1612, allocations: 7.906 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.1615, allocations: 113.5 kB / 0.6845 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1616, allocations: 0 / 0.6845 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1616, allocations: 3.938 kB / 0.6845 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1616, allocations: 0 / 0.6845 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.1617, allocations: 193.6 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1617, allocations: 0 / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.586e-05/0.1618, allocations: 19.97 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1619, allocations: 0 / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1619, allocations: 4.375 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1619, allocations: 0 / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1619, allocations: 0 / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.1622, allocations: 215.3 kB / 0.6849 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.1623, allocations: 92.89 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.1623, allocations: 0 / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1624, allocations: 11.98 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.1625, allocations: 7.984 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.1625, allocations: 4 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.1625, allocations: 100.9 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1625, allocations: 3.938 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.1628, allocations: 8 kB / 0.6851 GB, free: 11.26 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.0001206/0.1629, allocations: 99.25 kB / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.1633, allocations: 83.91 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.1633, allocations: 4 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.1634, allocations: 35.97 kB / 0.6853 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1637, allocations: 15.92 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.164, allocations: 149.5 kB / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.1642, allocations: 0.6846 MB / 0.6862 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.931e-05/0.1642, allocations: 7.984 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.1643, allocations: 11.44 kB / 0.6862 GB, free: 10.11 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1643, allocations: 0 / 0.6862 GB, free: 10.11 MB / 494.1 MB Notification: Performance of Templates: time 0.002715/0.167, allocations: 0.7948 MB / 0.687 GB, free: 9.324 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)