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.0009622/0.0009622, allocations: 93.06 kB / 19.65 MB, free: 280 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.001528/0.001528, allocations: 169 kB / 23.02 MB, free: 1.547 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.9685/0.9685, allocations: 177.1 MB / 203.4 MB, free: 5.586 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.04032/0.04032, allocations: 8.603 MB / 268.5 MB, free: 4.941 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.734e-06/1.734e-06, allocations: 0 / 340.9 MB, free: 9.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.147e-05, allocations: 2.312 kB / 340.9 MB, free: 9.496 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.00374/0.003771, allocations: 2.05 MB / 342.9 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.006244, allocations: 1.378 MB / 344.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.006415, allocations: 7.938 kB / 344.3 MB, free: 6.039 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007865/0.007202, allocations: 287 kB / 344.6 MB, free: 5.758 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005395/0.007741, allocations: 262.9 kB / 344.8 MB, free: 5.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006145/0.008356, allocations: 255.2 kB / 345.1 MB, free: 5.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.008767, allocations: 359 kB / 345.4 MB, free: 4.898 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.008955, allocations: 32.86 kB / 345.5 MB, free: 4.871 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.009173, allocations: 191.5 kB / 345.6 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.009337, allocations: 135.6 kB / 345.8 MB, free: 4.551 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.009372, allocations: 20 kB / 345.8 MB, free: 4.531 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.009593, allocations: 111.8 kB / 345.9 MB, free: 4.422 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.285e-05/0.009686, allocations: 83.69 kB / 346 MB, free: 4.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.009762, allocations: 71.77 kB / 346.1 MB, free: 4.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.01013, allocations: 286.9 kB / 346.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.01013, allocations: 0 / 346.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01014, allocations: 0 / 346.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.01014, allocations: 0 / 346.3 MB, free: 3.988 MB / 314.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.0009114/0.01105, allocations: 0.6817 MB / 347 MB, free: 3.258 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.01111, allocations: 8.031 kB / 347 MB, free: 3.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.981e-05/0.01121, allocations: 44.73 kB / 347.1 MB, free: 3.207 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.01159, allocations: 285.2 kB / 347.4 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.01162, allocations: 12.55 kB / 347.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.01164, allocations: 12.38 kB / 347.4 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.01184, allocations: 113.5 kB / 347.5 MB, free: 2.754 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.01184, allocations: 0 / 347.5 MB, free: 2.754 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.01186, allocations: 0 / 347.5 MB, free: 2.754 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.01187, allocations: 4 kB / 347.5 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.585e-05/0.01194, allocations: 35.97 kB / 347.5 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.01249, allocations: 443.3 kB / 348 MB, free: 2.246 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.01268, allocations: 107.2 kB / 348.1 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.01273, allocations: 31.67 kB / 348.1 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.01275, allocations: 7.938 kB / 348.1 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.01292, allocations: 108.9 kB / 348.2 MB, free: 1.965 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.01293, allocations: 0 / 348.2 MB, free: 1.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003691/0.01329, allocations: 221.3 kB / 348.4 MB, free: 1.742 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.01333, allocations: 63.41 kB / 348.5 MB, free: 1.668 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.01362, allocations: 366.3 kB / 348.8 MB, free: 1.297 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.01364, allocations: 33.7 kB / 348.9 MB, free: 1.258 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.01374, allocations: 215.3 kB / 349.1 MB, free: 1.043 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.01378, allocations: 47.64 kB / 349.1 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.01383, allocations: 47.36 kB / 349.2 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.01397, allocations: 0.5196 MB / 349.7 MB, free: 420 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.903e-05/0.01402, allocations: 23.98 kB / 349.7 MB, free: 396 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.01413, allocations: 183.6 kB / 349.9 MB, free: 148 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.01431, allocations: 176.7 kB / 350.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01431, allocations: 0 / 350.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000221/0.01453, allocations: 197.2 kB / 350.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.01454, allocations: 4 kB / 350.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01455, allocations: 4 kB / 350.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.01457, allocations: 4 kB / 350.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.01467, allocations: 35.91 kB / 350.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.01468, allocations: 7.938 kB / 350.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.01475, allocations: 23.84 kB / 350.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.01476, allocations: 8 kB / 350.4 MB, free: 15.64 MB / 330.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.0001459/0.01491, allocations: 192.3 kB / 350.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.01494, allocations: 39.75 kB / 350.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.01521, allocations: 205.8 kB / 350.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01521, allocations: 4 kB / 350.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.01522, allocations: 0 / 350.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01522, allocations: 0 / 350.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.0154, allocations: 220.5 kB / 351 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.0154, allocations: 4 kB / 351 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.01544, allocations: 16 kB / 351 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01544, allocations: 3.938 kB / 351 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.01545, allocations: 7.984 kB / 351 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.01546, allocations: 3.938 kB / 351 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01546, allocations: 0 / 351 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.01569, allocations: 234.6 kB / 351.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.01572, allocations: 39.67 kB / 351.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.01575, allocations: 4 kB / 351.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.0158, allocations: 11.98 kB / 351.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.01584, allocations: 15.98 kB / 351.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.01586, allocations: 11.98 kB / 351.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001713/0.01603, allocations: 255 kB / 351.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01603, allocations: 0 / 351.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.01626, allocations: 67.88 kB / 351.7 MB, free: 14.26 MB / 330.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.0009124/0.01717, allocations: 429.7 kB / 352.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.01737, allocations: 115.7 kB / 352.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01737, allocations: 0 / 352.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.01745, allocations: 60.09 kB / 352.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.01772, allocations: 91.56 kB / 352.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.01825, allocations: 434.5 kB / 352.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.277e-05/0.01831, allocations: 92.53 kB / 352.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.594e-05/0.01839, allocations: 34.27 kB / 352.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.01844, allocations: 40.48 kB / 352.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01844, allocations: 0 / 352.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of Templates: time 0.006235/0.02468, allocations: 4.304 MB / 357.2 MB, free: 8.824 MB / 330.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: 3.108380722347647]