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.0008769/0.0008769, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.000942/0.000942, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.068/1.068, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.03871/0.03871, allocations: 8.622 MB / 269.7 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_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.493e-06/1.493e-06, allocations: 0 / 342.1 MB, free: 8.117 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.872e-05/2.021e-05, allocations: 13.06 kB / 342.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.002199/0.00222, allocations: 2.026 MB / 344.1 MB, free: 6.062 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.003727, allocations: 1.352 MB / 345.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.003865, allocations: 4 kB / 345.5 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.004453, allocations: 315 kB / 345.8 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.00481, allocations: 262.9 kB / 346.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.005251, allocations: 259.2 kB / 346.3 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.005542, allocations: 371 kB / 346.7 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.005654, allocations: 36.84 kB / 346.7 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.00583, allocations: 203.5 kB / 346.9 MB, free: 3.281 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.005972, allocations: 139.6 kB / 347 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.005998, allocations: 20 kB / 347.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.006173, allocations: 119.8 kB / 347.2 MB, free: 3.008 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.006247, allocations: 91.67 kB / 347.3 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.006303, allocations: 71.77 kB / 347.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.006573, allocations: 302.8 kB / 347.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.006576, allocations: 0 / 347.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006576, allocations: 0 / 347.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.006582, allocations: 0 / 347.6 MB, free: 2.551 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.00055/0.007132, allocations: 0.7049 MB / 348.3 MB, free: 1.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.007163, allocations: 8.031 kB / 348.3 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.007224, allocations: 48.64 kB / 348.4 MB, free: 1.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.007454, allocations: 291.6 kB / 348.7 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.00747, allocations: 12.55 kB / 348.7 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.007483, allocations: 8.375 kB / 348.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.00762, allocations: 96.98 kB / 348.8 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.007628, allocations: 3.938 kB / 348.8 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.007639, allocations: 4 kB / 348.8 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.007642, allocations: 4 kB / 348.8 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.887e-05/0.007691, allocations: 31.91 kB / 348.8 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.008147, allocations: 400 kB / 349.2 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.008322, allocations: 91.12 kB / 349.3 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.008359, allocations: 39.84 kB / 349.4 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.008374, allocations: 4 kB / 349.4 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.008493, allocations: 111.4 kB / 349.5 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.008495, allocations: 4 kB / 349.5 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002584/0.008753, allocations: 221.3 kB / 349.7 MB, free: 360 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.008785, allocations: 55.41 kB / 349.7 MB, free: 292 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.009002, allocations: 390.5 kB / 350.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.009022, allocations: 33.7 kB / 350.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.009129, allocations: 223.2 kB / 350.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.009169, allocations: 55.55 kB / 350.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.009221, allocations: 47.34 kB / 350.5 MB, free: 15.51 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004342/0.009655, allocations: 0.5273 MB / 351 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/0.009696, allocations: 20.22 kB / 351 MB, free: 14.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.009817, allocations: 191.2 kB / 351.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.009962, allocations: 152.7 kB / 351.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.009965, allocations: 4.031 kB / 351.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002041/0.01017, allocations: 185.2 kB / 351.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.01018, allocations: 7.938 kB / 351.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.01019, allocations: 4 kB / 351.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.0102, allocations: 4 kB / 351.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.01028, allocations: 35.91 kB / 351.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.01029, allocations: 4 kB / 351.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.01036, allocations: 24.14 kB / 351.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.01037, allocations: 12 kB / 351.6 MB, free: 14.23 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.0001485/0.01052, allocations: 191.2 kB / 351.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.01056, allocations: 43.7 kB / 351.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.01082, allocations: 207.5 kB / 352.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01083, allocations: 4 kB / 352.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.01083, allocations: 4 kB / 352.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01083, allocations: 7.922 kB / 352.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.01099, allocations: 177.1 kB / 352.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.01099, allocations: 4 kB / 352.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.01102, allocations: 11.98 kB / 352.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01102, allocations: 0 / 352.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.01103, allocations: 8 kB / 352.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01103, allocations: 3.938 kB / 352.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01103, allocations: 0 / 352.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.01125, allocations: 248 kB / 352.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.01128, allocations: 31.75 kB / 352.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.01131, allocations: 11.98 kB / 352.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.01136, allocations: 7.938 kB / 352.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.0114, allocations: 15.97 kB / 352.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.01141, allocations: 11.98 kB / 352.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.01155, allocations: 255 kB / 352.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01155, allocations: 0 / 352.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.01183, allocations: 71.88 kB / 352.9 MB, free: 12.88 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.0009297/0.01276, allocations: 423.2 kB / 353.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.01301, allocations: 108 kB / 353.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01301, allocations: 4.125 kB / 353.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.01308, allocations: 55.64 kB / 353.5 MB, free: 12.44 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.01336, allocations: 92.67 kB / 353.6 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.01388, allocations: 458.8 kB / 354 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.629e-05/0.01394, allocations: 104.2 kB / 354.1 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.758e-05/0.01402, allocations: 38.95 kB / 354.2 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.01414, allocations: 126.2 kB / 354.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01414, allocations: 3.938 kB / 354.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of Templates: time 0.007523/0.02166, allocations: 4.953 MB / 359.3 MB, free: 6.707 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.0461723930202425]