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.001264/0.001264, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001405/0.001405, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.06398/0.06398, allocations: 11.34 MB / 324.5 MB, free: 8.242 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.00232/0.00232, allocations: 67.91 kB / 452.3 MB, free: 10 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1211, allocations: 56.07 MB / 0.4965 GB, free: 1.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.004322/0.1254, allocations: 2.049 MB / 0.4985 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.1282, allocations: 1.43 MB / 0.4998 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002198/0.1284, allocations: 7.938 kB / 0.4999 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009745/0.1294, allocations: 287.2 kB / 0.5001 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006718/0.1301, allocations: 247.2 kB / 0.5004 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007358/0.1308, allocations: 265.9 kB / 0.5006 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005114/0.1313, allocations: 351.1 kB / 0.501 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.1315, allocations: 40.84 kB / 0.501 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.1317, allocations: 143.5 kB / 0.5011 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.1319, allocations: 155.3 kB / 0.5013 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.132, allocations: 20 kB / 0.5013 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.1323, allocations: 123.9 kB / 0.5014 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1324, allocations: 79.69 kB / 0.5015 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.1325, allocations: 119.3 kB / 0.5016 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005112/0.133, allocations: 370.4 kB / 0.502 GB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.133, allocations: 0 / 0.502 GB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.133, allocations: 0 / 0.502 GB, free: 12.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.133, allocations: 0 / 0.502 GB, free: 12.17 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.001092/0.1341, allocations: 0.5974 MB / 0.5025 GB, free: 11.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1342, allocations: 12.03 kB / 0.5026 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.278e-05/0.1342, allocations: 32.75 kB / 0.5026 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.1347, allocations: 270.6 kB / 0.5028 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.1347, allocations: 12.12 kB / 0.5029 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1348, allocations: 11.98 kB / 0.5029 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.1352, allocations: 148.1 kB / 0.503 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1352, allocations: 0 / 0.503 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.1352, allocations: 11.94 kB / 0.503 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1352, allocations: 4 kB / 0.503 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.1354, allocations: 71.89 kB / 0.5031 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008615/0.1362, allocations: 451.5 kB / 0.5035 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.1366, allocations: 126.8 kB / 0.5036 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.1367, allocations: 52.83 kB / 0.5037 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.1367, allocations: 4 kB / 0.5037 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.137, allocations: 133.8 kB / 0.5038 GB, free: 10.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.137, allocations: 4 kB / 0.5038 GB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006092/0.1376, allocations: 271.8 kB / 0.5041 GB, free: 9.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.1377, allocations: 106.8 kB / 0.5042 GB, free: 9.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.1382, allocations: 404.5 kB / 0.5046 GB, free: 9.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.1382, allocations: 33.7 kB / 0.5046 GB, free: 9.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.1384, allocations: 164.4 kB / 0.5048 GB, free: 9.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.1384, allocations: 43.69 kB / 0.5048 GB, free: 9.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.1385, allocations: 45.7 kB / 0.5048 GB, free: 9.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.1387, allocations: 354.7 kB / 0.5052 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.1388, allocations: 40.19 kB / 0.5052 GB, free: 8.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.139, allocations: 151.8 kB / 0.5054 GB, free: 8.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.1394, allocations: 188.4 kB / 0.5055 GB, free: 8.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1394, allocations: 0 / 0.5055 GB, free: 8.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004228/0.1398, allocations: 233.3 kB / 0.5058 GB, free: 7.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1399, allocations: 4 kB / 0.5058 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1399, allocations: 4 kB / 0.5058 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1399, allocations: 4 kB / 0.5058 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.14, allocations: 27.92 kB / 0.5058 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.14, allocations: 4 kB / 0.5058 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.1402, allocations: 23.88 kB / 0.5058 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.1402, allocations: 11.94 kB / 0.5058 GB, free: 7.891 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.0002492/0.1404, allocations: 188.6 kB / 0.506 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.1405, allocations: 35.77 kB / 0.5061 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004871/0.141, allocations: 224.8 kB / 0.5063 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.141, allocations: 4 kB / 0.5063 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.141, allocations: 0 / 0.5063 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.141, allocations: 7.938 kB / 0.5063 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.1413, allocations: 268.5 kB / 0.5065 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1413, allocations: 0 / 0.5065 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.1414, allocations: 11.98 kB / 0.5066 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1414, allocations: 0 / 0.5066 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1414, allocations: 4 kB / 0.5066 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1414, allocations: 0 / 0.5066 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1414, allocations: 0 / 0.5066 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.1418, allocations: 270.9 kB / 0.5068 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.1419, allocations: 23.81 kB / 0.5068 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.1419, allocations: 7.984 kB / 0.5068 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.142, allocations: 8 kB / 0.5069 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.1421, allocations: 15.97 kB / 0.5069 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.1421, allocations: 4 kB / 0.5069 GB, free: 6.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003529/0.1424, allocations: 299 kB / 0.5072 GB, free: 6.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1424, allocations: 0 / 0.5072 GB, free: 6.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003869/0.1428, allocations: 63.92 kB / 0.5072 GB, free: 6.402 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 (16): * Single equations (assignments): 9 * 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.001544/0.1444, allocations: 443.9 kB / 0.5076 GB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003783/0.1447, allocations: 139.8 kB / 0.5078 GB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1447, allocations: 0 / 0.5078 GB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.1449, allocations: 66.58 kB / 0.5078 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1453, allocations: 85.94 kB / 0.5079 GB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.1462, allocations: 0.5017 MB / 0.5084 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.1467, allocations: 0.7675 MB / 0.5092 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.388e-05/0.1468, allocations: 31.42 kB / 0.5092 GB, free: 4.488 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1468, allocations: 0 / 0.5092 GB, free: 4.488 MB / 382.1 MB Notification: Performance of Templates: time 0.007656/0.1545, allocations: 4.445 MB / 0.5135 GB, free: 56 kB / 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.9012294721324] Failed to read output from testmodel.py, exit status != 0: 0.3742594050709158 0.385706678 0.249837516 Calling exit ...