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.0006469/0.0006469, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009451/0.001592, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008074/0.0008074, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009705/0.001778, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.162/1.162, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1135/1.275, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.03906/0.03906, allocations: 8.607 MB / 252.6 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007882/0.04695, allocations: 3.125 MB / 255.7 MB, free: 3.602 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 2.655e-06/2.655e-06, allocations: 0 / 257 MB, free: 2.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.697e-05/3.962e-05, allocations: 5.969 kB / 257 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.005691/0.00573, allocations: 2.084 MB / 259.1 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003758/0.009488, allocations: 1.387 MB / 260.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.009803, allocations: 3.938 kB / 260.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.01091, allocations: 279 kB / 260.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008347/0.01174, allocations: 263 kB / 261 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009003/0.01264, allocations: 263.1 kB / 261.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004989/0.01314, allocations: 355 kB / 261.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.01331, allocations: 34.88 kB / 261.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003259/0.01364, allocations: 257.7 kB / 261.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.01382, allocations: 131.6 kB / 262 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.01386, allocations: 16 kB / 262 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.0142, allocations: 119.8 kB / 262.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.01432, allocations: 63.8 kB / 262.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.012e-05/0.0144, allocations: 51.81 kB / 262.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.01482, allocations: 259 kB / 262.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.693e-05/0.01485, allocations: 4 kB / 262.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.01485, allocations: 0 / 262.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.324e-05/0.01488, allocations: 4 kB / 262.5 MB, free: 12.76 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.0009213/0.0158, allocations: 0.5996 MB / 263.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.01584, allocations: 12.02 kB / 263.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.001e-05/0.01591, allocations: 24.92 kB / 263.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.0163, allocations: 254.4 kB / 263.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.01633, allocations: 16.56 kB / 263.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.01635, allocations: 8.375 kB / 263.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.01655, allocations: 96.56 kB / 263.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.01656, allocations: 0 / 263.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.01658, allocations: 15.97 kB / 263.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.01659, allocations: 0 / 263.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.52e-05/0.01665, allocations: 26.42 kB / 263.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.01716, allocations: 253.6 kB / 263.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.01737, allocations: 129.2 kB / 263.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.01741, allocations: 28.84 kB / 263.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.01743, allocations: 8 kB / 263.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.01762, allocations: 106 kB / 264.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.285e-06/0.01762, allocations: 0 / 264.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002375/0.01786, allocations: 137 kB / 264.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.01792, allocations: 51.41 kB / 264.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.01817, allocations: 312.6 kB / 264.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.0182, allocations: 33.7 kB / 264.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.01826, allocations: 121.2 kB / 264.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.0183, allocations: 47.66 kB / 264.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.01836, allocations: 45.69 kB / 264.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.01847, allocations: 346.7 kB / 265.1 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.815e-05/0.01851, allocations: 18.81 kB / 265.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.356e-05/0.0186, allocations: 146.3 kB / 265.3 MB, free: 9.754 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.01874, allocations: 148.8 kB / 265.4 MB, free: 9.574 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.01874, allocations: 4 kB / 265.4 MB, free: 9.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001646/0.01891, allocations: 143.1 kB / 265.6 MB, free: 9.422 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.01893, allocations: 12.19 kB / 265.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01893, allocations: 4 kB / 265.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01895, allocations: 4 kB / 265.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.01907, allocations: 40.05 kB / 265.6 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.01908, allocations: 7.938 kB / 265.6 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.01915, allocations: 27.88 kB / 265.7 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.01916, allocations: 8 kB / 265.7 MB, free: 9.32 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.000164/0.01933, allocations: 147.2 kB / 265.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.01936, allocations: 19.92 kB / 265.8 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.01954, allocations: 120.7 kB / 266 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01954, allocations: 0 / 266 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01954, allocations: 0 / 266 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01955, allocations: 0 / 266 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.01971, allocations: 145.7 kB / 266.1 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01971, allocations: 0 / 266.1 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.01976, allocations: 15.98 kB / 266.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.01979, allocations: 27.75 kB / 266.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01979, allocations: 4 kB / 266.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.0198, allocations: 19.86 kB / 266.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01981, allocations: 0 / 266.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01981, allocations: 3.938 kB / 266.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.01999, allocations: 145.7 kB / 266.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.02002, allocations: 8 kB / 266.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.686e-05/0.02007, allocations: 15.92 kB / 266.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.02012, allocations: 7.984 kB / 266.3 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.02014, allocations: 15.98 kB / 266.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003773/0.02051, allocations: 119.5 kB / 266.5 MB, free: 8.469 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.02052, allocations: 4 kB / 266.5 MB, free: 8.465 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.02075, allocations: 63.92 kB / 266.5 MB, free: 8.402 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.001524/0.02228, allocations: 0.5762 MB / 267.1 MB, free: 8.012 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.02249, allocations: 96.97 kB / 267.2 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/0.02251, allocations: 8.125 kB / 267.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.02258, allocations: 47.73 kB / 267.3 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.02285, allocations: 103.6 kB / 267.4 MB, free: 7.766 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008043/0.02366, allocations: 446.8 kB / 267.8 MB, free: 7.297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.199e-05/0.02372, allocations: 92.55 kB / 267.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.299e-05/0.0238, allocations: 38.27 kB / 267.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.02394, allocations: 99.34 kB / 268 MB, free: 7.055 MB / 266.7 MB Notification: Performance of SimCode: time 1.964e-06/0.02394, allocations: 0 / 268 MB, free: 7.055 MB / 266.7 MB Notification: Performance of Templates: time 0.008053/0.032, allocations: 4.757 MB / 272.8 MB, free: 2.352 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: 3.249776827171445]