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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 214.7 kB / 23.01 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002435/0.002435, allocations: 287.1 kB / 313.5 MB, free: 2.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.153/1.153, allocations: 180.6 MB / 0.5377 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 101.7 kB / 0.7408 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1683, allocations: 95.38 MB / 0.834 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002627/0.1709, allocations: 1.532 MB / 0.8355 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003014/0.1712, allocations: 108.6 kB / 0.8356 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.1712, allocations: 0 / 0.8356 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.803e-05/0.1713, allocations: 3.938 kB / 0.8356 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.037e-05/0.1714, allocations: 7.938 kB / 0.8356 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.1715, allocations: 27.89 kB / 0.8356 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.957e-05/0.1716, allocations: 43.91 kB / 0.8356 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.434e-05/0.1717, allocations: 8 kB / 0.8357 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.562e-05/0.1718, allocations: 23.92 kB / 0.8357 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.1718, allocations: 15.92 kB / 0.8357 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1718, allocations: 4 kB / 0.8357 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.1719, allocations: 19.98 kB / 0.8357 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.1719, allocations: 15.92 kB / 0.8357 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.172, allocations: 19.88 kB / 0.8357 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.1721, allocations: 67.66 kB / 0.8358 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1721, allocations: 0 / 0.8358 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1721, allocations: 0 / 0.8358 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1721, allocations: 4 kB / 0.8358 GB, free: 6.23 MB / 0.5762 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.0005249/0.1727, allocations: 298.1 kB / 0.8361 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1727, allocations: 9.344 kB / 0.8361 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.1727, allocations: 8.891 kB / 0.8361 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.1728, allocations: 119.3 kB / 0.8362 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1729, allocations: 4.375 kB / 0.8362 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.1729, allocations: 384 / 0.8362 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.1731, allocations: 74.22 kB / 0.8363 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1731, allocations: 192 / 0.8363 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1731, allocations: 7.938 kB / 0.8363 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1731, allocations: 3.984 kB / 0.8363 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.1734, allocations: 79.86 kB / 0.8364 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.1738, allocations: 260 kB / 0.8366 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.174, allocations: 62.47 kB / 0.8367 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1742, allocations: 48.91 kB / 0.8367 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.1744, allocations: 27.98 kB / 0.8368 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1744, allocations: 38.48 kB / 0.8368 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1744, allocations: 3.938 kB / 0.8368 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005188/0.1749, allocations: 149.6 kB / 0.837 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.175, allocations: 55.34 kB / 0.837 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1751, allocations: 126.6 kB / 0.8371 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1751, allocations: 25.7 kB / 0.8372 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.1752, allocations: 96.09 kB / 0.8372 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.1752, allocations: 3.953 kB / 0.8372 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.1752, allocations: 17.72 kB / 0.8373 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1754, allocations: 318.8 kB / 0.8376 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1755, allocations: 39.95 kB / 0.8376 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1756, allocations: 35.97 kB / 0.8376 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.1759, allocations: 80.98 kB / 0.8377 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1759, allocations: 11.94 kB / 0.8377 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003051/0.1762, allocations: 113.6 kB / 0.8378 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1762, allocations: 4 kB / 0.8378 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1762, allocations: 0 / 0.8378 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1762, allocations: 0 / 0.8378 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1764, allocations: 15.98 kB / 0.8379 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1764, allocations: 4 kB / 0.8379 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/0.1764, allocations: 19.91 kB / 0.8379 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1764, allocations: 0 / 0.8379 GB, free: 3.926 MB / 0.5762 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 8.638e-05/0.1765, allocations: 118.4 kB / 0.838 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.1766, allocations: 7.953 kB / 0.838 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.1769, allocations: 125.5 kB / 0.8381 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1769, allocations: 0 / 0.8381 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1769, allocations: 4 kB / 0.8381 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1769, allocations: 0 / 0.8381 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.1771, allocations: 156.7 kB / 0.8383 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1771, allocations: 0 / 0.8383 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.659e-05/0.1772, allocations: 11.98 kB / 0.8383 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1772, allocations: 4 kB / 0.8383 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1772, allocations: 0 / 0.8383 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1772, allocations: 0 / 0.8383 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1772, allocations: 4 kB / 0.8383 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.1776, allocations: 211.3 kB / 0.8385 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.1776, allocations: 4 kB / 0.8385 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1776, allocations: 3.938 kB / 0.8385 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1777, allocations: 19.98 kB / 0.8385 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.1777, allocations: 3.984 kB / 0.8385 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1778, allocations: 4 kB / 0.8385 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.212e-05/0.1778, allocations: 96.39 kB / 0.8386 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1778, allocations: 0 / 0.8386 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002198/0.178, allocations: 12 kB / 0.8386 GB, free: 3.074 MB / 0.5762 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.0001394/0.1782, allocations: 99.23 kB / 0.8387 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.1785, allocations: 79.86 kB / 0.8388 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1785, allocations: 3.938 kB / 0.8388 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.1786, allocations: 43.95 kB / 0.8388 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.1789, allocations: 8.625 kB / 0.8389 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.1792, allocations: 179.2 kB / 0.839 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.1795, allocations: 0.6924 MB / 0.8397 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.1796, allocations: 11.44 kB / 0.8397 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1796, allocations: 0 / 0.8397 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of Templates: time 0.002401/0.182, allocations: 0.8909 MB / 0.8406 GB, free: 1.016 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.096583303064108] Failed to read output from testmodel.py, exit status != 0: 0.18906718702055514 0.20362991699999994 0.028493273000000003 Calling exit ...