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.0008182/0.0008182, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009693/0.001787, 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.0007367/0.0007367, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009231/0.00166, 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.085/1.085, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.188, allocations: 53.66 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.03664/0.03664, allocations: 8.611 MB / 252.6 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006825/0.04347, allocations: 3.128 MB / 255.7 MB, free: 3.598 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 2.364e-06/2.364e-06, allocations: 4 kB / 257 MB, free: 2.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.888e-05, allocations: 2.312 kB / 257 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.002322/0.002341, allocations: 2.076 MB / 259 MB, free: 240 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.004057, allocations: 1.402 MB / 260.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.004166, allocations: 3.938 kB / 260.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005056/0.004671, allocations: 283.1 kB / 260.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.005034, allocations: 270.9 kB / 261 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.005427, allocations: 267.1 kB / 261.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.005749, allocations: 362.9 kB / 261.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.005869, allocations: 38.88 kB / 261.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.006149, allocations: 265.5 kB / 261.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.006299, allocations: 143.6 kB / 262 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.006331, allocations: 24 kB / 262.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.006527, allocations: 123.8 kB / 262.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.006631, allocations: 67.8 kB / 262.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.99e-05/0.006731, allocations: 63.73 kB / 262.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.007136, allocations: 271 kB / 262.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.717e-05/0.007153, allocations: 0 / 262.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007154, allocations: 0 / 262.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.007168, allocations: 0 / 262.6 MB, free: 12.68 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.00077/0.007938, allocations: 0.619 MB / 263.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.007973, allocations: 12.03 kB / 263.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.008029, allocations: 28.91 kB / 263.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.008314, allocations: 260.8 kB / 263.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.008335, allocations: 12.5 kB / 263.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.008352, allocations: 12.38 kB / 263.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.008502, allocations: 100.5 kB / 263.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.00851, allocations: 0 / 263.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.00852, allocations: 0 / 263.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.008528, allocations: 4 kB / 263.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.269e-05/0.008591, allocations: 39.2 kB / 263.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.008972, allocations: 257.6 kB / 263.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.009165, allocations: 133.2 kB / 264 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.009199, allocations: 20.86 kB / 264.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.009213, allocations: 0 / 264.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.009381, allocations: 126 kB / 264.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.009382, allocations: 0 / 264.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002163/0.009598, allocations: 125.2 kB / 264.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.009646, allocations: 59.41 kB / 264.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.009876, allocations: 333 kB / 264.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.009896, allocations: 33.7 kB / 264.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.009964, allocations: 129.4 kB / 264.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.01001, allocations: 47.67 kB / 264.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.01006, allocations: 49.67 kB / 264.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.01018, allocations: 346.7 kB / 265.3 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-05/0.01022, allocations: 30.98 kB / 265.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-05/0.01031, allocations: 142.2 kB / 265.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.01046, allocations: 144.9 kB / 265.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.01046, allocations: 0 / 265.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001535/0.01061, allocations: 147 kB / 265.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.01063, allocations: 15.88 kB / 265.8 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01064, allocations: 4 kB / 265.8 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.01064, allocations: 0 / 265.8 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.01073, allocations: 47.91 kB / 265.8 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01074, allocations: 8.375 kB / 265.8 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.172e-05/0.0108, allocations: 27.84 kB / 265.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.01081, allocations: 7.984 kB / 265.8 MB, free: 9.156 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.0001287/0.01094, allocations: 135.8 kB / 266 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.01096, allocations: 23.97 kB / 266 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.01113, allocations: 132.7 kB / 266.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01114, allocations: 4 kB / 266.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01114, allocations: 0 / 266.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01114, allocations: 0 / 266.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.01128, allocations: 157.6 kB / 266.3 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01128, allocations: 0 / 266.3 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.01131, allocations: 8 kB / 266.3 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.01134, allocations: 35.75 kB / 266.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01135, allocations: 0 / 266.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.01136, allocations: 11.92 kB / 266.3 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01136, allocations: 4 kB / 266.3 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01136, allocations: 0 / 266.3 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.0115, allocations: 157.7 kB / 266.5 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.01152, allocations: 0 / 266.5 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.01157, allocations: 11.98 kB / 266.5 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.01161, allocations: 23.91 kB / 266.5 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.01163, allocations: 4 kB / 266.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.01174, allocations: 139.5 kB / 266.7 MB, free: 8.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01174, allocations: 0 / 266.7 MB, free: 8.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.01193, allocations: 67.89 kB / 266.7 MB, free: 8.203 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.001349/0.01328, allocations: 0.5921 MB / 267.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.01344, allocations: 88.69 kB / 267.4 MB, free: 7.707 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.01345, allocations: 8 kB / 267.4 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.918e-05/0.01351, allocations: 52.03 kB / 267.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.01375, allocations: 108.9 kB / 267.6 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007466/0.0145, allocations: 474.7 kB / 268.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.6e-05/0.01457, allocations: 96.3 kB / 268.1 MB, free: 6.941 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.01464, allocations: 38.94 kB / 268.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.01476, allocations: 103.3 kB / 268.3 MB, free: 6.805 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01476, allocations: 4 kB / 268.3 MB, free: 6.801 MB / 266.7 MB Notification: Performance of Templates: time 0.006982/0.02174, allocations: 4.917 MB / 273.2 MB, free: 1.945 MB / 266.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: 2.9859250150620937]