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.001551/0.001551, allocations: 110.2 kB / 19.69 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.001554/0.001554, allocations: 215.7 kB / 23.01 MB, free: 4.566 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.002473/0.002473, allocations: 284.1 kB / 313.5 MB, free: 2.832 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.179/1.179, allocations: 180.6 MB / 0.5377 GB, free: 13.12 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.00277/0.00277, allocations: 99.09 kB / 0.7408 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1588, allocations: 95.38 MB / 0.834 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002611/0.1614, allocations: 1.506 MB / 0.8354 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1624, allocations: 0.6258 MB / 0.836 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.1625, allocations: 0 / 0.836 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.1625, allocations: 11.88 kB / 0.8361 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.1625, allocations: 7.922 kB / 0.8361 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1628, allocations: 67.81 kB / 0.8361 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.547e-05/0.1629, allocations: 23.92 kB / 0.8361 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.426e-05/0.163, allocations: 4 kB / 0.8362 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1631, allocations: 23.86 kB / 0.8362 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.506e-05/0.1631, allocations: 15.92 kB / 0.8362 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1632, allocations: 4 kB / 0.8362 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1633, allocations: 55.89 kB / 0.8362 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.1633, allocations: 11.98 kB / 0.8363 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.1633, allocations: 11.94 kB / 0.8363 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1635, allocations: 75.67 kB / 0.8363 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1635, allocations: 0 / 0.8363 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.737e-06/0.1635, allocations: 4 kB / 0.8363 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1635, allocations: 0 / 0.8363 GB, free: 5.691 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.0004087/0.1639, allocations: 274.1 kB / 0.8366 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.164, allocations: 13.34 kB / 0.8366 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1641, allocations: 20.88 kB / 0.8366 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1643, allocations: 122.4 kB / 0.8368 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1643, allocations: 384 / 0.8368 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.1643, allocations: 384 / 0.8368 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1645, allocations: 49.98 kB / 0.8368 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1645, allocations: 0 / 0.8368 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.1645, allocations: 4 kB / 0.8368 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1645, allocations: 0 / 0.8368 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.841e-05/0.1646, allocations: 19.98 kB / 0.8368 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.1649, allocations: 228 kB / 0.837 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.607e-05/0.1649, allocations: 34.52 kB / 0.8371 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.165, allocations: 12.91 kB / 0.8371 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/0.1656, allocations: 91.88 kB / 0.8372 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1656, allocations: 34.56 kB / 0.8372 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1656, allocations: 0 / 0.8372 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002288/0.1659, allocations: 61.67 kB / 0.8373 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.166, allocations: 55.34 kB / 0.8373 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.1661, allocations: 117.9 kB / 0.8374 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1661, allocations: 25.7 kB / 0.8375 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.1661, allocations: 92.5 kB / 0.8375 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.1662, allocations: 3.953 kB / 0.8376 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.1662, allocations: 13.72 kB / 0.8376 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1663, allocations: 314.8 kB / 0.8379 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.1664, allocations: 15.92 kB / 0.8379 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.24e-05/0.1664, allocations: 8 kB / 0.8379 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.1665, allocations: 32.84 kB / 0.8379 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1665, allocations: 0 / 0.8379 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001301/0.1666, allocations: 65.56 kB / 0.838 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1666, allocations: 4 kB / 0.838 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1666, allocations: 4 kB / 0.838 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1666, allocations: 0 / 0.838 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.1667, allocations: 4 kB / 0.838 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1667, allocations: 4.031 kB / 0.838 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.1667, allocations: 3.984 kB / 0.838 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1667, allocations: 4 kB / 0.838 GB, free: 3.809 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 7.558e-05/0.1668, allocations: 110.4 kB / 0.8381 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1668, allocations: 4 kB / 0.8381 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.167, allocations: 61.3 kB / 0.8382 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.167, allocations: 0 / 0.8382 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.167, allocations: 3.938 kB / 0.8382 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.167, allocations: 4.031 kB / 0.8382 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.1672, allocations: 144.6 kB / 0.8383 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1672, allocations: 0 / 0.8383 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.1672, allocations: 4 kB / 0.8383 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1672, allocations: 0 / 0.8383 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1672, allocations: 4 kB / 0.8383 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1672, allocations: 0 / 0.8383 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1672, allocations: 0 / 0.8383 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.1674, allocations: 155.5 kB / 0.8385 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.1674, allocations: 7.938 kB / 0.8385 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.1674, allocations: 4 kB / 0.8385 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.947e-05/0.1675, allocations: 0 / 0.8385 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.1675, allocations: 11.92 kB / 0.8385 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1675, allocations: 4 kB / 0.8385 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.212e-05/0.1676, allocations: 83.22 kB / 0.8386 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1676, allocations: 0 / 0.8386 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002591/0.1678, allocations: 28.23 kB / 0.8386 GB, free: 3.113 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.0001547/0.168, allocations: 111.2 kB / 0.8387 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.1681, allocations: 23.97 kB / 0.8387 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1681, allocations: 3.938 kB / 0.8387 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.1682, allocations: 8 kB / 0.8387 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.1684, allocations: 13.14 kB / 0.8388 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.1687, allocations: 148.7 kB / 0.8389 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.169, allocations: 0.6846 MB / 0.8396 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.169, allocations: 7.438 kB / 0.8396 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.169, allocations: 0 / 0.8396 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of Templates: time 0.002281/0.1713, allocations: 0.8435 MB / 0.8404 GB, free: 1.215 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.92587961582467] Failed to read output from testmodel.py, exit status != 0: 0.17823774693533778 0.193065642 0.026646269 Calling exit ...