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.001005/0.001005, allocations: 112.6 kB / 16.37 MB, free: 6 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.000949/0.0009491, allocations: 196 kB / 17.31 MB, free: 5.613 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002189/0.002189, allocations: 287 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9128/0.9128, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 93.58 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1519, allocations: 86.98 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002546/0.1545, allocations: 1.482 MB / 0.6831 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002638/0.1548, allocations: 100.6 kB / 0.6831 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.1548, allocations: 4 kB / 0.6832 GB, free: 5.848 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.1549, allocations: 3.938 kB / 0.6832 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.1549, allocations: 7.938 kB / 0.6832 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.1551, allocations: 23.91 kB / 0.6832 GB, free: 5.812 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.945e-05/0.1552, allocations: 43.86 kB / 0.6832 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.601e-05/0.1553, allocations: 15.98 kB / 0.6832 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.389e-05/0.1554, allocations: 19.92 kB / 0.6833 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.1554, allocations: 19.92 kB / 0.6833 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1554, allocations: 7.984 kB / 0.6833 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.9e-05/0.1555, allocations: 19.98 kB / 0.6833 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.1555, allocations: 15.98 kB / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.1556, allocations: 23.81 kB / 0.6833 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.1557, allocations: 55.73 kB / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1557, allocations: 0 / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1557, allocations: 0 / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1557, allocations: 0 / 0.6834 GB, free: 5.594 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.000465/0.1562, allocations: 379.2 kB / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1562, allocations: 12.02 kB / 0.6838 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.1563, allocations: 12.84 kB / 0.6838 GB, free: 5.148 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1564, allocations: 176.2 kB / 0.684 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-06/0.1564, allocations: 384 / 0.684 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1564, allocations: 8.375 kB / 0.684 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.1567, allocations: 74.2 kB / 0.684 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1567, allocations: 192 / 0.684 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1567, allocations: 3.938 kB / 0.684 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1567, allocations: 4 kB / 0.684 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/0.157, allocations: 83.8 kB / 0.6841 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.1573, allocations: 277 kB / 0.6844 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1575, allocations: 70.47 kB / 0.6845 GB, free: 4.363 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.1577, allocations: 44.91 kB / 0.6845 GB, free: 4.316 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.1579, allocations: 109.1 kB / 0.6846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1579, allocations: 38.5 kB / 0.6846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1579, allocations: 0 / 0.6846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004962/0.1584, allocations: 145.5 kB / 0.6848 GB, free: 3.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.1585, allocations: 55.41 kB / 0.6848 GB, free: 3.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.1586, allocations: 128.8 kB / 0.6849 GB, free: 3.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1586, allocations: 25.7 kB / 0.685 GB, free: 3.766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.1586, allocations: 92.14 kB / 0.6851 GB, free: 3.672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.1586, allocations: 19.8 kB / 0.6851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.1587, allocations: 9.719 kB / 0.6851 GB, free: 3.637 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.1588, allocations: 318.8 kB / 0.6854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1589, allocations: 35.95 kB / 0.6854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.159, allocations: 35.95 kB / 0.6855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.1593, allocations: 89 kB / 0.6855 GB, free: 3.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1593, allocations: 3.938 kB / 0.6856 GB, free: 3.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002889/0.1596, allocations: 105.6 kB / 0.6857 GB, free: 3.043 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1596, allocations: 14.34 kB / 0.6857 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1596, allocations: 0 / 0.6857 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1597, allocations: 0 / 0.6857 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1598, allocations: 15.97 kB / 0.6857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1598, allocations: 4 kB / 0.6857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.622e-05/0.1599, allocations: 15.92 kB / 0.6857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1599, allocations: 4 kB / 0.6857 GB, free: 2.992 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 6.819e-05/0.16, allocations: 113.8 kB / 0.6858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.16, allocations: 11.84 kB / 0.6858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.1603, allocations: 121.5 kB / 0.6859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1603, allocations: 0 / 0.6859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1604, allocations: 4 kB / 0.6859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1604, allocations: 0 / 0.6859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.1605, allocations: 177.6 kB / 0.6861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1605, allocations: 0 / 0.6861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.732e-05/0.1606, allocations: 19.98 kB / 0.6861 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.1606, allocations: 0 / 0.6861 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1607, allocations: 0 / 0.6861 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1607, allocations: 3.984 kB / 0.6861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1607, allocations: 0 / 0.6861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.161, allocations: 215.3 kB / 0.6863 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.161, allocations: 92.94 kB / 0.6864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1611, allocations: 7.938 kB / 0.6864 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.1612, allocations: 11.98 kB / 0.6864 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.1612, allocations: 4 kB / 0.6865 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1612, allocations: 0 / 0.6865 GB, free: 2.121 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.572e-05/0.1613, allocations: 103.2 kB / 0.6865 GB, free: 2.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1613, allocations: 0 / 0.6865 GB, free: 2.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.1615, allocations: 12 kB / 0.6866 GB, free: 2.008 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.0001163/0.1616, allocations: 99.25 kB / 0.6867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.1619, allocations: 83.86 kB / 0.6867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1619, allocations: 0 / 0.6867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.1621, allocations: 43.95 kB / 0.6868 GB, free: 1.777 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1623, allocations: 7.922 kB / 0.6868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.1626, allocations: 157.6 kB / 0.6869 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1628, allocations: 0.6846 MB / 0.6876 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.404e-05/0.1629, allocations: 0 / 0.6876 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.1629, allocations: 11.44 kB / 0.6876 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1629, allocations: 4 kB / 0.6876 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of Templates: time 0.002672/0.1656, allocations: 0.7994 MB / 0.6884 GB, free: 72 kB / 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)