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.001934/0.001934, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002459/0.002459, allocations: 158.4 kB / 22.45 MB, free: 5.375 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: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.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.002482/0.002482, allocations: 237 kB / 259.4 MB, free: 476 kB / 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.076/1.076, allocations: 138.4 MB / 454.3 MB, free: 2 MB / 366.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: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.312e-05, allocations: 5.938 kB / 0.6468 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002492/0.002515, allocations: 1.484 MB / 0.6483 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.003566, allocations: 0.589 MB / 0.6488 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.003613, allocations: 0 / 0.6488 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.00364, allocations: 3.938 kB / 0.6488 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.003681, allocations: 3.938 kB / 0.6488 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.003962, allocations: 63.75 kB / 0.6489 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.026e-05/0.004052, allocations: 27.86 kB / 0.6489 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.638e-05/0.004129, allocations: 15.97 kB / 0.6489 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.004256, allocations: 23.92 kB / 0.649 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/0.004301, allocations: 11.94 kB / 0.649 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.004314, allocations: 0 / 0.649 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.004441, allocations: 51.94 kB / 0.649 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.004457, allocations: 11.98 kB / 0.649 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.004473, allocations: 0 / 0.649 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.004635, allocations: 87.7 kB / 0.6491 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004637, allocations: 0 / 0.6491 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004638, allocations: 0 / 0.6491 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.004644, allocations: 8 kB / 0.6491 GB, free: 2.617 MB / 0.5606 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.0003951/0.005039, allocations: 270.2 kB / 0.6494 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.005073, allocations: 13.34 kB / 0.6494 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.005222, allocations: 16.88 kB / 0.6494 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.005396, allocations: 113.7 kB / 0.6495 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.005409, allocations: 4.375 kB / 0.6495 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.00542, allocations: 384 / 0.6495 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.00555, allocations: 50.17 kB / 0.6496 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.005558, allocations: 192 / 0.6496 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.005566, allocations: 8.375 kB / 0.6496 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005572, allocations: 7.875 kB / 0.6496 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.695e-05/0.005659, allocations: 23.92 kB / 0.6496 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.005935, allocations: 192.6 kB / 0.6498 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.575e-05/0.006031, allocations: 30.58 kB / 0.6498 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.006088, allocations: 12.91 kB / 0.6498 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/0.006737, allocations: 99.81 kB / 0.6499 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.006769, allocations: 38.48 kB / 0.65 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.00677, allocations: 0 / 0.65 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002434/0.007014, allocations: 61.69 kB / 0.65 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.007061, allocations: 51.41 kB / 0.6501 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.007155, allocations: 109.8 kB / 0.6502 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.007172, allocations: 29.83 kB / 0.6502 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.007233, allocations: 92.08 kB / 0.6503 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.007246, allocations: 0 / 0.6503 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.007285, allocations: 17.72 kB / 0.6503 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.007428, allocations: 314.8 kB / 0.6506 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/0.007473, allocations: 15.94 kB / 0.6506 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-05/0.00751, allocations: 7.984 kB / 0.6506 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.167e-05/0.007592, allocations: 24.86 kB / 0.6507 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007593, allocations: 64 / 0.6507 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001367/0.00773, allocations: 61.62 kB / 0.6507 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.007746, allocations: 7.938 kB / 0.6507 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.007749, allocations: 0 / 0.6507 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.00776, allocations: 0 / 0.6507 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.007823, allocations: 4 kB / 0.6507 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.007828, allocations: 4 kB / 0.6507 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.007864, allocations: 11.92 kB / 0.6507 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.007868, allocations: 0 / 0.6507 GB, free: 0.7852 MB / 0.5606 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.92e-05/0.007948, allocations: 113.9 kB / 0.6509 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.007977, allocations: 7.891 kB / 0.6509 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.008156, allocations: 65.3 kB / 0.6509 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-06/0.008157, allocations: 0 / 0.6509 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.00816, allocations: 384 / 0.6509 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.008163, allocations: 0 / 0.6509 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.008302, allocations: 109.3 kB / 0.651 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.008303, allocations: 0 / 0.651 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.008345, allocations: 11.88 kB / 0.651 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.008351, allocations: 7.984 kB / 0.6511 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.008359, allocations: 7.969 kB / 0.6511 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.00836, allocations: 0 / 0.6511 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008361, allocations: 0 / 0.6511 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.008547, allocations: 151.5 kB / 0.6512 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.008558, allocations: 7.938 kB / 0.6512 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.008577, allocations: 11.92 kB / 0.6512 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.079e-05/0.008638, allocations: 0 / 0.6512 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.008665, allocations: 0 / 0.6512 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.008672, allocations: 4 kB / 0.6512 GB, free: 236 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.457e-05/0.008726, allocations: 87.3 kB / 0.6513 GB, free: 148 kB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.008726, allocations: 4 kB / 0.6513 GB, free: 144 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002611/0.008987, allocations: 15.94 kB / 0.6513 GB, free: 128 kB / 0.5606 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.0001642/0.009151, allocations: 115.2 kB / 0.6514 GB, free: 4 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2303/0.2394, allocations: 22.12 kB / 0.6515 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2395, allocations: 0 / 0.6515 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.2395, allocations: 16.73 kB / 0.6515 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.2397, allocations: 2.031 kB / 0.6515 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.24, allocations: 125.6 kB / 0.6516 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.569e-05/0.2401, allocations: 63.81 kB / 0.6517 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.2401, allocations: 4.25 kB / 0.6517 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.2401, allocations: 9.641 kB / 0.6517 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.2401, allocations: 5.625 kB / 0.6517 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.002925/0.243, allocations: 0.6853 MB / 0.6523 GB, free: 56.58 MB / 0.5606 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.691728327423334] Failed to read output from testmodel.py, exit status != 0: 0.2505059577524662 0.259166925 0.25242151300000004 Calling exit ...