Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.001511/0.001511, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001642/0.001642, allocations: 209.8 kB / 22.99 MB, free: 4.945 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.392/1.392, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002475/0.002475, allocations: 296.9 kB / 313.5 MB, free: 2.586 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.19/1.19, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") [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.002895/0.002895, allocations: 112 kB / 0.7407 GB, free: 27.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1688, allocations: 95.38 MB / 0.8339 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002947/0.1717, allocations: 1.489 MB / 0.8353 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1728, allocations: 0.5673 MB / 0.8359 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.1729, allocations: 0 / 0.8359 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.1729, allocations: 7.922 kB / 0.8359 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.652e-05/0.173, allocations: 7.938 kB / 0.8359 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.1733, allocations: 63.81 kB / 0.836 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.1734, allocations: 27.92 kB / 0.836 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.1735, allocations: 4 kB / 0.836 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1736, allocations: 23.86 kB / 0.836 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.553e-05/0.1737, allocations: 15.92 kB / 0.836 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1737, allocations: 8 kB / 0.836 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.1738, allocations: 59.89 kB / 0.8361 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.1738, allocations: 0 / 0.8361 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.1738, allocations: 15.92 kB / 0.8361 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.174, allocations: 79.64 kB / 0.8362 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.174, allocations: 0 / 0.8362 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/0.174, allocations: 0 / 0.8362 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.174, allocations: 0 / 0.8362 GB, free: 5.438 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005087/0.1745, allocations: 278.1 kB / 0.8364 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.1746, allocations: 13.34 kB / 0.8365 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.1748, allocations: 20.88 kB / 0.8365 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.175, allocations: 118.4 kB / 0.8366 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.175, allocations: 384 / 0.8366 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.175, allocations: 384 / 0.8366 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1752, allocations: 53.92 kB / 0.8366 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1752, allocations: 0 / 0.8366 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1752, allocations: 4 kB / 0.8366 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1752, allocations: 0 / 0.8366 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.959e-05/0.1753, allocations: 23.97 kB / 0.8367 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.1756, allocations: 196.6 kB / 0.8369 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1757, allocations: 34.52 kB / 0.8369 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.1758, allocations: 20.84 kB / 0.8369 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005843/0.1764, allocations: 87.88 kB / 0.837 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1764, allocations: 42.56 kB / 0.837 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1764, allocations: 0 / 0.837 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002536/0.1766, allocations: 61.67 kB / 0.8371 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1767, allocations: 51.41 kB / 0.8371 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.858e-05/0.1768, allocations: 113.8 kB / 0.8372 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1768, allocations: 25.7 kB / 0.8373 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.1769, allocations: 84.5 kB / 0.8374 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.1769, allocations: 11.89 kB / 0.8374 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.1769, allocations: 13.72 kB / 0.8374 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1771, allocations: 319 kB / 0.8377 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.211e-05/0.1771, allocations: 15.92 kB / 0.8377 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.1771, allocations: 7.938 kB / 0.8377 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.134e-05/0.1772, allocations: 32.84 kB / 0.8377 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1772, allocations: 0 / 0.8377 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000128/0.1774, allocations: 61.56 kB / 0.8378 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1774, allocations: 6.344 kB / 0.8378 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1774, allocations: 96 / 0.8378 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1774, allocations: 4 kB / 0.8378 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.1775, allocations: 7.938 kB / 0.8378 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1775, allocations: 4 kB / 0.8378 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.1775, allocations: 3.984 kB / 0.8378 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.1775, allocations: 0 / 0.8378 GB, free: 3.586 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 (2): * Single equations (assignments): 2 * 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 0.0001033/0.1776, allocations: 114.4 kB / 0.8379 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1776, allocations: 4 kB / 0.8379 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.1778, allocations: 61.3 kB / 0.838 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.1778, allocations: 4.031 kB / 0.838 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1778, allocations: 0 / 0.838 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1778, allocations: 0 / 0.838 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.178, allocations: 109.3 kB / 0.8381 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.178, allocations: 7.938 kB / 0.8381 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.178, allocations: 4 kB / 0.8381 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.178, allocations: 0 / 0.8381 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.178, allocations: 3.984 kB / 0.8381 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.178, allocations: 3.938 kB / 0.8381 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.178, allocations: 0 / 0.8381 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.1782, allocations: 151.5 kB / 0.8383 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.1782, allocations: 3.938 kB / 0.8383 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1782, allocations: 4 kB / 0.8383 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.044e-05/0.1783, allocations: 3.984 kB / 0.8383 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.1783, allocations: 0 / 0.8383 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.1783, allocations: 8 kB / 0.8383 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.072e-05/0.1784, allocations: 83.27 kB / 0.8384 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1784, allocations: 0 / 0.8384 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002403/0.1786, allocations: 24.17 kB / 0.8384 GB, free: 2.941 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 (2): * Single equations (assignments): 2 * 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.0001902/0.1788, allocations: 123.1 kB / 0.8385 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.179, allocations: 23.92 kB / 0.8385 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.179, allocations: 7.938 kB / 0.8385 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.179e-05/0.179, allocations: 7.984 kB / 0.8385 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.1792, allocations: 14.52 kB / 0.8386 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.1795, allocations: 148.7 kB / 0.8387 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.617e-05/0.1796, allocations: 59.47 kB / 0.8388 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.1796, allocations: 15.44 kB / 0.8388 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.1796, allocations: 0 / 0.8388 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of Templates: time 0.002332/0.1819, allocations: 0.8589 MB / 0.8396 GB, free: 1.633 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.920223736204207] Failed to read output from testmodel.py, exit status != 0: 0.18918928317725658 0.20354080700000002 0.026662048 Calling exit ...