Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.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: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001813/0.001813, allocations: 219.1 kB / 23 MB, free: 4.914 MB / 14.72 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 1.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.06652/0.06652, allocations: 11.35 MB / 324.5 MB, free: 8.027 MB / 254.1 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_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 63.91 kB / 452.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.11, allocations: 56.08 MB / 0.4964 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.003822/0.1138, allocations: 1.963 MB / 0.4983 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.1162, allocations: 1.337 MB / 0.4996 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1163, allocations: 3.938 kB / 0.4996 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008704/0.1172, allocations: 285.8 kB / 0.4999 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006098/0.1178, allocations: 259.1 kB / 0.5001 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006685/0.1185, allocations: 258 kB / 0.5004 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.1189, allocations: 355 kB / 0.5007 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.119, allocations: 28.92 kB / 0.5007 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.1192, allocations: 151.4 kB / 0.5009 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.1194, allocations: 151.3 kB / 0.501 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.1195, allocations: 16 kB / 0.501 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.1197, allocations: 111.9 kB / 0.5011 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1198, allocations: 83.67 kB / 0.5012 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.12, allocations: 95.41 kB / 0.5013 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004946/0.1205, allocations: 370.5 kB / 0.5017 GB, free: 12.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1205, allocations: 0 / 0.5017 GB, free: 12.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1205, allocations: 0 / 0.5017 GB, free: 12.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1205, allocations: 0 / 0.5017 GB, free: 12.2 MB / 382.1 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.00104/0.1215, allocations: 0.5992 MB / 0.5023 GB, free: 11.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1215, allocations: 8.031 kB / 0.5023 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.674e-05/0.1216, allocations: 32.75 kB / 0.5023 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.1221, allocations: 266.5 kB / 0.5025 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.1221, allocations: 16.31 kB / 0.5026 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.1221, allocations: 16 kB / 0.5026 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.1224, allocations: 131.2 kB / 0.5027 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1224, allocations: 0 / 0.5027 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1224, allocations: 0 / 0.5027 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1224, allocations: 4 kB / 0.5027 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.1226, allocations: 71.95 kB / 0.5028 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.1233, allocations: 396.1 kB / 0.5032 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.1237, allocations: 146.7 kB / 0.5033 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.1238, allocations: 52.78 kB / 0.5033 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.1238, allocations: 4 kB / 0.5033 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.1241, allocations: 131.3 kB / 0.5035 GB, free: 10.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.1241, allocations: 0 / 0.5035 GB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006157/0.1247, allocations: 280 kB / 0.5037 GB, free: 9.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.1248, allocations: 67.28 kB / 0.5038 GB, free: 9.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004842/0.1252, allocations: 400.5 kB / 0.5042 GB, free: 9.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.1253, allocations: 33.7 kB / 0.5042 GB, free: 9.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.1254, allocations: 164.4 kB / 0.5044 GB, free: 9.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.1255, allocations: 39.69 kB / 0.5044 GB, free: 9.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.1255, allocations: 45.91 kB / 0.5045 GB, free: 9.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1257, allocations: 346.7 kB / 0.5048 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1258, allocations: 51.83 kB / 0.5048 GB, free: 8.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.1261, allocations: 181.7 kB / 0.505 GB, free: 8.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.1264, allocations: 196.4 kB / 0.5052 GB, free: 8.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1264, allocations: 0 / 0.5052 GB, free: 8.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004284/0.1268, allocations: 233.2 kB / 0.5054 GB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1269, allocations: 4 kB / 0.5054 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1269, allocations: 7.984 kB / 0.5054 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1269, allocations: 4 kB / 0.5054 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.127, allocations: 31.92 kB / 0.5055 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.127, allocations: 128 / 0.5055 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1272, allocations: 36.12 kB / 0.5055 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1272, allocations: 8 kB / 0.5055 GB, free: 8.012 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: timer.Q:DISCRETE(flow=false fixed = true ) \"status of the timer\" type: Boolean timer.run:DISCRETE(fixed = true ) \"Flag: true while the timer is counting\" 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: 22 ($PRE.timer.Sd,timer.startTime,$PRE.timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.run,timer.run,$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,timer.Sd) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002168/0.1274, allocations: 180.3 kB / 0.5057 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.1274, allocations: 31.77 kB / 0.5057 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004966/0.1279, allocations: 240.7 kB / 0.5059 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.1279, allocations: 4 kB / 0.5059 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.128, allocations: 7.984 kB / 0.506 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.128, allocations: 0 / 0.506 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.1282, allocations: 225 kB / 0.5062 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1282, allocations: 0 / 0.5062 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.1283, allocations: 8 kB / 0.5062 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1283, allocations: 3.938 kB / 0.5062 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.1283, allocations: 7.984 kB / 0.5062 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1283, allocations: 0 / 0.5062 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1283, allocations: 0 / 0.5062 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.1288, allocations: 274.9 kB / 0.5064 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.1288, allocations: 31.81 kB / 0.5065 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.1289, allocations: 7.984 kB / 0.5065 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.1289, allocations: 4 kB / 0.5065 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.129, allocations: 23.91 kB / 0.5065 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.129, allocations: 4 kB / 0.5065 GB, free: 6.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003594/0.1294, allocations: 295 kB / 0.5068 GB, free: 6.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1294, allocations: 0 / 0.5068 GB, free: 6.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.1297, allocations: 67.86 kB / 0.5069 GB, free: 6.555 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.startTime,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 (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001708/0.1314, allocations: 472.3 kB / 0.5073 GB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003948/0.1318, allocations: 151.7 kB / 0.5075 GB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1318, allocations: 0 / 0.5075 GB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.132, allocations: 75.81 kB / 0.5075 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.1324, allocations: 83.62 kB / 0.5076 GB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009172/0.1333, allocations: 0.5139 MB / 0.5081 GB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.1335, allocations: 163 kB / 0.5083 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.1336, allocations: 35.42 kB / 0.5083 GB, free: 5.215 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1336, allocations: 0 / 0.5083 GB, free: 5.215 MB / 382.1 MB Notification: Performance of Templates: time 0.007809/0.1414, allocations: 4.523 MB / 0.5127 GB, free: 0.6992 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9472213056869805] Failed to read output from testmodel.py, exit status != 0: 0.35289397509768605 0.364421698 0.2412708 Calling exit ...