Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.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.0009075/0.0009075, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001269/0.001269, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9796/0.9796, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.05688/0.05688, allocations: 8.622 MB / 268.9 MB, free: 4.781 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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(IndustrialControlSystems.Logical.Timers.Examples.testT_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 288.1 MB, free: 1.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.691e-05, allocations: 6.312 kB / 288.1 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.1121/0.1122, allocations: 2.068 MB / 290.2 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1139, allocations: 1.378 MB / 291.6 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.1141, allocations: 2.438 kB / 291.6 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007261/0.1148, allocations: 289.6 kB / 291.8 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004636/0.1153, allocations: 250.6 kB / 292.1 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.1158, allocations: 255.6 kB / 292.3 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.1163, allocations: 364.2 kB / 292.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1164, allocations: 31.83 kB / 292.7 MB, free: 18.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.1166, allocations: 192.5 kB / 292.9 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.1168, allocations: 132.5 kB / 293 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.1169, allocations: 18.34 kB / 293.1 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.1171, allocations: 118.7 kB / 293.2 MB, free: 18.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.69e-05/0.1172, allocations: 81.77 kB / 293.3 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.1173, allocations: 71.91 kB / 293.3 MB, free: 18.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.1177, allocations: 280.7 kB / 293.6 MB, free: 18.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1177, allocations: 0.8125 kB / 293.6 MB, free: 18.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1177, allocations: 0 / 293.6 MB, free: 18.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1177, allocations: 2.469 kB / 293.6 MB, free: 18.01 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006028/0.1183, allocations: 0.561 MB / 294.2 MB, free: 17.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1183, allocations: 10.28 kB / 294.2 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.1184, allocations: 24.48 kB / 294.2 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1187, allocations: 244.8 kB / 294.4 MB, free: 17.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1187, allocations: 10.33 kB / 294.4 MB, free: 17.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.1187, allocations: 12.91 kB / 294.5 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1188, allocations: 97.8 kB / 294.6 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1189, allocations: 2.094 kB / 294.6 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1189, allocations: 2.391 kB / 294.6 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1189, allocations: 2.375 kB / 294.6 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.1189, allocations: 27.39 kB / 294.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.1193, allocations: 263.4 kB / 294.8 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1194, allocations: 121.9 kB / 295 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.1195, allocations: 27.77 kB / 295 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.1195, allocations: 3.25 kB / 295 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.1196, allocations: 111.1 kB / 295.1 MB, free: 16.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.984e-06/0.1196, allocations: 0 / 295.1 MB, free: 16.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001965/0.1198, allocations: 122.8 kB / 295.2 MB, free: 16.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.1198, allocations: 55.48 kB / 295.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.1201, allocations: 302.4 kB / 295.6 MB, free: 16.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1201, allocations: 33.94 kB / 295.6 MB, free: 16.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.1201, allocations: 133.6 kB / 295.7 MB, free: 16.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1201, allocations: 43.23 kB / 295.8 MB, free: 16.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.1202, allocations: 46.31 kB / 295.8 MB, free: 16.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.909e-05/0.1202, allocations: 346.7 kB / 296.2 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.1203, allocations: 17.31 kB / 296.2 MB, free: 16.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.676e-05/0.1203, allocations: 163.3 kB / 296.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1205, allocations: 140.1 kB / 296.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1205, allocations: 1.188 kB / 296.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001837/0.1206, allocations: 152 kB / 296.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1207, allocations: 9.969 kB / 296.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1207, allocations: 4.125 kB / 296.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1207, allocations: 3.625 kB / 296.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.763e-05/0.1208, allocations: 35.83 kB / 296.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1208, allocations: 4.516 kB / 296.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.1209, allocations: 22.52 kB / 296.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1209, allocations: 10.17 kB / 296.7 MB, free: 15.74 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: timer.Q:DISCRETE(flow=false fixed = true ) \"status of the timer\" type: Boolean timer.run:DISCRETE(fixed = true ) \"Flag: true while the timer is counting\" type: Boolean timer.tr:DISCRETE(flow=false fixed = true ) \"residual time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 22 ($PRE.timer.Sd,timer.startTime,$PRE.timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.run,timer.run,$PRE.timer.tr,timer.tr,$PRE.ResetSignal.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.SetSignal.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,ResetSignal.combiTimeTable.nextTimeEventScaled,$PRE.ResetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.y,SetSignal.combiTimeTable.nextTimeEventScaled,$PRE.SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEvent,timer.Sd) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001216/0.121, allocations: 139.8 kB / 296.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.121, allocations: 29.72 kB / 296.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.1212, allocations: 124.5 kB / 297 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1212, allocations: 3.766 kB / 297 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.1212, allocations: 0.5 kB / 297 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1212, allocations: 3.562 kB / 297 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.1214, allocations: 146 kB / 297.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1214, allocations: 0.6562 kB / 297.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.1214, allocations: 15.73 kB / 297.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1214, allocations: 3.078 kB / 297.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1214, allocations: 6.281 kB / 297.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1214, allocations: 5.797 kB / 297.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1214, allocations: 1.438 kB / 297.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.1215, allocations: 138.2 kB / 297.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.1216, allocations: 29.67 kB / 297.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1216, allocations: 7.75 kB / 297.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.806e-05/0.1217, allocations: 11.28 kB / 297.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.1217, allocations: 15.16 kB / 297.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1217, allocations: 6.641 kB / 297.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.1218, allocations: 134.7 kB / 297.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1218, allocations: 0 / 297.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00025/0.1221, allocations: 62.45 kB / 297.6 MB, free: 15.27 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.startTime,SetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001225/0.1233, allocations: 0.538 MB / 298.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.1235, allocations: 95.81 kB / 298.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.1235, allocations: 7.719 kB / 298.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.016e-05/0.1236, allocations: 48.8 kB / 298.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.1238, allocations: 83.23 kB / 298.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.1243, allocations: 431.1 kB / 298.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.691e-05/0.1244, allocations: 96.34 kB / 298.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.89e-05/0.1245, allocations: 38.55 kB / 298.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.1246, allocations: 103.5 kB / 299 MB, free: 14.64 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1246, allocations: 0 / 299 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Templates: time 0.007846/0.1325, allocations: 4.685 MB / 303.7 MB, free: 12.88 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.820943276863545]