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.001094/0.001094, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.00103/0.00103, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9181/0.9181, allocations: 177.1 MB / 203.7 MB, free: 5.477 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.05781/0.05781, allocations: 8.609 MB / 268.9 MB, free: 4.734 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.603e-06/1.603e-06, allocations: 0 / 341.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.203e-05, allocations: 2.312 kB / 341.3 MB, free: 8.094 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.001983/0.001995, allocations: 2.029 MB / 343.4 MB, free: 6.051 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.00356, allocations: 1.36 MB / 344.7 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.003683, allocations: 3.938 kB / 344.7 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005517/0.004234, allocations: 315 kB / 345 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.004581, allocations: 274.9 kB / 345.3 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.004988, allocations: 251.2 kB / 345.5 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.005244, allocations: 375 kB / 345.9 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.454e-05/0.005329, allocations: 40.83 kB / 345.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.005484, allocations: 207.5 kB / 346.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.005591, allocations: 139.6 kB / 346.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.005614, allocations: 20 kB / 346.3 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.005757, allocations: 119.8 kB / 346.4 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.00582, allocations: 95.67 kB / 346.5 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.00587, allocations: 75.7 kB / 346.6 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.006115, allocations: 306.8 kB / 346.9 MB, free: 2.504 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.006116, allocations: 0 / 346.9 MB, free: 2.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006117, allocations: 0 / 346.9 MB, free: 2.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.00612, allocations: 0 / 346.9 MB, free: 2.504 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.0004547/0.006575, allocations: 0.7127 MB / 347.6 MB, free: 1.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.006602, allocations: 8.031 kB / 347.6 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.006652, allocations: 48.69 kB / 347.7 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.006845, allocations: 291.6 kB / 347.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.006883, allocations: 8.562 kB / 347.9 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.006901, allocations: 8.375 kB / 348 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.007033, allocations: 94.55 kB / 348 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.007039, allocations: 0 / 348 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.007049, allocations: 11.98 kB / 348.1 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.007053, allocations: 4 kB / 348.1 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.624e-05/0.007099, allocations: 35.91 kB / 348.1 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.00743, allocations: 392 kB / 348.5 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.007569, allocations: 107.2 kB / 348.6 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.007602, allocations: 27.67 kB / 348.6 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.007614, allocations: 4 kB / 348.6 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.007718, allocations: 115.6 kB / 348.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.007719, allocations: 3.938 kB / 348.7 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002452/0.007965, allocations: 213.3 kB / 348.9 MB, free: 308 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/0.007981, allocations: 59.39 kB / 349 MB, free: 236 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.008198, allocations: 402.5 kB / 349.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.008216, allocations: 33.7 kB / 349.4 MB, free: 15.78 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.008314, allocations: 227.2 kB / 349.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.00835, allocations: 51.61 kB / 349.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.008399, allocations: 51.34 kB / 349.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.00854, allocations: 0.5312 MB / 350.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/0.008566, allocations: 16.22 kB / 350.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-05/0.008666, allocations: 191.2 kB / 350.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.008792, allocations: 160.8 kB / 350.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.008794, allocations: 0 / 350.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001678/0.008962, allocations: 185.2 kB / 350.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.008974, allocations: 11.94 kB / 350.8 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.008979, allocations: 0 / 350.8 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.008993, allocations: 8.234 kB / 350.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.009061, allocations: 39.92 kB / 350.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.009065, allocations: 0 / 350.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.009126, allocations: 23.89 kB / 350.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.009135, allocations: 8 kB / 350.9 MB, free: 14.16 MB / 282.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.0001266/0.009262, allocations: 195 kB / 351.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.009297, allocations: 43.7 kB / 351.1 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.009517, allocations: 211.5 kB / 351.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.009519, allocations: 0 / 351.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.00952, allocations: 0 / 351.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.009525, allocations: 3.984 kB / 351.4 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.009668, allocations: 189.1 kB / 351.5 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.009669, allocations: 0 / 351.5 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.009692, allocations: 12 kB / 351.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.009694, allocations: 0 / 351.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.009705, allocations: 11.98 kB / 351.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.009706, allocations: 3.938 kB / 351.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.009708, allocations: 4 kB / 351.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.0099, allocations: 240.1 kB / 351.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.009933, allocations: 35.69 kB / 351.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.009958, allocations: 12.06 kB / 351.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/0.01, allocations: 15.92 kB / 351.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.01004, allocations: 15.92 kB / 351.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.01005, allocations: 11.98 kB / 351.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.01018, allocations: 255 kB / 352.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01018, allocations: 0 / 352.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.01039, allocations: 67.92 kB / 352.2 MB, free: 12.8 MB / 282.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.0007637/0.01115, allocations: 412.3 kB / 352.6 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.01129, allocations: 116.8 kB / 352.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.61e-07/0.01129, allocations: 0 / 352.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.927e-05/0.01135, allocations: 66.33 kB / 352.8 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.01159, allocations: 86.89 kB / 352.9 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.01203, allocations: 462.8 kB / 353.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.509e-05/0.01209, allocations: 108.1 kB / 353.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.905e-05/0.01216, allocations: 43.45 kB / 353.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.01226, allocations: 118.2 kB / 353.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01227, allocations: 0 / 353.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of Templates: time 0.006257/0.01852, allocations: 4.942 MB / 358.5 MB, free: 6.645 MB / 282.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.88808935880661]