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.001016/0.001016, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001617/0.001617, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.998/0.998, allocations: 177.2 MB / 204.5 MB, free: 5.52 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.03787/0.03787, allocations: 8.603 MB / 269.7 MB, free: 4.781 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.012e-06/1.012e-06, allocations: 0 / 342.1 MB, free: 9.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.368e-05, allocations: 8.641 kB / 342.1 MB, free: 9.188 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.002244/0.002257, allocations: 2.018 MB / 344.1 MB, free: 7.152 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.00377, allocations: 1.367 MB / 345.5 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.486e-05/0.003865, allocations: 3.938 kB / 345.5 MB, free: 5.773 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.004452, allocations: 307.1 kB / 345.8 MB, free: 5.473 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.004799, allocations: 270.9 kB / 346.1 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.005142, allocations: 255.2 kB / 346.3 MB, free: 4.957 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.005426, allocations: 378.9 kB / 346.7 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.00553, allocations: 32.86 kB / 346.7 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.00571, allocations: 203.5 kB / 346.9 MB, free: 4.359 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.005902, allocations: 143.6 kB / 347.1 MB, free: 4.219 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.005933, allocations: 20 kB / 347.1 MB, free: 4.199 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.006095, allocations: 123.8 kB / 347.2 MB, free: 4.078 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.985e-05/0.006175, allocations: 91.69 kB / 347.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.54e-05/0.006241, allocations: 75.7 kB / 347.4 MB, free: 3.914 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.006529, allocations: 302.9 kB / 347.7 MB, free: 3.617 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.006531, allocations: 0 / 347.7 MB, free: 3.617 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006531, allocations: 4 kB / 347.7 MB, free: 3.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.006535, allocations: 0 / 347.7 MB, free: 3.613 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.0006436/0.007179, allocations: 0.7166 MB / 348.4 MB, free: 2.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.007207, allocations: 8.031 kB / 348.4 MB, free: 2.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.007267, allocations: 44.69 kB / 348.4 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.007536, allocations: 291.5 kB / 348.7 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.007554, allocations: 8.562 kB / 348.7 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.00757, allocations: 12.36 kB / 348.7 MB, free: 2.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.007718, allocations: 105.6 kB / 348.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.007726, allocations: 0 / 348.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.007739, allocations: 8 kB / 348.8 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.007744, allocations: 0 / 348.8 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.568e-05/0.0078, allocations: 31.97 kB / 348.9 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.008202, allocations: 391.9 kB / 349.3 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.008374, allocations: 107 kB / 349.4 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.008415, allocations: 35.84 kB / 349.4 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.008429, allocations: 0 / 349.4 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.00856, allocations: 108.9 kB / 349.5 MB, free: 1.625 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 9.02e-07/0.008561, allocations: 0 / 349.5 MB, free: 1.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002851/0.008846, allocations: 227.7 kB / 349.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.00888, allocations: 55.41 kB / 349.8 MB, free: 1.332 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.009133, allocations: 402.5 kB / 350.2 MB, free: 0.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.009151, allocations: 33.7 kB / 350.2 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.00926, allocations: 227.2 kB / 350.4 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.009297, allocations: 47.62 kB / 350.5 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.009349, allocations: 59.33 kB / 350.5 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.009502, allocations: 0.5195 MB / 351.1 MB, free: 8 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/0.009545, allocations: 20.27 kB / 351.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.009649, allocations: 192 kB / 351.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.009785, allocations: 168.7 kB / 351.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.009787, allocations: 3.938 kB / 351.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001901/0.009977, allocations: 181.4 kB / 351.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.009993, allocations: 15.97 kB / 351.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.009999, allocations: 0 / 351.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.01001, allocations: 4 kB / 351.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.01009, allocations: 31.98 kB / 351.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.01009, allocations: 7.938 kB / 351.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.59e-05/0.01016, allocations: 23.88 kB / 351.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.01017, allocations: 8 kB / 351.7 MB, free: 15.26 MB / 330.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.0001327/0.0103, allocations: 191.2 kB / 351.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.01034, allocations: 51.67 kB / 351.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.01057, allocations: 200.8 kB / 352.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01057, allocations: 0 / 352.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01057, allocations: 0 / 352.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01058, allocations: 0 / 352.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.01074, allocations: 189.1 kB / 352.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01075, allocations: 0 / 352.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.01078, allocations: 15.94 kB / 352.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01078, allocations: 4 kB / 352.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.01079, allocations: 11.98 kB / 352.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.01079, allocations: 3.938 kB / 352.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01079, allocations: 0 / 352.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.011, allocations: 240.1 kB / 352.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.01104, allocations: 35.7 kB / 352.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.01106, allocations: 4 kB / 352.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.863e-05/0.01111, allocations: 15.92 kB / 352.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.01115, allocations: 15.97 kB / 352.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.01116, allocations: 4 kB / 352.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.01131, allocations: 267 kB / 352.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01131, allocations: 0 / 352.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.01154, allocations: 67.92 kB / 353 MB, free: 13.9 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: 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.0008586/0.0124, allocations: 418 kB / 353.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.01256, allocations: 118.5 kB / 353.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01256, allocations: 0 / 353.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.01262, allocations: 55.59 kB / 353.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.01288, allocations: 88.39 kB / 353.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.01342, allocations: 479.7 kB / 354.1 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.544e-05/0.01351, allocations: 100.3 kB / 354.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.314e-05/0.0136, allocations: 38.95 kB / 354.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.01376, allocations: 122.2 kB / 354.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of SimCode: time 1.713e-06/0.01376, allocations: 0 / 354.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of Templates: time 0.006712/0.02047, allocations: 5.013 MB / 359.4 MB, free: 7.656 MB / 330.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.984148249030113]