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.0008851/0.0008851, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001338/0.001338, allocations: 173 kB / 23.36 MB, free: 1.133 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.9467/0.9467, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.03796/0.03796, allocations: 8.616 MB / 268.9 MB, free: 4.812 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.242e-06/1.242e-06, allocations: 0 / 288.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.305e-05, allocations: 2.312 kB / 288.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.1071/0.1071, allocations: 2.08 MB / 290.2 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1087, allocations: 1.382 MB / 291.6 MB, free: 18.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.1088, allocations: 3.219 kB / 291.6 MB, free: 18.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007056/0.1095, allocations: 314.7 kB / 291.9 MB, free: 18.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.1099, allocations: 263.4 kB / 292.1 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.1104, allocations: 253.5 kB / 292.4 MB, free: 18.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.1107, allocations: 376.8 kB / 292.7 MB, free: 18.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1108, allocations: 32.08 kB / 292.8 MB, free: 18.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.1111, allocations: 205.6 kB / 293 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.1113, allocations: 139.1 kB / 293.1 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.1113, allocations: 20.22 kB / 293.1 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.1115, allocations: 122.3 kB / 293.2 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1116, allocations: 96.5 kB / 293.3 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.1117, allocations: 72.67 kB / 293.4 MB, free: 18.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.1121, allocations: 309.5 kB / 293.7 MB, free: 18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1121, allocations: 1.75 kB / 293.7 MB, free: 18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1121, allocations: 0 / 293.7 MB, free: 18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1121, allocations: 0 / 293.7 MB, free: 18 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.0005846/0.1127, allocations: 0.5805 MB / 294.3 MB, free: 17.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.1127, allocations: 10.97 kB / 294.3 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.1128, allocations: 25.36 kB / 294.3 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.113, allocations: 263.1 kB / 294.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.113, allocations: 11.42 kB / 294.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.113, allocations: 13.3 kB / 294.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1132, allocations: 101.2 kB / 294.7 MB, free: 17.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.1132, allocations: 5.719 kB / 294.7 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1132, allocations: 2.125 kB / 294.7 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1132, allocations: 2.875 kB / 294.7 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.098e-05/0.1133, allocations: 25.28 kB / 294.7 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.1136, allocations: 260.6 kB / 295 MB, free: 17.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.1138, allocations: 133.6 kB / 295.1 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.1138, allocations: 25.45 kB / 295.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.1138, allocations: 2.25 kB / 295.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.1139, allocations: 107.7 kB / 295.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.1139, allocations: 0.6094 kB / 295.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001889/0.1141, allocations: 137.4 kB / 295.4 MB, free: 16.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.1141, allocations: 56.55 kB / 295.5 MB, free: 16.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.1144, allocations: 343.6 kB / 295.8 MB, free: 16.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1144, allocations: 33.73 kB / 295.8 MB, free: 16.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.1144, allocations: 126.8 kB / 295.9 MB, free: 16.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.1145, allocations: 48.25 kB / 296 MB, free: 16.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.1145, allocations: 51.22 kB / 296 MB, free: 16.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.1146, allocations: 346.9 kB / 296.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.1146, allocations: 18.97 kB / 296.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/0.1146, allocations: 153.7 kB / 296.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1148, allocations: 146 kB / 296.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1148, allocations: 0.8438 kB / 296.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001625/0.1149, allocations: 151.8 kB / 296.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1149, allocations: 12.06 kB / 296.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1149, allocations: 2.281 kB / 296.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1149, allocations: 4 kB / 296.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.115, allocations: 39.23 kB / 296.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.115, allocations: 8.625 kB / 296.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.1151, allocations: 22.75 kB / 296.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1151, allocations: 7.922 kB / 296.9 MB, free: 15.68 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 0.0001005/0.1152, allocations: 142.8 kB / 297.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.1152, allocations: 24.3 kB / 297.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.1154, allocations: 130.6 kB / 297.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1154, allocations: 2.406 kB / 297.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1154, allocations: 0.7812 kB / 297.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1154, allocations: 2.531 kB / 297.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.1155, allocations: 150.9 kB / 297.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1155, allocations: 0 / 297.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.1156, allocations: 15.44 kB / 297.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1156, allocations: 3.531 kB / 297.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1156, allocations: 7.766 kB / 297.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1156, allocations: 0.8125 kB / 297.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1156, allocations: 5.781 kB / 297.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.1157, allocations: 147.2 kB / 297.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.1158, allocations: 26.19 kB / 297.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.1158, allocations: 7.609 kB / 297.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.1158, allocations: 8.812 kB / 297.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.1159, allocations: 20.06 kB / 297.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1159, allocations: 10.92 kB / 297.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.116, allocations: 147.6 kB / 297.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.116, allocations: 1.719 kB / 297.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.1162, allocations: 70.94 kB / 297.8 MB, free: 15.2 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.001021/0.1172, allocations: 0.5399 MB / 298.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1174, allocations: 105.8 kB / 298.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.1174, allocations: 3.281 kB / 298.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.949e-05/0.1174, allocations: 49.67 kB / 298.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.1177, allocations: 90.28 kB / 298.6 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.1181, allocations: 461.2 kB / 299.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.73e-05/0.1182, allocations: 102.5 kB / 299.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.132e-05/0.1182, allocations: 47.44 kB / 299.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1184, allocations: 96.39 kB / 299.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1184, allocations: 1.031 kB / 299.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Templates: time 0.00688/0.1252, allocations: 4.923 MB / 304.2 MB, free: 12.62 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.795181338209659]