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.0008531/0.0008531, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007779/0.0007779, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8699/0.8699, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.03414/0.03414, allocations: 8.6 MB / 268.5 MB, free: 5.113 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 396.3 MB, free: 2.156 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.747e-05, allocations: 10.22 kB / 396.3 MB, free: 2.145 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.002194/0.002211, allocations: 1.967 MB / 398.3 MB, free: 172 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.003753, allocations: 1.333 MB / 399.6 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.003866, allocations: 3.938 kB / 399.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.004485, allocations: 298.5 kB / 399.9 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.004865, allocations: 255 kB / 400.2 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.005295, allocations: 255.2 kB / 400.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.005598, allocations: 367 kB / 400.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.005705, allocations: 32.83 kB / 400.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.005882, allocations: 191.5 kB / 401 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.006017, allocations: 131.6 kB / 401.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.006046, allocations: 20 kB / 401.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.00621, allocations: 115.8 kB / 401.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.006296, allocations: 79.69 kB / 401.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.88e-05/0.006365, allocations: 75.77 kB / 401.4 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.006704, allocations: 378.8 kB / 401.8 MB, free: 12.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006706, allocations: 3.938 kB / 401.8 MB, free: 12.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006707, allocations: 0 / 401.8 MB, free: 12.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.006712, allocations: 0 / 401.8 MB, free: 12.67 MB / 378.7 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.0006792/0.007391, allocations: 0.5819 MB / 402.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.007424, allocations: 8.031 kB / 402.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.007484, allocations: 36.7 kB / 402.4 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.007782, allocations: 277.6 kB / 402.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.007799, allocations: 8.562 kB / 402.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.007818, allocations: 12.38 kB / 402.7 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.008012, allocations: 129.9 kB / 402.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.008021, allocations: 3.984 kB / 402.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.008035, allocations: 8 kB / 402.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.008039, allocations: 0 / 402.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.008154, allocations: 75.75 kB / 402.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.00862, allocations: 392.2 kB / 403.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.008835, allocations: 134.8 kB / 403.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.008906, allocations: 56.2 kB / 403.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.008922, allocations: 7.938 kB / 403.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.009092, allocations: 131.2 kB / 403.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.009093, allocations: 0 / 403.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003966/0.00949, allocations: 282.4 kB / 403.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.009523, allocations: 59.41 kB / 404 MB, free: 10.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.009809, allocations: 396.5 kB / 404.3 MB, free: 9.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.009826, allocations: 33.7 kB / 404.4 MB, free: 9.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.009917, allocations: 164.5 kB / 404.5 MB, free: 9.762 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.009952, allocations: 47.67 kB / 404.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.009999, allocations: 41.7 kB / 404.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.0101, allocations: 346.8 kB / 405 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.01017, allocations: 43.92 kB / 405 MB, free: 9.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.01029, allocations: 189.6 kB / 405.2 MB, free: 9.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.0105, allocations: 188.5 kB / 405.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.0105, allocations: 4 kB / 405.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002419/0.01074, allocations: 249 kB / 405.6 MB, free: 8.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.01076, allocations: 8 kB / 405.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01076, allocations: 0 / 405.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.01077, allocations: 4 kB / 405.6 MB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.01085, allocations: 31.92 kB / 405.7 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.01086, allocations: 4 kB / 405.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-05/0.01093, allocations: 24.12 kB / 405.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.01094, allocations: 12 kB / 405.7 MB, free: 8.492 MB / 378.7 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.0001487/0.01108, allocations: 180.2 kB / 405.9 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.01112, allocations: 35.75 kB / 405.9 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.01141, allocations: 244.6 kB / 406.2 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01142, allocations: 4 kB / 406.2 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.01142, allocations: 4 kB / 406.2 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01142, allocations: 3.984 kB / 406.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.01158, allocations: 213.2 kB / 406.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01158, allocations: 0 / 406.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.01161, allocations: 20.05 kB / 406.4 MB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.01161, allocations: 7.938 kB / 406.4 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.01162, allocations: 4 kB / 406.4 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01162, allocations: 3.984 kB / 406.4 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01163, allocations: 4 kB / 406.4 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.01187, allocations: 261.8 kB / 406.7 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.0119, allocations: 39.69 kB / 406.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.01192, allocations: 4 kB / 406.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-05/0.01197, allocations: 11.98 kB / 406.7 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.01201, allocations: 15.97 kB / 406.7 MB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.01202, allocations: 4 kB / 406.7 MB, free: 7.379 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.01223, allocations: 299 kB / 407 MB, free: 7.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01223, allocations: 0 / 407 MB, free: 7.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002169/0.01244, allocations: 63.92 kB / 407.1 MB, free: 7.02 MB / 378.7 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.0007143/0.01316, allocations: 480.9 kB / 407.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.01339, allocations: 143.8 kB / 407.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01339, allocations: 0 / 407.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.01348, allocations: 71.91 kB / 407.8 MB, free: 6.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.01372, allocations: 70.8 kB / 407.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.01428, allocations: 0.5092 MB / 408.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.01439, allocations: 167.1 kB / 408.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.01444, allocations: 32.48 kB / 408.6 MB, free: 5.695 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.01444, allocations: 0 / 408.6 MB, free: 5.695 MB / 378.7 MB Notification: Performance of Templates: time 0.004637/0.01907, allocations: 4.546 MB / 413.1 MB, free: 1.16 MB / 378.7 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: 4.8782989513129] Failed to read output from testmodel.py, exit status != 0: 0.023609759286046028 0.031444104 0.023136055000000003 Calling exit ...