Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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.001728/0.001728, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001981/0.001981, allocations: 222.9 kB / 23 MB, free: 4.91 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.84 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.002605/0.002605, allocations: 299.1 kB / 313.5 MB, free: 2.633 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.32/1.32, allocations: 180.6 MB / 0.5377 GB, free: 14.61 MB / 382.1 MB " [Timeout remaining time 178] 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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") [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.003061/0.003061, allocations: 107.1 kB / 0.7407 GB, free: 27.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2617, allocations: 95.38 MB / 0.8338 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.003785/0.2654, allocations: 1.482 MB / 0.8353 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2666, allocations: 452.5 kB / 0.8357 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.2667, allocations: 0 / 0.8357 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.58e-05/0.2668, allocations: 3.938 kB / 0.8357 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.2669, allocations: 11.92 kB / 0.8357 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.2671, allocations: 19.91 kB / 0.8357 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.2672, allocations: 59.78 kB / 0.8358 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.2674, allocations: 8 kB / 0.8358 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.917e-05/0.2675, allocations: 23.92 kB / 0.8358 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.666e-05/0.2676, allocations: 15.92 kB / 0.8358 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.2676, allocations: 4 kB / 0.8359 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.589e-05/0.2676, allocations: 8 kB / 0.8359 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.2677, allocations: 15.97 kB / 0.8359 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.2677, allocations: 15.92 kB / 0.8359 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.2679, allocations: 43.77 kB / 0.8359 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2679, allocations: 0 / 0.8359 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2679, allocations: 0 / 0.8359 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.2679, allocations: 0 / 0.8359 GB, free: 5.684 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006426/0.2685, allocations: 294.2 kB / 0.8362 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2686, allocations: 13.28 kB / 0.8362 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.2686, allocations: 4.938 kB / 0.8362 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.2688, allocations: 118.5 kB / 0.8363 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.2688, allocations: 8.359 kB / 0.8363 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.2688, allocations: 8.375 kB / 0.8364 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.2689, allocations: 54 kB / 0.8364 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.269, allocations: 3.938 kB / 0.8364 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.269, allocations: 0 / 0.8364 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.269, allocations: 7.938 kB / 0.8364 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.233e-05/0.269, allocations: 23.98 kB / 0.8364 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.2696, allocations: 236.5 kB / 0.8367 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.2697, allocations: 58.59 kB / 0.8367 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.2698, allocations: 16.95 kB / 0.8367 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.2698, allocations: 7.984 kB / 0.8367 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.27, allocations: 75.34 kB / 0.8368 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.27, allocations: 0 / 0.8368 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002662/0.2703, allocations: 105.5 kB / 0.8369 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.2703, allocations: 55.41 kB / 0.837 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2704, allocations: 113.7 kB / 0.8371 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.2705, allocations: 29.7 kB / 0.8371 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.2705, allocations: 84.14 kB / 0.8372 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.2706, allocations: 23.8 kB / 0.8372 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.2706, allocations: 33.7 kB / 0.8372 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2708, allocations: 322.8 kB / 0.8376 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-05/0.2708, allocations: 12 kB / 0.8376 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.2709, allocations: 47.42 kB / 0.8376 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.271, allocations: 67.36 kB / 0.8377 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.271, allocations: 0 / 0.8377 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000145/0.2711, allocations: 89.58 kB / 0.8378 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2711, allocations: 8 kB / 0.8378 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2711, allocations: 8.297 kB / 0.8378 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2712, allocations: 0 / 0.8378 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/0.2712, allocations: 11.94 kB / 0.8378 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2712, allocations: 4.375 kB / 0.8378 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.2713, allocations: 11.98 kB / 0.8378 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.2713, allocations: 4 kB / 0.8378 GB, free: 3.566 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001134/0.2714, allocations: 122.4 kB / 0.8379 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.2714, allocations: 11.89 kB / 0.8379 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.2715, allocations: 8.062 kB / 0.8379 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2715, allocations: 4 kB / 0.8379 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2715, allocations: 0 / 0.8379 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2715, allocations: 4 kB / 0.8379 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.2719, allocations: 306 kB / 0.8382 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2719, allocations: 0 / 0.8382 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.2719, allocations: 4 kB / 0.8382 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2719, allocations: 7.938 kB / 0.8383 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.2719, allocations: 0 / 0.8383 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2719, allocations: 0 / 0.8383 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2719, allocations: 0 / 0.8383 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.2721, allocations: 199.4 kB / 0.8384 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.2721, allocations: 4 kB / 0.8384 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.2722, allocations: 3.984 kB / 0.8385 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.2722, allocations: 4 kB / 0.8385 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.2723, allocations: 11.98 kB / 0.8385 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.2723, allocations: 7.938 kB / 0.8385 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.2724, allocations: 83.27 kB / 0.8386 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2724, allocations: 0 / 0.8386 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002302/0.2726, allocations: 19.95 kB / 0.8386 GB, free: 2.711 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001053/0.2727, allocations: 97.64 kB / 0.8387 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.2728, allocations: 55.86 kB / 0.8387 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2728, allocations: 0 / 0.8387 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.956e-05/0.2729, allocations: 28.11 kB / 0.8387 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.2732, allocations: 16.91 kB / 0.8388 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.2736, allocations: 187.1 kB / 0.8389 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.247e-05/0.2737, allocations: 74.78 kB / 0.839 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.2737, allocations: 15.5 kB / 0.839 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2737, allocations: 0 / 0.839 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of Templates: time 0.002529/0.2763, allocations: 0.8883 MB / 0.8399 GB, free: 1.316 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.174447428900748] Failed to read output from testmodel.py, exit status != 0: 0.2845249315723777 0.29934954199999997 0.028376963 Calling exit ...