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.0009685/0.0009683, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.00107/0.00107, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 287.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8896/0.8896, allocations: 169.3 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 90.33 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1641, allocations: 86.98 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.00244/0.1666, allocations: 1.474 MB / 0.683 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002638/0.1668, allocations: 104.6 kB / 0.6831 GB, free: 5.871 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.1669, allocations: 0 / 0.6831 GB, free: 5.871 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.1669, allocations: 3.938 kB / 0.6831 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.167, allocations: 15.88 kB / 0.6832 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.1672, allocations: 19.97 kB / 0.6832 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.385e-05/0.1672, allocations: 43.84 kB / 0.6832 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.1673, allocations: 16 kB / 0.6832 GB, free: 5.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.1674, allocations: 15.92 kB / 0.6833 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.1674, allocations: 31.84 kB / 0.6833 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1675, allocations: 3.938 kB / 0.6833 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.1675, allocations: 15.98 kB / 0.6833 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.1676, allocations: 23.92 kB / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.1676, allocations: 19.86 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.1677, allocations: 51.67 kB / 0.6834 GB, free: 5.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1677, allocations: 0 / 0.6834 GB, free: 5.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.1677, allocations: 0 / 0.6834 GB, free: 5.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1678, allocations: 3.938 kB / 0.6834 GB, free: 5.613 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.0004686/0.1682, allocations: 379.3 kB / 0.6838 GB, free: 5.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1683, allocations: 12.03 kB / 0.6838 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.1683, allocations: 8.844 kB / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1684, allocations: 176.2 kB / 0.6839 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1684, allocations: 4.375 kB / 0.6839 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1684, allocations: 384 / 0.6839 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.1687, allocations: 82.12 kB / 0.684 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1687, allocations: 192 / 0.684 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1687, allocations: 7.938 kB / 0.684 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.1687, allocations: 4 kB / 0.684 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.169, allocations: 79.92 kB / 0.6841 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.1693, allocations: 277 kB / 0.6844 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.1695, allocations: 78.41 kB / 0.6845 GB, free: 4.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.1697, allocations: 40.92 kB / 0.6845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.1699, allocations: 105.1 kB / 0.6846 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1699, allocations: 34.56 kB / 0.6846 GB, free: 4.168 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1699, allocations: 4 kB / 0.6846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004831/0.1704, allocations: 145.5 kB / 0.6848 GB, free: 4.016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.1704, allocations: 51.41 kB / 0.6848 GB, free: 3.953 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.781e-05/0.1705, allocations: 129 kB / 0.6849 GB, free: 3.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1706, allocations: 25.7 kB / 0.685 GB, free: 3.789 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.1706, allocations: 100.1 kB / 0.6851 GB, free: 3.688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.1706, allocations: 7.812 kB / 0.6851 GB, free: 3.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.1707, allocations: 17.72 kB / 0.6851 GB, free: 3.656 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.1708, allocations: 322.8 kB / 0.6854 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1709, allocations: 35.97 kB / 0.6854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.171, allocations: 39.95 kB / 0.6855 GB, free: 3.258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.1713, allocations: 76.78 kB / 0.6855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1713, allocations: 3.938 kB / 0.6855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002842/0.1716, allocations: 109.6 kB / 0.6856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1716, allocations: 4 kB / 0.6857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1716, allocations: 3.984 kB / 0.6857 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1716, allocations: 0 / 0.6857 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1717, allocations: 15.98 kB / 0.6857 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-06/0.1718, allocations: 11.81 kB / 0.6857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.1718, allocations: 11.98 kB / 0.6857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1718, allocations: 0 / 0.6857 GB, free: 3.016 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.938e-05/0.1719, allocations: 125.8 kB / 0.6858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.172, allocations: 7.906 kB / 0.6858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.1723, allocations: 113.5 kB / 0.6859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1723, allocations: 0 / 0.6859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1723, allocations: 0 / 0.6859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1723, allocations: 384 / 0.6859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.1725, allocations: 185.6 kB / 0.6861 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1725, allocations: 4 kB / 0.6861 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.627e-05/0.1726, allocations: 19.97 kB / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1726, allocations: 0 / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1726, allocations: 0 / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1726, allocations: 3.938 kB / 0.6861 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1726, allocations: 3.984 kB / 0.6861 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.1729, allocations: 211.3 kB / 0.6863 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.173, allocations: 88.95 kB / 0.6864 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.173, allocations: 0 / 0.6864 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.871e-05/0.1731, allocations: 15.98 kB / 0.6864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.1732, allocations: 7.984 kB / 0.6864 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.1732, allocations: 4 kB / 0.6864 GB, free: 2.137 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.945e-05/0.1732, allocations: 95.27 kB / 0.6865 GB, free: 2.043 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1732, allocations: 4 kB / 0.6865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.1735, allocations: 12 kB / 0.6866 GB, free: 2.027 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.0001303/0.1736, allocations: 95.25 kB / 0.6866 GB, free: 1.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002958/0.1739, allocations: 83.84 kB / 0.6867 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1739, allocations: 0 / 0.6867 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.174, allocations: 43.97 kB / 0.6868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.1743, allocations: 7.938 kB / 0.6868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.1746, allocations: 157.6 kB / 0.6869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.1748, allocations: 0.6846 MB / 0.6876 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.953e-05/0.1749, allocations: 11.98 kB / 0.6876 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.1749, allocations: 7.438 kB / 0.6876 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of SimCode: time 1.402e-06/0.1749, allocations: 0 / 0.6876 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of Templates: time 0.002679/0.1776, allocations: 0.8075 MB / 0.6884 GB, free: 88 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)