Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.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.0009226/0.0009226, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009616/0.0009616, allocations: 169 kB / 23.02 MB, free: 1.547 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.077/1.077, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.04776/0.04776, allocations: 8.616 MB / 268.6 MB, free: 4.914 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_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.66e-05, allocations: 6.25 kB / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.002194/0.002221, allocations: 2.053 MB / 342.9 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.003601, allocations: 1.368 MB / 344.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.761e-05/0.003698, allocations: 7.938 kB / 344.3 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006221/0.004321, allocations: 303.1 kB / 344.6 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.004649, allocations: 266.9 kB / 344.9 MB, free: 4.387 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.004999, allocations: 259.2 kB / 345.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.005236, allocations: 371 kB / 345.5 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.005342, allocations: 36.84 kB / 345.5 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.005489, allocations: 203.4 kB / 345.7 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.005611, allocations: 135.6 kB / 345.8 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.005637, allocations: 20 kB / 345.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.005794, allocations: 127.8 kB / 346 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.005865, allocations: 87.69 kB / 346.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.005926, allocations: 67.78 kB / 346.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.006198, allocations: 294.9 kB / 346.4 MB, free: 2.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.0062, allocations: 0 / 346.4 MB, free: 2.816 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006201, allocations: 8 kB / 346.4 MB, free: 2.809 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.006206, allocations: 0 / 346.4 MB, free: 2.809 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.000599/0.006805, allocations: 0.7088 MB / 347.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.006838, allocations: 8.031 kB / 347.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.006904, allocations: 44.7 kB / 347.2 MB, free: 2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.007168, allocations: 299.5 kB / 347.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.007187, allocations: 8.547 kB / 347.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.007206, allocations: 16.31 kB / 347.5 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.007369, allocations: 106.5 kB / 347.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.007379, allocations: 0 / 347.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.007393, allocations: 4 kB / 347.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.007401, allocations: 0 / 347.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.217e-05/0.007474, allocations: 47.95 kB / 347.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.007887, allocations: 439.4 kB / 348.1 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.008092, allocations: 107.2 kB / 348.2 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.008146, allocations: 43.66 kB / 348.2 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.008161, allocations: 4 kB / 348.2 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.008296, allocations: 123.1 kB / 348.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.442e-06/0.008297, allocations: 0 / 348.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003086/0.008606, allocations: 237.3 kB / 348.6 MB, free: 500 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.008629, allocations: 59.39 kB / 348.7 MB, free: 428 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.008849, allocations: 402.7 kB / 349 MB, free: 4 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.008883, allocations: 29.7 kB / 349.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.008988, allocations: 223.3 kB / 349.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.009026, allocations: 47.64 kB / 349.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.009076, allocations: 47.36 kB / 349.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.009213, allocations: 0.5235 MB / 349.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.717e-05/0.00926, allocations: 24.22 kB / 349.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.009378, allocations: 192 kB / 350.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.00954, allocations: 176.7 kB / 350.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009543, allocations: 0 / 350.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002181/0.009761, allocations: 201.3 kB / 350.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.009774, allocations: 8.031 kB / 350.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.00978, allocations: 4 kB / 350.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.009799, allocations: 4 kB / 350.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.009877, allocations: 31.92 kB / 350.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.009883, allocations: 4 kB / 350.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.009949, allocations: 23.88 kB / 350.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.009959, allocations: 8 kB / 350.6 MB, free: 14.34 MB / 282.7 MB Warning: Assuming fixed start value for the following 3 variables: timer.Sd:DISCRETE(fixed = true ) type: Boolean timer.Q:DISCRETE(flow=false fixed = true ) \"status of the timer\" 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: 23 ($PRE.timer.Sd,timer.Sd,timer.run,$PRE.timer.run,timer.startTime,$PRE.timer.startTime,$PRE.timer.Q,timer.Q,$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,SetSignal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001346/0.01009, allocations: 203.1 kB / 350.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.01013, allocations: 47.69 kB / 350.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.0104, allocations: 208.8 kB / 351 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.0104, allocations: 0 / 351 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.0104, allocations: 0 / 351 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.01041, allocations: 4 kB / 351 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.01059, allocations: 232.5 kB / 351.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01059, allocations: 0 / 351.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.01062, allocations: 15.92 kB / 351.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01062, allocations: 7.938 kB / 351.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.01064, allocations: 8 kB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01064, allocations: 0 / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01064, allocations: 0 / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.01088, allocations: 254.7 kB / 351.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.01091, allocations: 35.75 kB / 351.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.01094, allocations: 11.92 kB / 351.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.654e-05/0.01099, allocations: 8 kB / 351.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.01103, allocations: 15.97 kB / 351.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.01105, allocations: 8 kB / 351.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.01123, allocations: 275.1 kB / 351.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01123, allocations: 0 / 351.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000223/0.01145, allocations: 71.88 kB / 351.9 MB, free: 12.89 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.y,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.run,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 (19): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009238/0.01237, allocations: 427.3 kB / 352.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.01258, allocations: 120.9 kB / 352.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01258, allocations: 0 / 352.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.01266, allocations: 63.59 kB / 352.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.01293, allocations: 88.12 kB / 352.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.01347, allocations: 467.4 kB / 353.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.577e-05/0.01354, allocations: 104.2 kB / 353.2 MB, free: 11.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.228e-05/0.01361, allocations: 34.95 kB / 353.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.01367, allocations: 32.48 kB / 353.3 MB, free: 11.67 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01367, allocations: 0 / 353.3 MB, free: 11.67 MB / 282.7 MB Notification: Performance of Templates: time 0.006274/0.01994, allocations: 4.474 MB / 357.7 MB, free: 7.27 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.052896562963724]