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.0008578/0.0008578, 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.0009221/0.0009221, 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.8985/0.8985, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.04149/0.04149, allocations: 8.622 MB / 268.9 MB, free: 4.77 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.322e-06/1.322e-06, allocations: 0 / 288.1 MB, free: 1.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.544e-05, allocations: 2.312 kB / 288.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.1028/0.1028, allocations: 2.027 MB / 290.1 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1044, allocations: 1.381 MB / 291.5 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1045, allocations: 5.75 kB / 291.5 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.1051, allocations: 281.5 kB / 291.7 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.1055, allocations: 261.8 kB / 292 MB, free: 18.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.1059, allocations: 258.5 kB / 292.3 MB, free: 18.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000309/0.1062, allocations: 361.3 kB / 292.6 MB, free: 18.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.1063, allocations: 35.88 kB / 292.6 MB, free: 18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.1065, allocations: 193.9 kB / 292.8 MB, free: 17.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.1067, allocations: 130.7 kB / 293 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.1067, allocations: 19.56 kB / 293 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1069, allocations: 114.2 kB / 293.1 MB, free: 17.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.1069, allocations: 83.17 kB / 293.2 MB, free: 17.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.107, allocations: 67.86 kB / 293.2 MB, free: 17.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.1073, allocations: 281.4 kB / 293.5 MB, free: 17.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1073, allocations: 1 kB / 293.5 MB, free: 17.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1073, allocations: 0 / 293.5 MB, free: 17.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1073, allocations: 0 / 293.5 MB, free: 17.84 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.0005307/0.1078, allocations: 0.5598 MB / 294.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.66e-05/0.1079, allocations: 9.062 kB / 294.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.1079, allocations: 27.69 kB / 294.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1081, allocations: 247.1 kB / 294.4 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1082, allocations: 14.75 kB / 294.4 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.1082, allocations: 16.06 kB / 294.4 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.1083, allocations: 101.3 kB / 294.5 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.1083, allocations: 1.438 kB / 294.5 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1083, allocations: 2.25 kB / 294.5 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1083, allocations: 1.562 kB / 294.5 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.764e-05/0.1084, allocations: 24.33 kB / 294.5 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.1087, allocations: 259.8 kB / 294.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.1088, allocations: 123 kB / 294.9 MB, free: 16.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.1089, allocations: 29.42 kB / 294.9 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.1089, allocations: 2.562 kB / 294.9 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.109, allocations: 112.9 kB / 295 MB, free: 16.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.109, allocations: 2.562 kB / 295 MB, free: 16.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001778/0.1092, allocations: 117.4 kB / 295.1 MB, free: 16.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.1092, allocations: 55.97 kB / 295.2 MB, free: 16.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1094, allocations: 303.3 kB / 295.5 MB, free: 16.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1094, allocations: 33.64 kB / 295.5 MB, free: 16.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.1094, allocations: 136.1 kB / 295.7 MB, free: 16.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.1095, allocations: 49.02 kB / 295.7 MB, free: 16.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.1095, allocations: 42 kB / 295.7 MB, free: 16.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.145e-05/0.1096, allocations: 349.4 kB / 296.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/0.1096, allocations: 18.2 kB / 296.1 MB, free: 15.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.515e-05/0.1096, allocations: 150.4 kB / 296.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.1097, allocations: 141.3 kB / 296.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1097, allocations: 5.062 kB / 296.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000148/0.1099, allocations: 148.1 kB / 296.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1099, allocations: 10.16 kB / 296.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1099, allocations: 2.25 kB / 296.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1099, allocations: 4.125 kB / 296.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/0.11, allocations: 32.98 kB / 296.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.11, allocations: 5.75 kB / 296.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.1101, allocations: 21.89 kB / 296.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1101, allocations: 12.09 kB / 296.6 MB, free: 15.59 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 9.164e-05/0.1102, allocations: 140.3 kB / 296.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.1102, allocations: 28.44 kB / 296.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.1103, allocations: 131.8 kB / 296.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1104, allocations: 2.078 kB / 296.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1104, allocations: 1.5 kB / 296.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1104, allocations: 0.6094 kB / 296.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1105, allocations: 145.1 kB / 297.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1105, allocations: 0.5625 kB / 297.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.1105, allocations: 11.3 kB / 297.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1105, allocations: 1.375 kB / 297.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.609e-06/0.1105, allocations: 7.891 kB / 297.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1105, allocations: 5.859 kB / 297.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1105, allocations: 1.156 kB / 297.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.1106, allocations: 145.9 kB / 297.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.1107, allocations: 28.89 kB / 297.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1107, allocations: 8.047 kB / 297.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.207e-05/0.1107, allocations: 10.89 kB / 297.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.1108, allocations: 16.83 kB / 297.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1108, allocations: 6.047 kB / 297.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1109, allocations: 126.1 kB / 297.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1109, allocations: 0 / 297.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001963/0.1111, allocations: 62.45 kB / 297.5 MB, free: 15.12 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.0009994/0.1121, allocations: 0.5359 MB / 298 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.1122, allocations: 97.09 kB / 298.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.1122, allocations: 6.219 kB / 298.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.263e-05/0.1123, allocations: 47.64 kB / 298.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.1125, allocations: 84.95 kB / 298.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.1129, allocations: 432.2 kB / 298.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.483e-05/0.113, allocations: 95.23 kB / 298.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.853e-05/0.113, allocations: 41.64 kB / 298.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.1131, allocations: 99.55 kB / 298.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1131, allocations: 0 / 298.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of Templates: time 0.006213/0.1194, allocations: 4.689 MB / 303.6 MB, free: 12.74 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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6244936059229076]