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.001873/0.001873, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.002467/0.002467, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.51/1.51, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.0662/0.0662, allocations: 8.612 MB / 268.2 MB, free: 4.934 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.834e-06/1.834e-06, allocations: 0 / 340.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.817e-05, allocations: 2.312 kB / 340.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.003127/0.003156, allocations: 1.976 MB / 342.1 MB, free: 6.738 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.005475, allocations: 1.331 MB / 343.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.005667, allocations: 7.938 kB / 343.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00087/0.006537, allocations: 287 kB / 343.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006092/0.007147, allocations: 255 kB / 344 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.007795, allocations: 251.2 kB / 344.2 MB, free: 4.617 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.008212, allocations: 363 kB / 344.6 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.008343, allocations: 36.91 kB / 344.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.008604, allocations: 191.5 kB / 344.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.00878, allocations: 131.6 kB / 344.9 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.008818, allocations: 20 kB / 345 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.009029, allocations: 127.7 kB / 345.1 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.667e-05/0.009125, allocations: 79.69 kB / 345.2 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.009213, allocations: 67.77 kB / 345.2 MB, free: 3.621 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.009638, allocations: 374.8 kB / 345.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.009641, allocations: 0 / 345.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.009642, allocations: 0 / 345.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.00965, allocations: 4 kB / 345.6 MB, free: 3.25 MB / 266.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.0009137/0.01056, allocations: 0.5857 MB / 346.2 MB, free: 2.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.0106, allocations: 11.97 kB / 346.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.0107, allocations: 40.75 kB / 346.2 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.01108, allocations: 277.7 kB / 346.5 MB, free: 2.273 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.0111, allocations: 8.562 kB / 346.5 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.01112, allocations: 8.375 kB / 346.5 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.01138, allocations: 132 kB / 346.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.01139, allocations: 0 / 346.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.0114, allocations: 4 kB / 346.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.01141, allocations: 8 kB / 346.7 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.01157, allocations: 71.95 kB / 346.7 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.01219, allocations: 392.1 kB / 347.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.01249, allocations: 130.7 kB / 347.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.01261, allocations: 52.83 kB / 347.3 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.01263, allocations: 7.938 kB / 347.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.01286, allocations: 139.3 kB / 347.4 MB, free: 1.281 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.01286, allocations: 0 / 347.4 MB, free: 1.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000563/0.01342, allocations: 289.2 kB / 347.7 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.01345, allocations: 59.41 kB / 347.8 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.01378, allocations: 400.5 kB / 348.2 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.0138, allocations: 33.7 kB / 348.2 MB, free: 496 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.01388, allocations: 156.6 kB / 348.4 MB, free: 336 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.01392, allocations: 43.69 kB / 348.4 MB, free: 292 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.01398, allocations: 45.7 kB / 348.4 MB, free: 240 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.01411, allocations: 346.8 kB / 348.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.01424, allocations: 47.97 kB / 348.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.0145, allocations: 187.6 kB / 349 MB, free: 15.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.0149, allocations: 204.3 kB / 349.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01491, allocations: 0 / 349.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004882/0.01539, allocations: 241.1 kB / 349.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.01541, allocations: 4 kB / 349.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.01542, allocations: 8.25 kB / 349.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.01544, allocations: 4 kB / 349.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.01558, allocations: 31.92 kB / 349.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.01559, allocations: 4 kB / 349.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.01572, allocations: 19.88 kB / 349.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.01574, allocations: 12 kB / 349.5 MB, free: 15.05 MB / 282.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.000259/0.016, allocations: 184.2 kB / 349.7 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.01608, allocations: 43.7 kB / 349.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.01661, allocations: 240.7 kB / 350 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.01662, allocations: 4 kB / 350 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01663, allocations: 128 / 350 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01663, allocations: 0 / 350 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.01694, allocations: 217.2 kB / 350.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.01694, allocations: 4 kB / 350.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.017, allocations: 11.94 kB / 350.2 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.01701, allocations: 3.938 kB / 350.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.01702, allocations: 11.98 kB / 350.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.01703, allocations: 0 / 350.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01703, allocations: 0 / 350.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.01755, allocations: 268.8 kB / 350.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.01761, allocations: 35.67 kB / 350.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.01766, allocations: 8 kB / 350.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.01776, allocations: 11.98 kB / 350.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.01782, allocations: 7.984 kB / 350.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.01785, allocations: 15.98 kB / 350.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003765/0.01823, allocations: 291 kB / 350.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01823, allocations: 4 kB / 350.9 MB, free: 13.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.01858, allocations: 63.88 kB / 350.9 MB, free: 13.59 MB / 282.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.002164/0.02074, allocations: 471.8 kB / 351.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000436/0.02118, allocations: 155.8 kB / 351.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02118, allocations: 0.5 kB / 351.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.02137, allocations: 79.8 kB / 351.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.02186, allocations: 95.16 kB / 351.7 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.02288, allocations: 0.4973 MB / 352.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.02309, allocations: 163.1 kB / 352.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.02323, allocations: 38.27 kB / 352.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.828e-05/0.02331, allocations: 36.48 kB / 352.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02331, allocations: 0 / 352.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of Templates: time 0.01001/0.03332, allocations: 4.296 MB / 356.7 MB, free: 7.977 MB / 282.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.632315760012716]