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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004845/0.004845, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 194.7 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06208/0.06208, allocations: 11.18 MB / 301.7 MB, free: 4.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001948, allocations: 71.39 kB / 417.8 MB, free: 18.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09444/0.0964, allocations: 51.97 MB / 469.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.003475/0.09993, allocations: 1.995 MB / 471.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1021, allocations: 1.251 MB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.1023, allocations: 11.94 kB / 473.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008437/0.1032, allocations: 285 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004393/0.1036, allocations: 187.3 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.1045, allocations: 317.4 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.1049, allocations: 347.1 kB / 474.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.105, allocations: 56.38 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.1052, allocations: 139.5 kB / 474.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.1054, allocations: 131.5 kB / 474.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.1055, allocations: 23.94 kB / 474.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.1057, allocations: 99.92 kB / 474.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1058, allocations: 83.73 kB / 474.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.106, allocations: 119.2 kB / 474.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.1064, allocations: 354.5 kB / 475.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1064, allocations: 4 kB / 475.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1064, allocations: 3.938 kB / 475.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1065, allocations: 0 / 475.2 MB, free: 9.211 MB / 350.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.001034/0.1075, allocations: 0.6455 MB / 475.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1076, allocations: 11.89 kB / 475.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.1076, allocations: 32.75 kB / 475.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.1081, allocations: 336.4 kB / 476.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.1081, allocations: 16.12 kB / 476.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1082, allocations: 8 kB / 476.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.1085, allocations: 150 kB / 476.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1085, allocations: 0 / 476.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1085, allocations: 4 kB / 476.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.1085, allocations: 4 kB / 476.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.1087, allocations: 75.83 kB / 476.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007053/0.1094, allocations: 468.5 kB / 476.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.1098, allocations: 150.6 kB / 477 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.11, allocations: 56.83 kB / 477.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.11, allocations: 4 kB / 477.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.1103, allocations: 135.2 kB / 477.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.1103, allocations: 0 / 477.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006213/0.111, allocations: 264.1 kB / 477.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.111, allocations: 110.8 kB / 477.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.1115, allocations: 384.5 kB / 478 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.1115, allocations: 33.7 kB / 478 MB, free: 6.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1117, allocations: 156.5 kB / 478.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.1117, allocations: 43.64 kB / 478.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.1118, allocations: 45.7 kB / 478.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.112, allocations: 346.7 kB / 478.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1121, allocations: 43.98 kB / 478.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.1123, allocations: 149 kB / 478.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.1127, allocations: 184.4 kB / 478.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1127, allocations: 0 / 478.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004087/0.1131, allocations: 221.2 kB / 479.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1131, allocations: 8 kB / 479.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1131, allocations: 256 / 479.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1131, allocations: 8 kB / 479.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1133, allocations: 39.86 kB / 479.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.1133, allocations: 4 kB / 479.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.1134, allocations: 27.83 kB / 479.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1135, allocations: 11.94 kB / 479.3 MB, free: 4.773 MB / 350.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.0002413/0.1137, allocations: 180.1 kB / 479.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.1138, allocations: 27.81 kB / 479.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.892e-05/0.1138, allocations: 35.08 kB / 479.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1139, allocations: 0 / 479.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.1139, allocations: 3.984 kB / 479.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1139, allocations: 0 / 479.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.1142, allocations: 293.4 kB / 479.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1142, allocations: 0 / 479.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/0.1143, allocations: 8 kB / 479.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1143, allocations: 0 / 479.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1143, allocations: 4 kB / 479.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1143, allocations: 7.938 kB / 479.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1143, allocations: 3.984 kB / 479.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.1147, allocations: 252.6 kB / 480.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.1148, allocations: 104.9 kB / 480.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.1149, allocations: 8 kB / 480.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.115, allocations: 7.984 kB / 480.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.1151, allocations: 19.98 kB / 480.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.1151, allocations: 4 kB / 480.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000316/0.1154, allocations: 283 kB / 480.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1154, allocations: 0 / 480.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003604/0.1158, allocations: 67.83 kB / 480.5 MB, free: 3.383 MB / 350.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,ResetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEvent) * 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.001628/0.1174, allocations: 452.3 kB / 481 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.1178, allocations: 147.8 kB / 481.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1178, allocations: 4 kB / 481.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.118, allocations: 71.91 kB / 481.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.1185, allocations: 74.84 kB / 481.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.1193, allocations: 467.9 kB / 481.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.1199, allocations: 0.7793 MB / 482.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.12, allocations: 50.19 kB / 482.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.1201, allocations: 27.42 kB / 482.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1201, allocations: 4 kB / 482.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of Templates: time 0.008932/0.129, allocations: 4.111 MB / 486.7 MB, free: 13.37 MB / 366.1 MB 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]