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.0008568/0.0008568, allocations: 76.94 kB / 19.93 MB, free: 4.543 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.0008865/0.0008865, allocations: 172.9 kB / 23.36 MB, free: 1.125 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.9126/0.9126, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.03596/0.03596, allocations: 8.629 MB / 268.9 MB, free: 4.789 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.603e-06/1.603e-06, allocations: 0 / 288 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.261e-05, allocations: 6.312 kB / 288.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.09898/0.09899, allocations: 2.026 MB / 290.1 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1005, allocations: 1.387 MB / 291.5 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1006, allocations: 7.188 kB / 291.5 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006159/0.1012, allocations: 305.1 kB / 291.8 MB, free: 18.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.1016, allocations: 266.9 kB / 292 MB, free: 18.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.102, allocations: 263.9 kB / 292.3 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.1023, allocations: 372.3 kB / 292.7 MB, free: 18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.584e-05/0.1024, allocations: 31.8 kB / 292.7 MB, free: 18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.1026, allocations: 202.9 kB / 292.9 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.1028, allocations: 142.5 kB / 293 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.1028, allocations: 20.91 kB / 293 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.103, allocations: 123.3 kB / 293.2 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.821e-05/0.1031, allocations: 94.83 kB / 293.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.178e-05/0.1031, allocations: 77.31 kB / 293.3 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.1034, allocations: 303.1 kB / 293.6 MB, free: 17.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.1034, allocations: 0 / 293.6 MB, free: 17.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1034, allocations: 4.25 kB / 293.6 MB, free: 17.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1034, allocations: 0 / 293.6 MB, free: 17.82 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.0005361/0.104, allocations: 0.5784 MB / 294.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.104, allocations: 10.31 kB / 294.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.1041, allocations: 26.53 kB / 294.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1043, allocations: 259.2 kB / 294.5 MB, free: 17.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1043, allocations: 15.88 kB / 294.5 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.1043, allocations: 15.88 kB / 294.5 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1045, allocations: 101 kB / 294.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.1045, allocations: 0 / 294.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1045, allocations: 1.812 kB / 294.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1045, allocations: 2.5 kB / 294.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.725e-05/0.1045, allocations: 24.59 kB / 294.7 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.1048, allocations: 265.3 kB / 294.9 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.105, allocations: 130.7 kB / 295 MB, free: 16.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.105, allocations: 23.5 kB / 295.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.105, allocations: 2.875 kB / 295.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.1052, allocations: 114.6 kB / 295.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.1052, allocations: 0 / 295.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001795/0.1053, allocations: 135.9 kB / 295.3 MB, free: 16.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.1054, allocations: 56.34 kB / 295.4 MB, free: 16.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.1056, allocations: 343.3 kB / 295.7 MB, free: 16.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1056, allocations: 34.23 kB / 295.7 MB, free: 16.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.1056, allocations: 127.5 kB / 295.9 MB, free: 16.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.1057, allocations: 47.41 kB / 295.9 MB, free: 16.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.1057, allocations: 51.8 kB / 296 MB, free: 16.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.1058, allocations: 350.4 kB / 296.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.1058, allocations: 23.73 kB / 296.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.477e-05/0.1058, allocations: 148.1 kB / 296.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1059, allocations: 147.7 kB / 296.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1059, allocations: 2.75 kB / 296.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001457/0.1061, allocations: 154.4 kB / 296.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.1061, allocations: 9.969 kB / 296.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1061, allocations: 2.75 kB / 296.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1061, allocations: 4.281 kB / 296.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.1062, allocations: 36.34 kB / 296.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1062, allocations: 5.719 kB / 296.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.1063, allocations: 18.06 kB / 296.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.1063, allocations: 11.14 kB / 296.9 MB, free: 15.54 MB / 266.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 9.173e-05/0.1064, allocations: 143.1 kB / 297 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.1064, allocations: 23.89 kB / 297 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.1065, allocations: 138.9 kB / 297.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1065, allocations: 2.672 kB / 297.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1065, allocations: 0 / 297.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1065, allocations: 2.422 kB / 297.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1067, allocations: 150.6 kB / 297.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1067, allocations: 2.031 kB / 297.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.1067, allocations: 9.219 kB / 297.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1067, allocations: 1.031 kB / 297.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1067, allocations: 7.281 kB / 297.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1067, allocations: 2.094 kB / 297.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1067, allocations: 5.891 kB / 297.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.1068, allocations: 142.8 kB / 297.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.1068, allocations: 29.61 kB / 297.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1069, allocations: 4.875 kB / 297.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.296e-05/0.1069, allocations: 10.91 kB / 297.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.107, allocations: 20.81 kB / 297.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.107, allocations: 12.25 kB / 297.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.1071, allocations: 148.2 kB / 297.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1071, allocations: 0 / 297.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001936/0.1073, allocations: 72.23 kB / 297.8 MB, free: 15.05 MB / 266.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.0009952/0.1083, allocations: 0.5457 MB / 298.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.1084, allocations: 99.62 kB / 298.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1084, allocations: 4.031 kB / 298.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/0.1085, allocations: 49.91 kB / 298.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.1087, allocations: 79.69 kB / 298.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.1091, allocations: 466.3 kB / 299 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.199e-05/0.1092, allocations: 105.1 kB / 299.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.238e-05/0.1093, allocations: 44.5 kB / 299.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1094, allocations: 101.6 kB / 299.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1094, allocations: 0 / 299.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of Templates: time 0.006377/0.1157, allocations: 4.918 MB / 304.2 MB, free: 12.5 MB / 266.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: 2.514653516933322]