Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.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.001149/0.001149, allocations: 92.22 kB / 19.65 MB, free: 276 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.001676/0.001676, allocations: 173 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.9873/0.9873, allocations: 177.2 MB / 203.4 MB, free: 5.625 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.03709/0.03709, allocations: 8.619 MB / 268.6 MB, free: 4.91 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_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.953e-05, allocations: 6.25 kB / 340.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.002197/0.002217, allocations: 2.045 MB / 342.9 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.003737, allocations: 1.371 MB / 344.3 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.003867, allocations: 7.938 kB / 344.3 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006721/0.004539, allocations: 299.1 kB / 344.6 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.004966, allocations: 270.9 kB / 344.9 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.005447, allocations: 255.2 kB / 345.1 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.005752, allocations: 374.9 kB / 345.5 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.005863, allocations: 36.84 kB / 345.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.006098, allocations: 203.4 kB / 345.7 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.006243, allocations: 135.6 kB / 345.8 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.006271, allocations: 20 kB / 345.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.006455, allocations: 123.8 kB / 346 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.116e-05/0.006536, allocations: 91.67 kB / 346.1 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.006602, allocations: 75.7 kB / 346.2 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.006981, allocations: 291 kB / 346.4 MB, free: 2.801 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.006984, allocations: 0 / 346.4 MB, free: 2.801 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006985, allocations: 0 / 346.4 MB, free: 2.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.00699, allocations: 4 kB / 346.4 MB, free: 2.797 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.0006185/0.007608, allocations: 0.7089 MB / 347.2 MB, free: 2.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.007646, allocations: 8.031 kB / 347.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.368e-05/0.00772, allocations: 52.62 kB / 347.2 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.007977, allocations: 279.6 kB / 347.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.007997, allocations: 20.48 kB / 347.5 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.008013, allocations: 16.38 kB / 347.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.008174, allocations: 98.55 kB / 347.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.008182, allocations: 0 / 347.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.008195, allocations: 4 kB / 347.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.008202, allocations: 4 kB / 347.6 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.716e-05/0.008269, allocations: 39.95 kB / 347.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.008689, allocations: 447.4 kB / 348.1 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.008898, allocations: 107.3 kB / 348.2 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/0.008946, allocations: 39.61 kB / 348.2 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.008958, allocations: 0 / 348.2 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.009089, allocations: 120.9 kB / 348.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.009091, allocations: 0 / 348.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003433/0.009434, allocations: 232.3 kB / 348.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.009463, allocations: 67.33 kB / 348.7 MB, free: 428 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.009683, allocations: 406.7 kB / 349 MB, free: 0 / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.009719, allocations: 33.7 kB / 349.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.009827, allocations: 215.3 kB / 349.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.009872, allocations: 47.64 kB / 349.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.009929, allocations: 55.36 kB / 349.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.01007, allocations: 0.5157 MB / 349.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.904e-05/0.01012, allocations: 28.22 kB / 349.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.01023, allocations: 189.5 kB / 350.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.0104, allocations: 180.7 kB / 350.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.0104, allocations: 7.938 kB / 350.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000213/0.01061, allocations: 193.3 kB / 350.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.01063, allocations: 8 kB / 350.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01063, allocations: 0 / 350.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.01065, allocations: 4 kB / 350.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.01073, allocations: 39.92 kB / 350.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.01073, allocations: 3.938 kB / 350.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.218e-05/0.01081, allocations: 27.88 kB / 350.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.01082, allocations: 8 kB / 350.6 MB, free: 14.33 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.0001517/0.01097, allocations: 195.3 kB / 350.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.011, allocations: 43.7 kB / 350.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.01127, allocations: 208.8 kB / 351 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01127, allocations: 4 kB / 351 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01128, allocations: 0 / 351 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01128, allocations: 0 / 351 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.01146, allocations: 232.5 kB / 351.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01146, allocations: 0 / 351.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.01149, allocations: 19.98 kB / 351.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.01149, allocations: 3.938 kB / 351.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.0115, allocations: 7.938 kB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01151, allocations: 0 / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01151, allocations: 0 / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.01173, allocations: 259 kB / 351.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.01177, allocations: 27.75 kB / 351.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.0118, allocations: 15.92 kB / 351.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/0.01185, allocations: 8 kB / 351.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.0119, allocations: 15.97 kB / 351.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.01192, allocations: 12 kB / 351.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001799/0.0121, allocations: 275.1 kB / 351.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0121, allocations: 0 / 351.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.01233, allocations: 67.88 kB / 351.9 MB, free: 12.89 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.0009041/0.01324, allocations: 434.2 kB / 352.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.01346, allocations: 119.5 kB / 352.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01346, allocations: 0 / 352.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.01354, allocations: 63.59 kB / 352.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.01383, allocations: 81.89 kB / 352.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.01438, allocations: 462.9 kB / 353.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.915e-05/0.01444, allocations: 100.2 kB / 353.2 MB, free: 11.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.008e-05/0.01452, allocations: 42.94 kB / 353.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.01458, allocations: 36.48 kB / 353.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01458, allocations: 4 kB / 353.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of Templates: time 0.006977/0.02155, allocations: 4.789 MB / 358.1 MB, free: 6.941 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0189814851619303]