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.001739/0.001739, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.002085/0.002085, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.06609/0.06609, allocations: 11.34 MB / 324.5 MB, free: 8.223 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_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: 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.002027/0.002027, allocations: 71.89 kB / 452.3 MB, free: 9.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.11, allocations: 56.07 MB / 0.4965 GB, free: 1.812 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003633/0.1137, allocations: 2.045 MB / 0.4985 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.1161, allocations: 1.434 MB / 0.4999 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1162, allocations: 7.938 kB / 0.4999 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000818/0.1171, allocations: 301.8 kB / 0.5001 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005606/0.1176, allocations: 259.1 kB / 0.5004 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006453/0.1183, allocations: 262.4 kB / 0.5006 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.1187, allocations: 363 kB / 0.501 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1189, allocations: 40.91 kB / 0.501 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.1191, allocations: 151.4 kB / 0.5012 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.1193, allocations: 167.3 kB / 0.5013 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.1193, allocations: 20 kB / 0.5014 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.1196, allocations: 127.8 kB / 0.5015 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1197, allocations: 83.75 kB / 0.5016 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1198, allocations: 131.2 kB / 0.5017 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.1203, allocations: 386.3 kB / 0.502 GB, free: 12.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1203, allocations: 4 kB / 0.5021 GB, free: 12.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1203, allocations: 4 kB / 0.5021 GB, free: 12.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1203, allocations: 0 / 0.5021 GB, free: 12.05 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.001021/0.1213, allocations: 0.6128 MB / 0.5027 GB, free: 11.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1213, allocations: 8.031 kB / 0.5027 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.85e-05/0.1214, allocations: 32.75 kB / 0.5027 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004529/0.1219, allocations: 285 kB / 0.503 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.1219, allocations: 12.12 kB / 0.503 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.1219, allocations: 15.98 kB / 0.503 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.1222, allocations: 157.4 kB / 0.5031 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1223, allocations: 0 / 0.5031 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.1223, allocations: 7.984 kB / 0.5032 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1223, allocations: 4 kB / 0.5032 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.1225, allocations: 67.91 kB / 0.5032 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007474/0.1232, allocations: 463.4 kB / 0.5037 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.1236, allocations: 142.7 kB / 0.5038 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.1238, allocations: 56.88 kB / 0.5039 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1238, allocations: 4 kB / 0.5039 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.124, allocations: 135.2 kB / 0.504 GB, free: 9.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.124, allocations: 0 / 0.504 GB, free: 9.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006339/0.1247, allocations: 287.8 kB / 0.5043 GB, free: 9.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.1248, allocations: 118.8 kB / 0.5044 GB, free: 9.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.1253, allocations: 437.6 kB / 0.5048 GB, free: 9.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.1253, allocations: 37.69 kB / 0.5048 GB, free: 9.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.1255, allocations: 168.4 kB / 0.505 GB, free: 8.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.1255, allocations: 43.69 kB / 0.505 GB, free: 8.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.1256, allocations: 49.7 kB / 0.5051 GB, free: 8.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1257, allocations: 350.7 kB / 0.5054 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1259, allocations: 44.42 kB / 0.5055 GB, free: 8.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.1261, allocations: 148.3 kB / 0.5056 GB, free: 8.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.1264, allocations: 196.3 kB / 0.5058 GB, free: 7.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1264, allocations: 0 / 0.5058 GB, free: 7.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004283/0.1268, allocations: 229.3 kB / 0.506 GB, free: 7.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1268, allocations: 4.25 kB / 0.506 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1269, allocations: 12 kB / 0.506 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1269, allocations: 4 kB / 0.506 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.127, allocations: 35.92 kB / 0.5061 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.127, allocations: 3.938 kB / 0.5061 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.1271, allocations: 27.88 kB / 0.5061 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1271, allocations: 8 kB / 0.5061 GB, free: 7.617 MB / 382.1 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.0002312/0.1274, allocations: 188.2 kB / 0.5063 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.1274, allocations: 35.77 kB / 0.5063 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.1279, allocations: 248.7 kB / 0.5065 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.1279, allocations: 4 kB / 0.5065 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1279, allocations: 0 / 0.5065 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1279, allocations: 0 / 0.5065 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.1282, allocations: 276.4 kB / 0.5068 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1282, allocations: 0 / 0.5068 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.1283, allocations: 12 kB / 0.5068 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1283, allocations: 7.984 kB / 0.5068 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1283, allocations: 0 / 0.5068 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1283, allocations: 4 kB / 0.5068 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1283, allocations: 48 / 0.5068 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.1288, allocations: 279.2 kB / 0.5071 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.1288, allocations: 31.73 kB / 0.5071 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.1289, allocations: 8 kB / 0.5071 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.1289, allocations: 15.98 kB / 0.5072 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.129, allocations: 11.98 kB / 0.5072 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.129, allocations: 8 kB / 0.5072 GB, free: 6.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003655/0.1294, allocations: 323.1 kB / 0.5075 GB, free: 6.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1294, allocations: 0 / 0.5075 GB, free: 6.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.1297, allocations: 79.75 kB / 0.5076 GB, free: 6.051 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: 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 (17): * Single equations (assignments): 9 * 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.001578/0.1313, allocations: 447.2 kB / 0.508 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.1317, allocations: 147.8 kB / 0.5081 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1317, allocations: 4 kB / 0.5081 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.1319, allocations: 67.95 kB / 0.5082 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.1323, allocations: 71.08 kB / 0.5083 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009081/0.1332, allocations: 0.545 MB / 0.5088 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.1336, allocations: 0.7753 MB / 0.5095 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/0.1337, allocations: 31.44 kB / 0.5096 GB, free: 4.078 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1337, allocations: 0 / 0.5096 GB, free: 4.078 MB / 382.1 MB Notification: Performance of Templates: time 0.2048/0.3385, allocations: 4.651 MB / 0.5141 GB, free: 22.43 MB / 382.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.955402903957292] Failed to read output from testmodel.py, exit status != 0: 0.3467168079223484 0.359051181 0.235999912 Calling exit ...