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.001662/0.001662, allocations: 84.59 kB / 19.76 MB, free: 2.023 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.002419/0.002419, allocations: 159.2 kB / 23.01 MB, free: 4.961 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.563/1.563, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.06348/0.06348, allocations: 8.619 MB / 268.4 MB, free: 8.527 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.002107/0.002107, allocations: 63.91 kB / 396.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.106, allocations: 56.06 MB / 452.1 MB, free: 15.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.0038/0.1098, allocations: 1.971 MB / 454.1 MB, free: 13.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.1125, allocations: 1.337 MB / 455.4 MB, free: 12.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1126, allocations: 7.938 kB / 455.4 MB, free: 12.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009229/0.1135, allocations: 291.2 kB / 455.7 MB, free: 12.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007233/0.1142, allocations: 251.1 kB / 456 MB, free: 11.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008269/0.1151, allocations: 254 kB / 456.2 MB, free: 11.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.1157, allocations: 359.1 kB / 456.6 MB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.1158, allocations: 28.92 kB / 456.6 MB, free: 11.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.1161, allocations: 147.4 kB / 456.7 MB, free: 11.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.1164, allocations: 151.3 kB / 456.9 MB, free: 10.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.1164, allocations: 20 kB / 456.9 MB, free: 10.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.1167, allocations: 107.9 kB / 457 MB, free: 10.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1169, allocations: 87.61 kB / 457.1 MB, free: 10.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.117, allocations: 91.45 kB / 457.2 MB, free: 10.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006236/0.1177, allocations: 366.5 kB / 457.5 MB, free: 10.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1177, allocations: 7.984 kB / 457.5 MB, free: 10.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1177, allocations: 0 / 457.5 MB, free: 10.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1177, allocations: 0 / 457.5 MB, free: 10.31 MB / 430.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.001466/0.1191, allocations: 0.5856 MB / 458.1 MB, free: 9.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1192, allocations: 12.03 kB / 458.1 MB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.1193, allocations: 28.75 kB / 458.2 MB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.1199, allocations: 266.4 kB / 458.4 MB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.1199, allocations: 20.31 kB / 458.5 MB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.1199, allocations: 15.98 kB / 458.5 MB, free: 9.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.1203, allocations: 125.5 kB / 458.6 MB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1203, allocations: 0 / 458.6 MB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1203, allocations: 0 / 458.6 MB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1203, allocations: 4 kB / 458.6 MB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.1206, allocations: 71.95 kB / 458.7 MB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1216, allocations: 400 kB / 459.1 MB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.1222, allocations: 142.8 kB / 459.2 MB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.1223, allocations: 48.83 kB / 459.2 MB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1224, allocations: 4 kB / 459.2 MB, free: 8.496 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003589/0.1227, allocations: 146.9 kB / 459.4 MB, free: 8.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.873e-06/0.1227, allocations: 0 / 459.4 MB, free: 8.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.000845/0.1236, allocations: 265.4 kB / 459.7 MB, free: 8.078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.1236, allocations: 71.3 kB / 459.7 MB, free: 7.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006555/0.1243, allocations: 404.4 kB / 460.1 MB, free: 7.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.1243, allocations: 33.64 kB / 460.1 MB, free: 7.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.1245, allocations: 156.6 kB / 460.3 MB, free: 7.398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.512e-05/0.1246, allocations: 47.67 kB / 460.3 MB, free: 7.352 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.1247, allocations: 49.69 kB / 460.4 MB, free: 7.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.1249, allocations: 342.8 kB / 460.7 MB, free: 6.953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.125, allocations: 51.97 kB / 460.8 MB, free: 6.902 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.1253, allocations: 188.7 kB / 461 MB, free: 6.672 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.1258, allocations: 196.4 kB / 461.2 MB, free: 6.449 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1258, allocations: 0 / 461.2 MB, free: 6.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006055/0.1264, allocations: 225.3 kB / 461.4 MB, free: 6.223 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1265, allocations: 10.81 kB / 461.4 MB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1265, allocations: 4 kB / 461.4 MB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.1265, allocations: 4 kB / 461.4 MB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.1267, allocations: 31.92 kB / 461.4 MB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.1267, allocations: 11.92 kB / 461.4 MB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.1269, allocations: 24.14 kB / 461.5 MB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.1269, allocations: 8 kB / 461.5 MB, free: 6.133 MB / 430.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.0003212/0.1273, allocations: 184.4 kB / 461.7 MB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.971e-05/0.1273, allocations: 31.77 kB / 461.7 MB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006839/0.128, allocations: 244.7 kB / 461.9 MB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.128, allocations: 0 / 461.9 MB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.128, allocations: 8 kB / 461.9 MB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.128, allocations: 0 / 461.9 MB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.1284, allocations: 221 kB / 462.1 MB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1284, allocations: 0 / 462.1 MB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.746e-05/0.1284, allocations: 12 kB / 462.2 MB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1285, allocations: 0 / 462.2 MB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.1285, allocations: 7.984 kB / 462.2 MB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1285, allocations: 0 / 462.2 MB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1285, allocations: 0 / 462.2 MB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.1291, allocations: 271.3 kB / 462.4 MB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.1292, allocations: 39.69 kB / 462.5 MB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.1292, allocations: 11.98 kB / 462.5 MB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1294, allocations: 4 kB / 462.5 MB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.1294, allocations: 15.97 kB / 462.5 MB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.1295, allocations: 8 kB / 462.5 MB, free: 5.035 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005436/0.13, allocations: 291 kB / 462.8 MB, free: 4.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.13, allocations: 0 / 462.8 MB, free: 4.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005358/0.1305, allocations: 63.92 kB / 462.9 MB, free: 4.688 MB / 430.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.002126/0.1327, allocations: 467.5 kB / 463.3 MB, free: 4.402 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005318/0.1332, allocations: 151.8 kB / 463.5 MB, free: 4.254 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1332, allocations: 0 / 463.5 MB, free: 4.254 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.1336, allocations: 75.89 kB / 463.5 MB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.1342, allocations: 84.42 kB / 463.6 MB, free: 4.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.1354, allocations: 0.4911 MB / 464.1 MB, free: 3.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1356, allocations: 167.1 kB / 464.3 MB, free: 3.402 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.1358, allocations: 46.25 kB / 464.3 MB, free: 3.355 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.136, allocations: 28.48 kB / 464.3 MB, free: 3.328 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.136, allocations: 0 / 464.3 MB, free: 3.328 MB / 430.1 MB Notification: Performance of Templates: time 0.01433/0.1503, allocations: 4.275 MB / 468.6 MB, free: 15.11 MB / 446.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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.646518581081182] Failed to read output from testmodel.py, exit status != 0: 0.16322992194909602 0.18601852999999996 0.063844914 Calling exit ...