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.001202/0.001202, allocations: 107.7 kB / 15.99 MB, free: 6.348 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.001199/0.001199, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.295/1.295, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00253/0.002531, allocations: 280.8 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.154/1.154, allocations: 178.5 MB / 0.5076 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 107.8 kB / 0.6066 GB, free: 9.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1655, allocations: 89.13 MB / 0.6936 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002851/0.1684, allocations: 1.557 MB / 0.6951 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002945/0.1687, allocations: 100.6 kB / 0.6952 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.1688, allocations: 0 / 0.6952 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.736e-05/0.1689, allocations: 3.984 kB / 0.6952 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.571e-05/0.169, allocations: 7.922 kB / 0.6953 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.1692, allocations: 19.98 kB / 0.6953 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.442e-05/0.1692, allocations: 43.8 kB / 0.6953 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.1693, allocations: 11.98 kB / 0.6953 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.962e-05/0.1694, allocations: 23.92 kB / 0.6953 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.1695, allocations: 19.92 kB / 0.6954 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1695, allocations: 4 kB / 0.6954 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-05/0.1696, allocations: 19.98 kB / 0.6954 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.1696, allocations: 15.97 kB / 0.6954 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.1696, allocations: 23.8 kB / 0.6954 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.611e-05/0.1697, allocations: 35.95 kB / 0.6955 GB, free: 14.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1698, allocations: 0 / 0.6955 GB, free: 14.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1698, allocations: 0 / 0.6955 GB, free: 14.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.1698, allocations: 4 kB / 0.6955 GB, free: 14.55 MB / 0.545 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.0005349/0.1703, allocations: 383.4 kB / 0.6958 GB, free: 14.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1704, allocations: 12.03 kB / 0.6958 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.1704, allocations: 4.844 kB / 0.6958 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.1705, allocations: 172.2 kB / 0.696 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1706, allocations: 4.375 kB / 0.696 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.1706, allocations: 384 / 0.696 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1708, allocations: 74.2 kB / 0.6961 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1708, allocations: 8.188 kB / 0.6961 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1709, allocations: 3.938 kB / 0.6961 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1709, allocations: 0 / 0.6961 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.1712, allocations: 75.92 kB / 0.6962 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.1716, allocations: 288.9 kB / 0.6964 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1718, allocations: 74.41 kB / 0.6965 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.172, allocations: 40.92 kB / 0.6966 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/0.1723, allocations: 109.1 kB / 0.6967 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1723, allocations: 34.56 kB / 0.6967 GB, free: 13.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1723, allocations: 0 / 0.6967 GB, free: 13.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005364/0.1728, allocations: 149.6 kB / 0.6968 GB, free: 12.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1729, allocations: 55.41 kB / 0.6969 GB, free: 12.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.173, allocations: 128.7 kB / 0.697 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.173, allocations: 29.7 kB / 0.697 GB, free: 12.72 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1732, allocations: 92.12 kB / 0.6971 GB, free: 12.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.1732, allocations: 7.812 kB / 0.6971 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.1732, allocations: 17.72 kB / 0.6971 GB, free: 12.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1734, allocations: 318.8 kB / 0.6975 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1735, allocations: 39.97 kB / 0.6975 GB, free: 12.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1737, allocations: 39.98 kB / 0.6975 GB, free: 12.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.1739, allocations: 76.78 kB / 0.6976 GB, free: 12.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.1739, allocations: 7.875 kB / 0.6976 GB, free: 12.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003286/0.1743, allocations: 117.5 kB / 0.6977 GB, free: 11.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1743, allocations: 4 kB / 0.6977 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1743, allocations: 0 / 0.6977 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1743, allocations: 4 kB / 0.6977 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1745, allocations: 11.98 kB / 0.6977 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1745, allocations: 4 kB / 0.6977 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.562e-05/0.1746, allocations: 19.89 kB / 0.6978 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1746, allocations: 0 / 0.6978 GB, free: 11.95 MB / 0.545 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 9.591e-05/0.1747, allocations: 125 kB / 0.6979 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.1747, allocations: 4 kB / 0.6979 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.1751, allocations: 117.5 kB / 0.698 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1751, allocations: 4 kB / 0.698 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1751, allocations: 0 / 0.698 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1751, allocations: 3.938 kB / 0.698 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.1753, allocations: 185.6 kB / 0.6982 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1754, allocations: 0 / 0.6982 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.587e-05/0.1755, allocations: 19.97 kB / 0.6982 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1755, allocations: 0 / 0.6982 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1755, allocations: 0 / 0.6982 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1755, allocations: 0 / 0.6982 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1755, allocations: 0 / 0.6982 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.1759, allocations: 215.3 kB / 0.6984 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.176, allocations: 81.02 kB / 0.6985 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.176, allocations: 0 / 0.6985 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1761, allocations: 15.98 kB / 0.6985 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.1762, allocations: 7.984 kB / 0.6985 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1762, allocations: 4 kB / 0.6985 GB, free: 11.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.366e-05/0.1763, allocations: 99.2 kB / 0.6986 GB, free: 10.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1763, allocations: 0 / 0.6986 GB, free: 10.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000232/0.1765, allocations: 15.94 kB / 0.6986 GB, free: 10.96 MB / 0.545 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.0001489/0.1767, allocations: 103.2 kB / 0.6987 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.177, allocations: 79.91 kB / 0.6988 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.177, allocations: 0 / 0.6988 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.1772, allocations: 43.97 kB / 0.6988 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.1774, allocations: 11.86 kB / 0.6989 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.1778, allocations: 195.5 kB / 0.699 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.1782, allocations: 0.6885 MB / 0.6997 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.1782, allocations: 11.44 kB / 0.6997 GB, free: 9.773 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.1782, allocations: 0 / 0.6997 GB, free: 9.773 MB / 0.545 GB Notification: Performance of Templates: time 0.002654/0.1809, allocations: 0.8951 MB / 0.7006 GB, free: 8.883 MB / 0.545 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)