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.001204/0.001204, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001063/0.001063, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.04998/0.04998, allocations: 8.613 MB / 268.6 MB, free: 4.906 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.293e-06/1.293e-06, allocations: 0 / 340.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.511e-05, allocations: 7.938 kB / 340.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.0022/0.002226, allocations: 2.045 MB / 342.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.003696, allocations: 1.374 MB / 344.3 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.003804, allocations: 7.938 kB / 344.3 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005835/0.004388, allocations: 283.1 kB / 344.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.004757, allocations: 258.9 kB / 344.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.005191, allocations: 255.2 kB / 345.1 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.005477, allocations: 367 kB / 345.4 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.005585, allocations: 40.83 kB / 345.5 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.005753, allocations: 191.5 kB / 345.7 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.005876, allocations: 131.6 kB / 345.8 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.005902, allocations: 16 kB / 345.8 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.006066, allocations: 111.8 kB / 345.9 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.451e-05/0.00614, allocations: 79.69 kB / 346 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.548e-05/0.006226, allocations: 71.77 kB / 346.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.006546, allocations: 282.9 kB / 346.3 MB, free: 2.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.006549, allocations: 0 / 346.3 MB, free: 2.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006549, allocations: 4 kB / 346.3 MB, free: 2.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.006554, allocations: 0 / 346.3 MB, free: 2.906 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.0005922/0.007147, allocations: 0.6895 MB / 347 MB, free: 2.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.007184, allocations: 12.03 kB / 347 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.007256, allocations: 40.73 kB / 347.1 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.00751, allocations: 277.3 kB / 347.4 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.007528, allocations: 4.562 kB / 347.4 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.007546, allocations: 16.36 kB / 347.4 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.007709, allocations: 108.1 kB / 347.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.007717, allocations: 4 kB / 347.5 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.00773, allocations: 4 kB / 347.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.007738, allocations: 0 / 347.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.007804, allocations: 35.97 kB / 347.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.008254, allocations: 443.3 kB / 348 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.008424, allocations: 107.2 kB / 348.1 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.008472, allocations: 35.61 kB / 348.1 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.008485, allocations: 11.94 kB / 348.1 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.00862, allocations: 112.9 kB / 348.2 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.008622, allocations: 0 / 348.2 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003494/0.008971, allocations: 218 kB / 348.4 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.009006, allocations: 59.34 kB / 348.5 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.009226, allocations: 378.2 kB / 348.9 MB, free: 212 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.009241, allocations: 33.69 kB / 348.9 MB, free: 172 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.009337, allocations: 207.4 kB / 349.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.009375, allocations: 47.59 kB / 349.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.009429, allocations: 51.36 kB / 349.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.009566, allocations: 0.5196 MB / 349.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.009613, allocations: 23.98 kB / 349.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.009736, allocations: 187.6 kB / 349.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.009916, allocations: 172.7 kB / 350.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.009919, allocations: 0 / 350.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002297/0.01015, allocations: 189.2 kB / 350.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.01017, allocations: 10.5 kB / 350.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01017, allocations: 4.25 kB / 350.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.01019, allocations: 4 kB / 350.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.0103, allocations: 31.92 kB / 350.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.01031, allocations: 11.92 kB / 350.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.032e-05/0.01038, allocations: 19.89 kB / 350.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.01039, allocations: 12 kB / 350.4 MB, free: 14.56 MB / 282.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.0001596/0.01055, allocations: 199.9 kB / 350.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.01059, allocations: 43.75 kB / 350.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.01087, allocations: 188.7 kB / 350.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01088, allocations: 4 kB / 350.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01088, allocations: 0 / 350.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01088, allocations: 0 / 350.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.01109, allocations: 228.5 kB / 351 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01109, allocations: 0 / 351 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.01112, allocations: 12 kB / 351 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01113, allocations: 3.938 kB / 351 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.01114, allocations: 7.984 kB / 351 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01114, allocations: 4 kB / 351 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01114, allocations: 3.938 kB / 351 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.01138, allocations: 236.2 kB / 351.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.01141, allocations: 35.69 kB / 351.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.01144, allocations: 7.922 kB / 351.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.223e-05/0.01149, allocations: 12 kB / 351.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.01154, allocations: 15.97 kB / 351.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.01156, allocations: 8 kB / 351.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.01173, allocations: 255 kB / 351.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.01173, allocations: 0 / 351.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.01197, allocations: 67.89 kB / 351.7 MB, free: 13.18 MB / 282.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.0009177/0.01289, allocations: 432.4 kB / 352.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.01311, allocations: 107.5 kB / 352.2 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01311, allocations: 4 kB / 352.2 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.01319, allocations: 70.08 kB / 352.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.01349, allocations: 79.95 kB / 352.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.01406, allocations: 431.1 kB / 352.8 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.743e-05/0.01412, allocations: 100.9 kB / 352.9 MB, free: 12.06 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.301e-05/0.01419, allocations: 38.27 kB / 352.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.01425, allocations: 32.48 kB / 352.9 MB, free: 11.99 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01425, allocations: 0 / 352.9 MB, free: 11.99 MB / 282.7 MB Notification: Performance of Templates: time 0.007124/0.02137, allocations: 4.618 MB / 357.6 MB, free: 7.438 MB / 282.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: 3.151350835803896]