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.001437/0.001437, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001643/0.001643, allocations: 173 kB / 23.49 MB, free: 1.059 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.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.04084/0.04084, allocations: 8.609 MB / 268.9 MB, free: 4.996 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.422e-06/1.422e-06, allocations: 0 / 340.9 MB, free: 8.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.283e-05, allocations: 2.312 kB / 340.9 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.00215/0.002172, allocations: 2.041 MB / 342.9 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.003659, allocations: 1.363 MB / 344.3 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.003789, allocations: 3.938 kB / 344.3 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006241/0.004413, allocations: 291.1 kB / 344.6 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004001/0.004813, allocations: 258.9 kB / 344.8 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.005253, allocations: 251.2 kB / 345.1 MB, free: 4.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.005551, allocations: 367 kB / 345.4 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.005667, allocations: 36.84 kB / 345.5 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.005837, allocations: 195.5 kB / 345.7 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.005965, allocations: 131.6 kB / 345.8 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.005992, allocations: 16 kB / 345.8 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.006166, allocations: 111.9 kB / 345.9 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.301e-05/0.006249, allocations: 83.67 kB / 346 MB, free: 3.586 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.006311, allocations: 63.78 kB / 346.1 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.00661, allocations: 286.9 kB / 346.3 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006614, allocations: 4 kB / 346.3 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006615, allocations: 0 / 346.3 MB, free: 3.238 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.00662, allocations: 0 / 346.3 MB, free: 3.238 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.000616/0.007236, allocations: 0.6895 MB / 347 MB, free: 2.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.007273, allocations: 16.02 kB / 347 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.313e-05/0.007346, allocations: 40.75 kB / 347.1 MB, free: 2.445 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.007631, allocations: 273.3 kB / 347.4 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.007652, allocations: 12.56 kB / 347.4 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.00767, allocations: 8.375 kB / 347.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.007844, allocations: 110.5 kB / 347.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.007852, allocations: 0 / 347.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.007866, allocations: 4 kB / 347.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.007874, allocations: 0 / 347.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.047e-05/0.007944, allocations: 36.91 kB / 347.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.00839, allocations: 443.3 kB / 348 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.00855, allocations: 99.27 kB / 348.1 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.008598, allocations: 39.61 kB / 348.1 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.008611, allocations: 7.938 kB / 348.1 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.008745, allocations: 119.6 kB / 348.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.873e-06/0.008747, allocations: 0 / 348.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003178/0.009065, allocations: 217.3 kB / 348.4 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.009098, allocations: 59.34 kB / 348.5 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.009329, allocations: 378.2 kB / 348.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.009344, allocations: 33.7 kB / 348.9 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.009424, allocations: 211.3 kB / 349.1 MB, free: 300 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.009454, allocations: 43.69 kB / 349.1 MB, free: 256 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.009501, allocations: 51.36 kB / 349.2 MB, free: 196 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.009638, allocations: 0.5157 MB / 349.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.831e-05/0.009686, allocations: 23.98 kB / 349.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.009806, allocations: 196.8 kB / 349.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.009969, allocations: 172.7 kB / 350.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.009972, allocations: 0 / 350.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002172/0.01019, allocations: 189.2 kB / 350.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.01021, allocations: 16.23 kB / 350.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01021, allocations: 0 / 350.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.01023, allocations: 4 kB / 350.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.01033, allocations: 35.92 kB / 350.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.01034, allocations: 3.938 kB / 350.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.856e-05/0.01041, allocations: 23.89 kB / 350.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.01042, allocations: 15.98 kB / 350.4 MB, free: 14.89 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.0001529/0.01058, allocations: 192.1 kB / 350.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.01061, allocations: 39.69 kB / 350.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.01088, allocations: 199.3 kB / 350.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01088, allocations: 0 / 350.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01088, allocations: 0 / 350.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01089, allocations: 0 / 350.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.01107, allocations: 232.5 kB / 351 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01107, allocations: 0 / 351 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.0111, allocations: 11.98 kB / 351 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.01111, allocations: 3.938 kB / 351 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.01112, allocations: 8 kB / 351 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01112, allocations: 0 / 351 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01112, allocations: 3.938 kB / 351 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.01135, allocations: 236.2 kB / 351.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.01139, allocations: 39.67 kB / 351.3 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.01142, allocations: 4 kB / 351.3 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.161e-05/0.01147, allocations: 11.98 kB / 351.3 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.01152, allocations: 11.98 kB / 351.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.01154, allocations: 11.98 kB / 351.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001643/0.0117, allocations: 251 kB / 351.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0117, allocations: 4 kB / 351.6 MB, free: 13.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.01194, allocations: 67.88 kB / 351.7 MB, free: 13.52 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.001012/0.01295, allocations: 430.9 kB / 352.1 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.01316, allocations: 115.5 kB / 352.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01316, allocations: 0 / 352.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.01325, allocations: 73.98 kB / 352.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.01353, allocations: 86.05 kB / 352.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.01407, allocations: 427.6 kB / 352.8 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.532e-05/0.01413, allocations: 104.4 kB / 352.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.974e-05/0.01421, allocations: 42.25 kB / 352.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.01426, allocations: 24.5 kB / 352.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01426, allocations: 0 / 352.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of Templates: time 0.006582/0.02084, allocations: 4.306 MB / 357.2 MB, free: 8.07 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.091646579094231]