Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.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.0008552/0.0008552, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009881/0.001843, 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.0007283/0.0007283, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009298/0.001658, 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.183/1.183, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1049/1.287, 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.04609/0.04609, allocations: 8.601 MB / 252.6 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008707/0.0548, allocations: 3.14 MB / 255.7 MB, free: 3.59 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_OffDelay_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 257 MB, free: 2.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.792e-05, allocations: 6.25 kB / 257 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.002854/0.002882, allocations: 2.08 MB / 259.1 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.004879, allocations: 1.402 MB / 260.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.005005, allocations: 4 kB / 260.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.005601, allocations: 295 kB / 260.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.005993, allocations: 270.9 kB / 261 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.006441, allocations: 259.2 kB / 261.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006328/0.007074, allocations: 370.9 kB / 261.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.007199, allocations: 34.88 kB / 261.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.007473, allocations: 273.3 kB / 261.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.007626, allocations: 143.6 kB / 262.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.007655, allocations: 24 kB / 262.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.007861, allocations: 119.8 kB / 262.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.007979, allocations: 75.78 kB / 262.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.008079, allocations: 63.73 kB / 262.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.008453, allocations: 278.9 kB / 262.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.957e-05/0.008472, allocations: 0 / 262.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.008473, allocations: 0 / 262.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.076e-05/0.008494, allocations: 4 kB / 262.6 MB, free: 12.64 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.0007617/0.009256, allocations: 0.6267 MB / 263.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.009289, allocations: 11.98 kB / 263.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.009342, allocations: 32.91 kB / 263.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.009641, allocations: 260.8 kB / 263.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.009668, allocations: 12.56 kB / 263.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.009689, allocations: 12.38 kB / 263.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.009848, allocations: 100.5 kB / 263.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.009859, allocations: 3.938 kB / 263.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.00987, allocations: 0 / 263.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.009877, allocations: 4 kB / 263.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.6e-05/0.009933, allocations: 30.41 kB / 263.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.01031, allocations: 257.7 kB / 264 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.0105, allocations: 137.2 kB / 264.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.01054, allocations: 24.84 kB / 264.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.01055, allocations: 0 / 264.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.01071, allocations: 118 kB / 264.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.01072, allocations: 0 / 264.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002194/0.01094, allocations: 129.5 kB / 264.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.01099, allocations: 55.41 kB / 264.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.01123, allocations: 341 kB / 264.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.01125, allocations: 33.7 kB / 264.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.01131, allocations: 129.4 kB / 264.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.01135, allocations: 55.61 kB / 265 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.0114, allocations: 45.69 kB / 265 MB, free: 10.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.01152, allocations: 350.7 kB / 265.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.626e-05/0.01154, allocations: 19.06 kB / 265.4 MB, free: 9.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.01164, allocations: 154 kB / 265.5 MB, free: 9.531 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.01177, allocations: 148.9 kB / 265.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01177, allocations: 0 / 265.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001664/0.01194, allocations: 147 kB / 265.8 MB, free: 9.199 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.01196, allocations: 14.91 kB / 265.8 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01196, allocations: 0 / 265.8 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.01198, allocations: 4 kB / 265.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.01207, allocations: 39.92 kB / 265.9 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.01207, allocations: 12.36 kB / 265.9 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.01214, allocations: 23.89 kB / 265.9 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.01215, allocations: 11.98 kB / 265.9 MB, free: 9.098 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: timer.Sd:DISCRETE(fixed = true ) type: Boolean timer.Q:DISCRETE(flow=false fixed = true ) \"status of the timer\" 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: 23 ($PRE.timer.Sd,timer.Sd,timer.run,$PRE.timer.run,timer.startTime,$PRE.timer.startTime,$PRE.timer.Q,timer.Q,$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,SetSignal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001478/0.0123, allocations: 139.8 kB / 266 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.01233, allocations: 23.97 kB / 266.1 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.0125, allocations: 132.8 kB / 266.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.0125, allocations: 8 kB / 266.2 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01251, allocations: 0 / 266.2 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01251, allocations: 0 / 266.2 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.01267, allocations: 153.6 kB / 266.4 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01267, allocations: 0 / 266.4 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.01271, allocations: 11.94 kB / 266.4 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.01274, allocations: 35.75 kB / 266.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01274, allocations: 0 / 266.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.01276, allocations: 11.92 kB / 266.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01276, allocations: 4 kB / 266.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.01276, allocations: 0 / 266.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.01291, allocations: 153.8 kB / 266.6 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.01293, allocations: 0 / 266.6 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.842e-05/0.01298, allocations: 11.98 kB / 266.6 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.01303, allocations: 23.91 kB / 266.6 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.01304, allocations: 7.938 kB / 266.6 MB, free: 8.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.01316, allocations: 143.5 kB / 266.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01316, allocations: 0 / 266.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.01335, allocations: 63.94 kB / 266.8 MB, free: 8.137 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.y,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.run,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 (19): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001313/0.01466, allocations: 0.5912 MB / 267.4 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.01482, allocations: 96.64 kB / 267.5 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.01483, allocations: 4 kB / 267.5 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.081e-05/0.01491, allocations: 56.2 kB / 267.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.01513, allocations: 106 kB / 267.7 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.01579, allocations: 478.6 kB / 268.1 MB, free: 6.977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.459e-05/0.01586, allocations: 96.3 kB / 268.2 MB, free: 6.863 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.545e-05/0.01594, allocations: 38.95 kB / 268.3 MB, free: 6.828 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.01606, allocations: 107.3 kB / 268.4 MB, free: 6.723 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01606, allocations: 4 kB / 268.4 MB, free: 6.719 MB / 266.7 MB Notification: Performance of Templates: time 0.007655/0.02371, allocations: 4.97 MB / 273.3 MB, free: 1.809 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8526326306164265]