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.0006357/0.0006357, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001704, allocations: 440 kB / 10.41 MB, free: 284 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.0006856/0.0006856, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008793/0.001565, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9818/0.9818, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07954/1.061, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.03636/0.03636, allocations: 8.606 MB / 252.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006337/0.0427, allocations: 3.137 MB / 255.9 MB, free: 3.492 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 3.076e-06/3.076e-06, allocations: 7.922 kB / 257.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.541e-05, allocations: 6.25 kB / 257.2 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003491/0.003516, allocations: 2.083 MB / 259.3 MB, free: 100 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.00592, allocations: 1.398 MB / 260.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.006055, allocations: 3.938 kB / 260.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.006745, allocations: 291 kB / 260.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.007258, allocations: 278.8 kB / 261.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.007827, allocations: 263.1 kB / 261.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.008239, allocations: 359 kB / 261.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.008365, allocations: 42.86 kB / 261.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000388/0.008753, allocations: 265.5 kB / 262.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.008948, allocations: 139.7 kB / 262.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.008986, allocations: 20 kB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.00924, allocations: 131.7 kB / 262.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.009346, allocations: 71.78 kB / 262.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.009458, allocations: 55.81 kB / 262.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.009845, allocations: 274.9 kB / 262.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/0.009857, allocations: 0 / 262.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.009858, allocations: 0 / 262.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.009869, allocations: 0 / 262.8 MB, free: 12.53 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.0009362/0.01081, allocations: 0.6228 MB / 263.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.01084, allocations: 12.03 kB / 263.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.01091, allocations: 24.91 kB / 263.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.01125, allocations: 260.8 kB / 263.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.01127, allocations: 8.562 kB / 263.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.0113, allocations: 12.38 kB / 263.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.01149, allocations: 108.4 kB / 263.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.0115, allocations: 0 / 263.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.01152, allocations: 4 kB / 263.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.01152, allocations: 0 / 263.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.01159, allocations: 31.97 kB / 263.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.01207, allocations: 261.6 kB / 264.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.0123, allocations: 129.2 kB / 264.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.01235, allocations: 28.84 kB / 264.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.01236, allocations: 7.938 kB / 264.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.01254, allocations: 114 kB / 264.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.963e-06/0.01254, allocations: 0 / 264.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002573/0.0128, allocations: 129.2 kB / 264.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.01284, allocations: 59.34 kB / 264.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.01314, allocations: 333 kB / 264.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.01317, allocations: 33.69 kB / 265 MB, free: 10.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.01324, allocations: 129.4 kB / 265.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.01328, allocations: 47.66 kB / 265.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/0.01335, allocations: 41.69 kB / 265.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.01348, allocations: 354.7 kB / 265.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.071e-05/0.01352, allocations: 27.05 kB / 265.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.01363, allocations: 144.6 kB / 265.7 MB, free: 9.445 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.01383, allocations: 144.8 kB / 265.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01383, allocations: 4 kB / 265.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002143/0.01405, allocations: 147.1 kB / 266 MB, free: 9.113 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.01406, allocations: 7.938 kB / 266 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01407, allocations: 4 kB / 266 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.01409, allocations: 4 kB / 266 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.01421, allocations: 44.16 kB / 266 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.01422, allocations: 7.938 kB / 266 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01432, allocations: 23.84 kB / 266.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.01433, allocations: 8 kB / 266.1 MB, free: 9.016 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.0001567/0.01449, allocations: 139.9 kB / 266.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.01453, allocations: 27.91 kB / 266.2 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.01474, allocations: 132.8 kB / 266.4 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01474, allocations: 0 / 266.4 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01475, allocations: 0 / 266.4 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01475, allocations: 4 kB / 266.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.01493, allocations: 153.6 kB / 266.5 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01493, allocations: 3.938 kB / 266.5 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.01497, allocations: 12 kB / 266.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.01501, allocations: 27.75 kB / 266.6 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01501, allocations: 128 / 266.6 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.01503, allocations: 19.92 kB / 266.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01503, allocations: 0 / 266.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01504, allocations: 7.938 kB / 266.6 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.01528, allocations: 145.9 kB / 266.7 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.01531, allocations: 4 kB / 266.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.01538, allocations: 15.98 kB / 266.7 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.01543, allocations: 19.91 kB / 266.8 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.01545, allocations: 4 kB / 266.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.0156, allocations: 143.5 kB / 266.9 MB, free: 8.117 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0156, allocations: 0 / 266.9 MB, free: 8.117 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.01589, allocations: 67.88 kB / 267 MB, free: 8.051 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.001598/0.01749, allocations: 0.5849 MB / 267.6 MB, free: 7.648 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.01767, allocations: 100.6 kB / 267.7 MB, free: 7.547 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.01768, allocations: 7.984 kB / 267.7 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.01777, allocations: 60.69 kB / 267.7 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.01818, allocations: 461.6 kB / 268.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009218/0.0191, allocations: 462.6 kB / 268.6 MB, free: 6.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.892e-05/0.01917, allocations: 100.3 kB / 268.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.819e-05/0.01927, allocations: 34.95 kB / 268.8 MB, free: 6.332 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.01942, allocations: 111.3 kB / 268.9 MB, free: 6.223 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01942, allocations: 0 / 268.9 MB, free: 6.223 MB / 266.7 MB Notification: Performance of Templates: time 0.008446/0.02786, allocations: 4.949 MB / 273.8 MB, free: 1.332 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.5244274539873004]