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.0009283/0.0009283, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.0009912/0.0009912, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.062/1.062, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.03746/0.03746, allocations: 8.615 MB / 268.9 MB, free: 4.758 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.974e-06/1.974e-06, allocations: 0 / 341.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.483e-05, allocations: 4.703 kB / 341.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.002283/0.002308, allocations: 2.026 MB / 343.4 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.003713, allocations: 1.352 MB / 344.7 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.003837, allocations: 7.938 kB / 344.7 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005935/0.00443, allocations: 291.1 kB / 345 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.004782, allocations: 250.9 kB / 345.2 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.005198, allocations: 267.2 kB / 345.5 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.005473, allocations: 359 kB / 345.9 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.005574, allocations: 36.84 kB / 345.9 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.00574, allocations: 191.5 kB / 346.1 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.005856, allocations: 127.7 kB / 346.2 MB, free: 3.207 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.005881, allocations: 20 kB / 346.2 MB, free: 3.188 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.006087, allocations: 115.8 kB / 346.3 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.006191, allocations: 83.69 kB / 346.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.749e-05/0.006269, allocations: 71.77 kB / 346.5 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.006543, allocations: 275 kB / 346.8 MB, free: 2.652 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.006547, allocations: 8 kB / 346.8 MB, free: 2.645 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006548, allocations: 0 / 346.8 MB, free: 2.645 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.006551, allocations: 0 / 346.8 MB, free: 2.645 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.0004976/0.007049, allocations: 0.6894 MB / 347.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.00708, allocations: 12.03 kB / 347.5 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.007134, allocations: 36.75 kB / 347.5 MB, free: 1.859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.007343, allocations: 273.2 kB / 347.8 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.007358, allocations: 12.56 kB / 347.8 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.007371, allocations: 12.38 kB / 347.8 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.007501, allocations: 96.17 kB / 347.9 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.007507, allocations: 4 kB / 347.9 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.007517, allocations: 0 / 347.9 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.007521, allocations: 0 / 347.9 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.507e-05/0.007566, allocations: 35.95 kB / 347.9 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.007897, allocations: 391.9 kB / 348.3 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.008024, allocations: 99.12 kB / 348.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.008059, allocations: 35.64 kB / 348.4 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.008074, allocations: 4 kB / 348.4 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.0082, allocations: 111.4 kB / 348.5 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.008201, allocations: 0 / 348.5 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002398/0.008441, allocations: 207.5 kB / 348.8 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.008461, allocations: 63.33 kB / 348.8 MB, free: 444 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.008624, allocations: 362.1 kB / 349.2 MB, free: 68 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.008637, allocations: 29.7 kB / 349.2 MB, free: 32 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.008756, allocations: 223.2 kB / 349.4 MB, free: 15.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.008791, allocations: 39.67 kB / 349.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.008848, allocations: 55.33 kB / 349.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.008988, allocations: 0.5195 MB / 350 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.264e-05/0.009021, allocations: 15.98 kB / 350 MB, free: 15.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.00912, allocations: 189.5 kB / 350.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.009256, allocations: 160.7 kB / 350.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009258, allocations: 0 / 350.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001931/0.009451, allocations: 185.4 kB / 350.6 MB, free: 14.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.009463, allocations: 12.03 kB / 350.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.009467, allocations: 0 / 350.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.00948, allocations: 4 kB / 350.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.517e-05/0.009565, allocations: 35.91 kB / 350.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.009568, allocations: 4 kB / 350.6 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.511e-05/0.009633, allocations: 23.89 kB / 350.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.009642, allocations: 4 kB / 350.6 MB, free: 14.45 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.0001383/0.00978, allocations: 203.8 kB / 350.8 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.009815, allocations: 35.75 kB / 350.9 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.01004, allocations: 184.7 kB / 351.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01004, allocations: 0 / 351.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01004, allocations: 0 / 351.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01004, allocations: 4 kB / 351.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.0102, allocations: 185.1 kB / 351.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01021, allocations: 0 / 351.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.01023, allocations: 11.94 kB / 351.3 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01024, allocations: 4 kB / 351.3 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01025, allocations: 7.984 kB / 351.3 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01025, allocations: 4.062 kB / 351.3 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01025, allocations: 4 kB / 351.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.01044, allocations: 226.9 kB / 351.5 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.01047, allocations: 31.69 kB / 351.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.0105, allocations: 11.98 kB / 351.5 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.457e-05/0.01054, allocations: 11.94 kB / 351.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.01058, allocations: 19.91 kB / 351.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.01059, allocations: 8 kB / 351.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.01072, allocations: 246.9 kB / 351.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01072, allocations: 0 / 351.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.01096, allocations: 59.89 kB / 351.9 MB, free: 13.14 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.0009161/0.01187, allocations: 434 kB / 352.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.01203, allocations: 95.52 kB / 352.4 MB, free: 12.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01203, allocations: 0 / 352.4 MB, free: 12.76 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.01209, allocations: 61.67 kB / 352.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.01235, allocations: 78.77 kB / 352.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.01286, allocations: 427.6 kB / 353 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.702e-05/0.01291, allocations: 100.4 kB / 353 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.535e-05/0.01299, allocations: 34.52 kB / 353.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.01311, allocations: 126.2 kB / 353.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01311, allocations: 0 / 353.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of Templates: time 0.006529/0.01963, allocations: 4.73 MB / 357.9 MB, free: 7.246 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.0314294123090804]