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.0009196/0.0009196, allocations: 93.06 kB / 19.65 MB, free: 272 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.00187/0.00187, allocations: 169 kB / 23.02 MB, free: 1.539 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.9931/0.9931, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.03828/0.03828, allocations: 8.612 MB / 268.5 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.292e-06/1.292e-06, allocations: 0 / 340.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.447e-05, allocations: 2.312 kB / 340.9 MB, free: 9.445 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.003193/0.003217, allocations: 2.038 MB / 342.9 MB, free: 7.391 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.005577, allocations: 1.386 MB / 344.3 MB, free: 6 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.005701, allocations: 4 kB / 344.3 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006722/0.006373, allocations: 319 kB / 344.6 MB, free: 5.684 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004964/0.00687, allocations: 258.9 kB / 344.9 MB, free: 5.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.007422, allocations: 259.2 kB / 345.1 MB, free: 5.176 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000393/0.007815, allocations: 378.9 kB / 345.5 MB, free: 4.805 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.007922, allocations: 40.84 kB / 345.5 MB, free: 4.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.008162, allocations: 191.5 kB / 345.7 MB, free: 4.582 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.008351, allocations: 147.6 kB / 345.9 MB, free: 4.438 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.008389, allocations: 23.98 kB / 345.9 MB, free: 4.414 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.008608, allocations: 115.8 kB / 346 MB, free: 4.301 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.008712, allocations: 91.69 kB / 346.1 MB, free: 4.211 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/0.008805, allocations: 83.7 kB / 346.2 MB, free: 4.129 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.009211, allocations: 298.8 kB / 346.5 MB, free: 3.836 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.009216, allocations: 4 kB / 346.5 MB, free: 3.832 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.009217, allocations: 0 / 346.5 MB, free: 3.832 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.009222, allocations: 0 / 346.5 MB, free: 3.832 MB / 314.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.0008078/0.01003, allocations: 0.7205 MB / 347.2 MB, free: 3.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.01006, allocations: 8.031 kB / 347.2 MB, free: 3.055 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.938e-05/0.01015, allocations: 40.73 kB / 347.2 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.01052, allocations: 299.5 kB / 347.5 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.01054, allocations: 12.56 kB / 347.5 MB, free: 2.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.01056, allocations: 8.375 kB / 347.5 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.01076, allocations: 110.4 kB / 347.6 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.01077, allocations: 0 / 347.6 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.01079, allocations: 11.98 kB / 347.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.01079, allocations: 0 / 347.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.781e-05/0.01089, allocations: 39.91 kB / 347.7 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.01144, allocations: 447.4 kB / 348.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.0117, allocations: 111.2 kB / 348.2 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.13e-05/0.01177, allocations: 35.67 kB / 348.3 MB, free: 1.875 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.01178, allocations: 4 kB / 348.3 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.01196, allocations: 121.8 kB / 348.4 MB, free: 1.738 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.01196, allocations: 0 / 348.4 MB, free: 1.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004147/0.01237, allocations: 240.1 kB / 348.6 MB, free: 1.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.01241, allocations: 63.41 kB / 348.7 MB, free: 1.426 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/0.01281, allocations: 410.7 kB / 349.1 MB, free: 1.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.01283, allocations: 33.7 kB / 349.1 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.01296, allocations: 223.3 kB / 349.3 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.01301, allocations: 47.64 kB / 349.4 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.01308, allocations: 47.36 kB / 349.4 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.01326, allocations: 0.5274 MB / 350 MB, free: 104 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.691e-05/0.01333, allocations: 28.16 kB / 350 MB, free: 76 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.01349, allocations: 192.1 kB / 350.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.0137, allocations: 176.8 kB / 350.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.0137, allocations: 0 / 350.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003073/0.01401, allocations: 205.1 kB / 350.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.01402, allocations: 4 kB / 350.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.01403, allocations: 4 kB / 350.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01404, allocations: 4 kB / 350.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.01415, allocations: 31.92 kB / 350.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01416, allocations: 4 kB / 350.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.01426, allocations: 23.88 kB / 350.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.01427, allocations: 12 kB / 350.6 MB, free: 15.32 MB / 330.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.0001795/0.01445, allocations: 195.4 kB / 350.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.01451, allocations: 47.69 kB / 350.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.01487, allocations: 215.2 kB / 351.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.01488, allocations: 4 kB / 351.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.01488, allocations: 0 / 351.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01489, allocations: 0 / 351.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.01514, allocations: 244.5 kB / 351.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01514, allocations: 0 / 351.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.01518, allocations: 11.98 kB / 351.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.01519, allocations: 7.922 kB / 351.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.0152, allocations: 4 kB / 351.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01521, allocations: 0 / 351.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01521, allocations: 0 / 351.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.01556, allocations: 256.1 kB / 351.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.0156, allocations: 35.7 kB / 351.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.01565, allocations: 15.92 kB / 351.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.01572, allocations: 12 kB / 351.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.01577, allocations: 11.97 kB / 351.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.0158, allocations: 15.98 kB / 351.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002702/0.01607, allocations: 275.1 kB / 352 MB, free: 13.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01607, allocations: 7.938 kB / 352 MB, free: 13.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000351/0.01642, allocations: 59.94 kB / 352 MB, free: 13.86 MB / 330.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.00113/0.01755, allocations: 414.2 kB / 352.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.0178, allocations: 127.7 kB / 352.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.0178, allocations: 0 / 352.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.01791, allocations: 70.5 kB / 352.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.01826, allocations: 89.52 kB / 352.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/0.01895, allocations: 479.2 kB / 353.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.671e-05/0.01903, allocations: 96.3 kB / 353.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.01913, allocations: 54.91 kB / 353.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/0.0192, allocations: 28.5 kB / 353.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0192, allocations: 0 / 353.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of Templates: time 0.009098/0.02829, allocations: 4.839 MB / 358.2 MB, free: 7.852 MB / 330.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.094608328770846]