Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.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.001372/0.001372, allocations: 93.06 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.001074/0.001074, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9716/0.9716, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.0694/0.0694, allocations: 8.617 MB / 268.6 MB, free: 4.93 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_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 340.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.732e-05, allocations: 6.25 kB / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.01202/0.01205, allocations: 2.045 MB / 342.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007353/0.0194, allocations: 1.375 MB / 344.3 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.01962, allocations: 3.938 kB / 344.3 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008485/0.02047, allocations: 311.1 kB / 344.6 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005354/0.02101, allocations: 266.9 kB / 344.9 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.023, allocations: 255.2 kB / 345.1 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.0234, allocations: 378.9 kB / 345.5 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.02354, allocations: 36.84 kB / 345.5 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.02373, allocations: 203.5 kB / 345.7 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.02389, allocations: 143.6 kB / 345.9 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.02393, allocations: 20 kB / 345.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.02415, allocations: 123.8 kB / 346 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.02424, allocations: 91.67 kB / 346.1 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.02431, allocations: 75.77 kB / 346.2 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.02469, allocations: 302.9 kB / 346.5 MB, free: 2.793 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.0247, allocations: 0 / 346.5 MB, free: 2.793 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.0247, allocations: 0 / 346.5 MB, free: 2.793 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.02471, allocations: 3.938 kB / 346.5 MB, free: 2.789 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.0006438/0.02535, allocations: 0.7167 MB / 347.2 MB, free: 2.023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.02539, allocations: 8.031 kB / 347.2 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.978e-05/0.02547, allocations: 44.69 kB / 347.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.02578, allocations: 299.6 kB / 347.5 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.0258, allocations: 8.5 kB / 347.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.02582, allocations: 16.36 kB / 347.5 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.02599, allocations: 106.5 kB / 347.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.026, allocations: 0 / 347.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.02602, allocations: 7.984 kB / 347.7 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.02602, allocations: 8 kB / 347.7 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.916e-05/0.02609, allocations: 35.97 kB / 347.7 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.02655, allocations: 451.3 kB / 348.1 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.02678, allocations: 114.4 kB / 348.3 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.476e-05/0.02683, allocations: 35.77 kB / 348.3 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.02685, allocations: 0 / 348.3 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.02699, allocations: 120.9 kB / 348.4 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/0.02699, allocations: 0 / 348.4 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003475/0.02734, allocations: 240.1 kB / 348.6 MB, free: 468 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.02737, allocations: 59.41 kB / 348.7 MB, free: 396 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.02765, allocations: 414.7 kB / 349.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.02767, allocations: 33.7 kB / 349.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.02778, allocations: 215.3 kB / 349.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.02782, allocations: 51.55 kB / 349.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.02788, allocations: 59.36 kB / 349.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.02803, allocations: 0.5196 MB / 350 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/0.02808, allocations: 20.22 kB / 350 MB, free: 15.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.0282, allocations: 197.5 kB / 350.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.02839, allocations: 176.7 kB / 350.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.02839, allocations: 0 / 350.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002471/0.02864, allocations: 197.2 kB / 350.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.02866, allocations: 8 kB / 350.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.02866, allocations: 256 / 350.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.02868, allocations: 8 kB / 350.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.02877, allocations: 39.86 kB / 350.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.02878, allocations: 3.938 kB / 350.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.02885, allocations: 27.88 kB / 350.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.02887, allocations: 8 kB / 350.6 MB, free: 14.28 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.0001648/0.02903, allocations: 195.1 kB / 350.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.02907, allocations: 47.7 kB / 350.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.02938, allocations: 212.8 kB / 351.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.02939, allocations: 0 / 351.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.02939, allocations: 0 / 351.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.02939, allocations: 0 / 351.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.0296, allocations: 240.5 kB / 351.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.02961, allocations: 3.984 kB / 351.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.02964, allocations: 8 kB / 351.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.02964, allocations: 11.88 kB / 351.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.02966, allocations: 0 / 351.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.02966, allocations: 4 kB / 351.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02966, allocations: 4 kB / 351.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.02992, allocations: 258.7 kB / 351.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.02995, allocations: 35.69 kB / 351.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.02999, allocations: 11.94 kB / 351.7 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/0.03004, allocations: 7.984 kB / 351.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.03009, allocations: 15.98 kB / 351.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.03011, allocations: 11.98 kB / 351.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.03031, allocations: 279.1 kB / 352 MB, free: 12.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03031, allocations: 0 / 352 MB, free: 12.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002571/0.03056, allocations: 59.94 kB / 352 MB, free: 12.83 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.001386/0.03195, allocations: 428.9 kB / 352.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.0323, allocations: 123.5 kB / 352.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.0323, allocations: 0 / 352.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.03242, allocations: 63.59 kB / 352.6 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.03278, allocations: 84.23 kB / 352.7 MB, free: 12.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006657/0.03344, allocations: 470.8 kB / 353.2 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.978e-05/0.0335, allocations: 104.7 kB / 353.3 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.03359, allocations: 46.92 kB / 353.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.03365, allocations: 28.5 kB / 353.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.03365, allocations: 0 / 353.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of Templates: time 0.007241/0.04089, allocations: 4.52 MB / 357.9 MB, free: 7.145 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.150940969120711]