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.001243/0.001243, 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.001431/0.001431, allocations: 177 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.9862/0.9862, allocations: 177.2 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.0427/0.0427, allocations: 8.631 MB / 268.9 MB, free: 4.797 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.513e-06/1.513e-06, allocations: 0 / 288.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.469e-05, allocations: 2.312 kB / 288.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.1184/0.1185, allocations: 2.068 MB / 290.2 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.12, allocations: 1.392 MB / 291.6 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.211e-05/0.1201, allocations: 2 kB / 291.6 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006492/0.1207, allocations: 303.5 kB / 291.9 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.1211, allocations: 262.3 kB / 292.1 MB, free: 18.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.1214, allocations: 252.7 kB / 292.4 MB, free: 18.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.1217, allocations: 373.7 kB / 292.7 MB, free: 18.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1218, allocations: 33.17 kB / 292.8 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.122, allocations: 200.3 kB / 293 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1222, allocations: 139.9 kB / 293.1 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.1222, allocations: 19.72 kB / 293.1 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.1224, allocations: 123.3 kB / 293.2 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.823e-05/0.1225, allocations: 86.3 kB / 293.3 MB, free: 18.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.1226, allocations: 74.98 kB / 293.4 MB, free: 18.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.1229, allocations: 304.1 kB / 293.7 MB, free: 17.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1229, allocations: 0 / 293.7 MB, free: 17.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1229, allocations: 0 / 293.7 MB, free: 17.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1229, allocations: 0 / 293.7 MB, free: 17.95 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.0005622/0.1234, allocations: 0.5739 MB / 294.3 MB, free: 17.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1235, allocations: 13.22 kB / 294.3 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.1235, allocations: 33.89 kB / 294.3 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1238, allocations: 248.2 kB / 294.5 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1238, allocations: 11.27 kB / 294.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1238, allocations: 9.281 kB / 294.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.124, allocations: 104.1 kB / 294.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.124, allocations: 0 / 294.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.124, allocations: 9.906 kB / 294.7 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.124, allocations: 1.984 kB / 294.7 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.124, allocations: 26.39 kB / 294.7 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.1244, allocations: 260.6 kB / 295 MB, free: 16.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.1245, allocations: 128.4 kB / 295.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.1245, allocations: 29.48 kB / 295.1 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.1246, allocations: 2.781 kB / 295.1 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.1247, allocations: 109.2 kB / 295.2 MB, free: 16.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.1247, allocations: 0 / 295.2 MB, free: 16.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001896/0.1249, allocations: 135.2 kB / 295.4 MB, free: 16.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.1249, allocations: 59.88 kB / 295.4 MB, free: 16.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1251, allocations: 329.8 kB / 295.7 MB, free: 16.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1251, allocations: 33.98 kB / 295.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.1252, allocations: 125.6 kB / 295.9 MB, free: 16.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.1252, allocations: 60.47 kB / 296 MB, free: 16.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.1253, allocations: 42.41 kB / 296 MB, free: 16.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.1253, allocations: 350.9 kB / 296.3 MB, free: 16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.1253, allocations: 20.41 kB / 296.4 MB, free: 16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.1254, allocations: 151.3 kB / 296.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.1255, allocations: 144.1 kB / 296.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1255, allocations: 1.125 kB / 296.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001583/0.1257, allocations: 148.8 kB / 296.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1257, allocations: 10.45 kB / 296.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1257, allocations: 2.812 kB / 296.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1257, allocations: 4.5 kB / 296.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.1258, allocations: 41.42 kB / 296.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1258, allocations: 4.672 kB / 296.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.238e-05/0.1259, allocations: 22.56 kB / 296.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1259, allocations: 7.312 kB / 296.9 MB, free: 15.64 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.0001089/0.126, allocations: 141.9 kB / 297 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.126, allocations: 21.77 kB / 297 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.1262, allocations: 141.4 kB / 297.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1262, allocations: 5.375 kB / 297.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1262, allocations: 1.188 kB / 297.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1262, allocations: 1.078 kB / 297.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.1263, allocations: 143.2 kB / 297.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1263, allocations: 3.938 kB / 297.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.1264, allocations: 11.45 kB / 297.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1264, allocations: 1.25 kB / 297.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1264, allocations: 8 kB / 297.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1264, allocations: 4.094 kB / 297.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1264, allocations: 5.188 kB / 297.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.1265, allocations: 145.1 kB / 297.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.1265, allocations: 26.12 kB / 297.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.1266, allocations: 8.578 kB / 297.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.1266, allocations: 7.875 kB / 297.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1266, allocations: 23.3 kB / 297.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1267, allocations: 8.203 kB / 297.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1268, allocations: 142.4 kB / 297.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1268, allocations: 0.75 kB / 297.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.127, allocations: 72.36 kB / 297.8 MB, free: 15.16 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.001121/0.1281, allocations: 0.5442 MB / 298.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.1283, allocations: 100.1 kB / 298.4 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1283, allocations: 3.125 kB / 298.4 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.208e-05/0.1283, allocations: 57.34 kB / 298.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.1285, allocations: 80.28 kB / 298.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.129, allocations: 453.5 kB / 299 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.618e-05/0.129, allocations: 97.73 kB / 299.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.725e-05/0.1291, allocations: 50.92 kB / 299.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.1292, allocations: 101.1 kB / 299.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1292, allocations: 0 / 299.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of Templates: time 0.006221/0.1354, allocations: 4.868 MB / 304.1 MB, free: 12.62 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.786819292232394]