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.001957/0.001957, allocations: 93.47 kB / 19.44 MB, free: 340 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.002044/0.002044, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.715/1.715, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.07268/0.07268, allocations: 8.609 MB / 268.2 MB, free: 4.934 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.392e-06/1.392e-06, allocations: 0 / 340.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.202e-05, allocations: 2.312 kB / 340.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.002519/0.002541, allocations: 2.025 MB / 342.2 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.004428, allocations: 1.364 MB / 343.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.004535, allocations: 0 / 343.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006913/0.005227, allocations: 287 kB / 343.8 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.005667, allocations: 255 kB / 344.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.006106, allocations: 255.2 kB / 344.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.006369, allocations: 359 kB / 344.7 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.00648, allocations: 36.89 kB / 344.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.006665, allocations: 199.5 kB / 344.9 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.006805, allocations: 135.6 kB / 345 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.006841, allocations: 20 kB / 345 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.007023, allocations: 107.8 kB / 345.1 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.626e-05/0.007119, allocations: 87.67 kB / 345.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.007195, allocations: 67.78 kB / 345.3 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.007544, allocations: 378.7 kB / 345.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.007546, allocations: 0 / 345.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.007547, allocations: 0 / 345.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.007552, allocations: 0 / 345.7 MB, free: 3.176 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.0007193/0.008271, allocations: 0.7126 MB / 346.4 MB, free: 2.414 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.0083, allocations: 12.03 kB / 346.4 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.806e-05/0.008388, allocations: 36.75 kB / 346.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.008723, allocations: 276.5 kB / 346.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.008742, allocations: 8.562 kB / 346.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.008763, allocations: 12.36 kB / 346.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.008974, allocations: 120 kB / 346.8 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.008984, allocations: 0 / 346.8 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.008999, allocations: 3.984 kB / 346.8 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.009004, allocations: 4 kB / 346.8 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.009144, allocations: 63.91 kB / 346.9 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.009702, allocations: 495.3 kB / 347.4 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.009969, allocations: 127.3 kB / 347.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.297e-05/0.01006, allocations: 51.66 kB / 347.6 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.01008, allocations: 7.938 kB / 347.6 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.01031, allocations: 128.9 kB / 347.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.01031, allocations: 0 / 347.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004922/0.0108, allocations: 265.3 kB / 348 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.01083, allocations: 59.41 kB / 348 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.01115, allocations: 450.2 kB / 348.5 MB, free: 212 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.01116, allocations: 33.7 kB / 348.5 MB, free: 172 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.01132, allocations: 223.4 kB / 348.7 MB, free: 15.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.01138, allocations: 59.53 kB / 348.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.516e-05/0.01148, allocations: 59.36 kB / 348.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003262/0.0118, allocations: 0.543 MB / 349.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.01191, allocations: 31.98 kB / 349.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.01216, allocations: 212.2 kB / 349.6 MB, free: 14.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.01252, allocations: 216.7 kB / 349.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01252, allocations: 0 / 349.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004285/0.01295, allocations: 233.1 kB / 350 MB, free: 14.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.01297, allocations: 4 kB / 350 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.01297, allocations: 4 kB / 350.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.01299, allocations: 4 kB / 350.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.01314, allocations: 35.92 kB / 350.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.01316, allocations: 4 kB / 350.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.01333, allocations: 23.88 kB / 350.1 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.01335, allocations: 8.25 kB / 350.1 MB, free: 14.39 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.0002441/0.01359, allocations: 207.1 kB / 350.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.01366, allocations: 43.69 kB / 350.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005197/0.01418, allocations: 227.2 kB / 350.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.01419, allocations: 4 kB / 350.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.01419, allocations: 4.125 kB / 350.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.0142, allocations: 0 / 350.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.01454, allocations: 272.5 kB / 350.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01454, allocations: 0 / 350.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.01459, allocations: 8 kB / 350.9 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.0146, allocations: 7.938 kB / 350.9 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.01461, allocations: 4 kB / 350.9 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.01462, allocations: 4 kB / 350.9 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01462, allocations: 3.984 kB / 350.9 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.01514, allocations: 264.1 kB / 351.2 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.01521, allocations: 39.67 kB / 351.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.01525, allocations: 4 kB / 351.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.01534, allocations: 15.98 kB / 351.2 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.01541, allocations: 11.98 kB / 351.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.01543, allocations: 11.98 kB / 351.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003444/0.01578, allocations: 295 kB / 351.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01578, allocations: 0 / 351.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003394/0.01612, allocations: 67.88 kB / 351.6 MB, free: 12.86 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.003037/0.01915, allocations: 466.1 kB / 352 MB, free: 12.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.01969, allocations: 155.6 kB / 352.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01969, allocations: 0 / 352.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.01992, allocations: 86.25 kB / 352.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.02055, allocations: 84.5 kB / 352.4 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.02168, allocations: 470.8 kB / 352.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.02192, allocations: 163.5 kB / 353 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.02205, allocations: 38.25 kB / 353 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.02212, allocations: 36.5 kB / 353.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02212, allocations: 0 / 353.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of Templates: time 0.01046/0.03258, allocations: 4.288 MB / 357.3 MB, free: 7.285 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: 4.734523621969856]