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.001346/0.001346, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001497/0.001497, allocations: 213.3 kB / 22.25 MB, free: 5.258 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.801 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.002522/0.002522, allocations: 281.5 kB / 312.7 MB, free: 2.621 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.252/1.252, allocations: 180.6 MB / 0.5369 GB, free: 14.45 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.00279/0.00279, allocations: 106.3 kB / 0.74 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1657, allocations: 95.37 MB / 0.8331 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002825/0.1685, allocations: 1.493 MB / 0.8346 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1696, allocations: 0.5712 MB / 0.8351 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.1697, allocations: 0 / 0.8351 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.1697, allocations: 7.938 kB / 0.8351 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.545e-05/0.1698, allocations: 7.922 kB / 0.8352 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.17, allocations: 67.81 kB / 0.8352 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.35e-05/0.1701, allocations: 27.92 kB / 0.8352 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.262e-05/0.1702, allocations: 4 kB / 0.8353 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1703, allocations: 23.86 kB / 0.8353 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.1704, allocations: 15.92 kB / 0.8353 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1704, allocations: 0 / 0.8353 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1705, allocations: 63.89 kB / 0.8354 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.1705, allocations: 11.92 kB / 0.8354 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.1705, allocations: 15.92 kB / 0.8354 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1707, allocations: 67.73 kB / 0.8354 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1707, allocations: 0 / 0.8354 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1707, allocations: 0 / 0.8354 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.1707, allocations: 0 / 0.8354 GB, free: 5.426 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.000423/0.1711, allocations: 278.1 kB / 0.8357 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1712, allocations: 9.344 kB / 0.8357 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.1713, allocations: 12.89 kB / 0.8357 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1715, allocations: 130.4 kB / 0.8359 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1715, allocations: 384 / 0.8359 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.1715, allocations: 384 / 0.8359 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1717, allocations: 53.94 kB / 0.8359 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1717, allocations: 0 / 0.8359 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1717, allocations: 3.984 kB / 0.8359 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1717, allocations: 0 / 0.8359 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.1718, allocations: 19.98 kB / 0.8359 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.1721, allocations: 192.6 kB / 0.8361 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1722, allocations: 46.42 kB / 0.8362 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.1722, allocations: 20.91 kB / 0.8362 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006113/0.1728, allocations: 83.88 kB / 0.8363 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1729, allocations: 42.5 kB / 0.8363 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1729, allocations: 0 / 0.8363 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002276/0.1731, allocations: 61.67 kB / 0.8364 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.1731, allocations: 51.41 kB / 0.8364 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.737e-05/0.1732, allocations: 113.8 kB / 0.8365 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1733, allocations: 29.64 kB / 0.8365 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.1733, allocations: 88.52 kB / 0.8366 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.1733, allocations: 11.92 kB / 0.8366 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.1734, allocations: 13.72 kB / 0.8366 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1735, allocations: 314.8 kB / 0.837 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.1736, allocations: 15.92 kB / 0.837 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.1736, allocations: 8.125 kB / 0.837 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.1737, allocations: 28.84 kB / 0.837 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1737, allocations: 0 / 0.837 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001372/0.1738, allocations: 65.56 kB / 0.8371 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1738, allocations: 4 kB / 0.8371 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1738, allocations: 0 / 0.8371 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1738, allocations: 0 / 0.8371 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.1739, allocations: 12.03 kB / 0.8371 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1739, allocations: 0 / 0.8371 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.174, allocations: 4 kB / 0.8371 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.174, allocations: 3.984 kB / 0.8371 GB, free: 3.57 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.0001088/0.1741, allocations: 118.4 kB / 0.8372 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.1741, allocations: 0 / 0.8372 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.1743, allocations: 57.3 kB / 0.8373 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1743, allocations: 0 / 0.8373 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1743, allocations: 4 kB / 0.8373 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1743, allocations: 4.031 kB / 0.8373 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.1745, allocations: 109.3 kB / 0.8374 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1745, allocations: 3.938 kB / 0.8374 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.1745, allocations: 4 kB / 0.8374 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1745, allocations: 4 kB / 0.8374 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1745, allocations: 3.938 kB / 0.8374 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1745, allocations: 0 / 0.8374 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1745, allocations: 3.984 kB / 0.8374 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1747, allocations: 151.5 kB / 0.8375 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.1747, allocations: 3.969 kB / 0.8375 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1747, allocations: 4 kB / 0.8375 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.1748, allocations: 11.98 kB / 0.8375 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.1749, allocations: 4 kB / 0.8376 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1749, allocations: 0 / 0.8376 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.439e-05/0.1749, allocations: 87.27 kB / 0.8376 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.1749, allocations: 0 / 0.8376 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002403/0.1752, allocations: 24.17 kB / 0.8377 GB, free: 2.918 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.000227/0.1754, allocations: 111.2 kB / 0.8378 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1756, allocations: 27.92 kB / 0.8378 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1756, allocations: 3.938 kB / 0.8378 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/0.1756, allocations: 8 kB / 0.8378 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.1758, allocations: 11.94 kB / 0.8378 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.1762, allocations: 122.9 kB / 0.8379 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.877e-05/0.1763, allocations: 63.34 kB / 0.838 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.1763, allocations: 7.938 kB / 0.838 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.1763, allocations: 11.56 kB / 0.838 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1763, allocations: 0 / 0.838 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of Templates: time 0.003575/0.1799, allocations: 0.6927 MB / 0.8387 GB, free: 1.812 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: 5.915433280169964] Failed to read output from testmodel.py, exit status != 0: 0.18735082633793354 0.20286092399999994 0.029233531 Calling exit ...