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.0006462/0.0006462, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009059/0.001552, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007042/0.0007042, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008863/0.00159, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9562/0.9562, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07705/1.033, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.044/0.044, allocations: 8.608 MB / 252.7 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007468/0.05147, allocations: 3.137 MB / 255.9 MB, free: 3.508 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.383e-06/1.383e-06, allocations: 0 / 257.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.445e-05, allocations: 2.312 kB / 257.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.002304/0.002319, allocations: 2.087 MB / 259.3 MB, free: 104 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.004021, allocations: 1.387 MB / 260.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.004133, allocations: 7.938 kB / 260.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.004646, allocations: 279 kB / 260.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.005029, allocations: 270.8 kB / 261.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.005483, allocations: 255.1 kB / 261.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.005795, allocations: 355.1 kB / 261.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.005894, allocations: 38.86 kB / 261.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.006154, allocations: 261.5 kB / 262.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.006308, allocations: 131.6 kB / 262.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.006337, allocations: 16 kB / 262.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.006538, allocations: 115.8 kB / 262.3 MB, free: 13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.006623, allocations: 75.72 kB / 262.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.563e-05/0.006679, allocations: 47.88 kB / 262.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.006955, allocations: 262.9 kB / 262.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.006967, allocations: 0 / 262.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006967, allocations: 4 kB / 262.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.006977, allocations: 0 / 262.7 MB, free: 12.62 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.0006213/0.007598, allocations: 0.5919 MB / 263.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.007626, allocations: 11.98 kB / 263.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.007675, allocations: 24.91 kB / 263.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.007915, allocations: 254.4 kB / 263.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.007933, allocations: 16.55 kB / 263.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.00795, allocations: 12.38 kB / 263.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.008081, allocations: 100.4 kB / 263.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.008089, allocations: 7.922 kB / 263.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.008099, allocations: 4 kB / 263.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.008104, allocations: 0 / 263.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.008148, allocations: 31.91 kB / 263.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.008467, allocations: 253.6 kB / 264 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.00862, allocations: 137.2 kB / 264.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.432e-05/0.008654, allocations: 32.58 kB / 264.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.008667, allocations: 4 kB / 264.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.0088, allocations: 110 kB / 264.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.008801, allocations: 0 / 264.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002014/0.009002, allocations: 117.5 kB / 264.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.009038, allocations: 67.39 kB / 264.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.00927, allocations: 300.6 kB / 264.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.009288, allocations: 33.7 kB / 264.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.00934, allocations: 129.2 kB / 264.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.009372, allocations: 39.67 kB / 265 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.009416, allocations: 45.67 kB / 265 MB, free: 10.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.009502, allocations: 346.7 kB / 265.4 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.009528, allocations: 18.83 kB / 265.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.009602, allocations: 152.8 kB / 265.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.009769, allocations: 144.8 kB / 265.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009772, allocations: 0 / 265.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001357/0.009907, allocations: 155 kB / 265.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.009919, allocations: 11.94 kB / 265.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.009923, allocations: 0 / 265.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.009935, allocations: 4 kB / 265.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.01002, allocations: 35.92 kB / 265.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01003, allocations: 4 kB / 265.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.938e-05/0.01009, allocations: 23.88 kB / 265.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.0101, allocations: 12 kB / 265.9 MB, free: 9.188 MB / 266.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.0001088/0.0102, allocations: 143.4 kB / 266 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.01023, allocations: 27.91 kB / 266.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.01036, allocations: 124.7 kB / 266.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01037, allocations: 0 / 266.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.01037, allocations: 4 kB / 266.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.01037, allocations: 0 / 266.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.01049, allocations: 137.7 kB / 266.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01049, allocations: 0 / 266.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.01052, allocations: 20.05 kB / 266.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.01055, allocations: 31.75 kB / 266.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01055, allocations: 8 kB / 266.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01056, allocations: 7.922 kB / 266.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01056, allocations: 3.984 kB / 266.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01056, allocations: 0 / 266.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.01067, allocations: 141.9 kB / 266.5 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.0107, allocations: 11.98 kB / 266.6 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.852e-05/0.01074, allocations: 7.938 kB / 266.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.01077, allocations: 19.97 kB / 266.6 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.01078, allocations: 4 kB / 266.6 MB, free: 8.457 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.629e-05/0.01088, allocations: 127.4 kB / 266.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01088, allocations: 0 / 266.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000179/0.01106, allocations: 63.92 kB / 266.8 MB, free: 8.27 MB / 266.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.001177/0.01223, allocations: 0.5826 MB / 267.4 MB, free: 7.871 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.01238, allocations: 100.5 kB / 267.5 MB, free: 7.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.649e-06/0.01239, allocations: 8 kB / 267.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.179e-05/0.01245, allocations: 56.81 kB / 267.5 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.01287, allocations: 449.1 kB / 268 MB, free: 7.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.01344, allocations: 441.9 kB / 268.4 MB, free: 6.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.01349, allocations: 89.3 kB / 268.5 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.447e-05/0.01356, allocations: 46.25 kB / 268.5 MB, free: 6.586 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.01367, allocations: 99.34 kB / 268.6 MB, free: 6.488 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01367, allocations: 3.938 kB / 268.6 MB, free: 6.484 MB / 266.7 MB Notification: Performance of Templates: time 0.006112/0.01978, allocations: 4.784 MB / 273.4 MB, free: 1.754 MB / 266.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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.682477987371385]