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.001374/0.001374, allocations: 88.72 kB / 19.44 MB, free: 356 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.001633/0.001633, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.06656/0.06656, allocations: 8.608 MB / 268.2 MB, free: 4.945 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.713e-06/1.713e-06, allocations: 0 / 340.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.653e-05, allocations: 6.25 kB / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.002982/0.003009, allocations: 1.97 MB / 342.1 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.00509, allocations: 1.34 MB / 343.5 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.00528, allocations: 7.938 kB / 343.5 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008384/0.006119, allocations: 311 kB / 343.8 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006064/0.006725, allocations: 255 kB / 344 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.0074, allocations: 271.1 kB / 344.3 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.007803, allocations: 375 kB / 344.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.007933, allocations: 32.91 kB / 344.7 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.008222, allocations: 199.5 kB / 344.9 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.008438, allocations: 147.6 kB / 345 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.008484, allocations: 20 kB / 345 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.008714, allocations: 119.8 kB / 345.2 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.008819, allocations: 95.67 kB / 345.2 MB, free: 3.621 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.008921, allocations: 71.78 kB / 345.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.009385, allocations: 402.7 kB / 345.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.009389, allocations: 4 kB / 345.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.00939, allocations: 0 / 345.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.009401, allocations: 4 kB / 345.7 MB, free: 3.148 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.001028/0.01043, allocations: 0.6089 MB / 346.3 MB, free: 2.496 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.01047, allocations: 12.03 kB / 346.3 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.01059, allocations: 48.69 kB / 346.4 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.01098, allocations: 288 kB / 346.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.01101, allocations: 12.56 kB / 346.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.01103, allocations: 12.36 kB / 346.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.01132, allocations: 136.5 kB / 346.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.01133, allocations: 0 / 346.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.01135, allocations: 3.938 kB / 346.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.01136, allocations: 4 kB / 346.8 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.01153, allocations: 75.89 kB / 346.9 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.01217, allocations: 408.1 kB / 347.3 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.01258, allocations: 150.7 kB / 347.5 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.0127, allocations: 48.84 kB / 347.5 MB, free: 1.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.01272, allocations: 4 kB / 347.5 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.01297, allocations: 140.3 kB / 347.6 MB, free: 1.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.01298, allocations: 0 / 347.6 MB, free: 1.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006303/0.01361, allocations: 305.9 kB / 347.9 MB, free: 0.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.01364, allocations: 63.41 kB / 348 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.01405, allocations: 465.6 kB / 348.5 MB, free: 256 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.01408, allocations: 29.7 kB / 348.5 MB, free: 220 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.01417, allocations: 168.5 kB / 348.6 MB, free: 48 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.384e-05/0.01426, allocations: 51.7 kB / 348.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-05/0.01435, allocations: 45.7 kB / 348.7 MB, free: 15.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.01456, allocations: 346.8 kB / 349.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.0147, allocations: 52.2 kB / 349.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.01497, allocations: 190.8 kB / 349.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.01538, allocations: 200.5 kB / 349.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.01539, allocations: 0 / 349.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005192/0.01591, allocations: 249.1 kB / 349.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.01593, allocations: 10.19 kB / 349.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.01594, allocations: 0 / 349.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.01596, allocations: 7.984 kB / 349.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.01611, allocations: 35.92 kB / 349.8 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.01612, allocations: 4 kB / 349.8 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.01626, allocations: 16.14 kB / 349.8 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.01628, allocations: 16 kB / 349.8 MB, free: 14.75 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.0002585/0.01654, allocations: 184.3 kB / 350 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.01661, allocations: 43.69 kB / 350.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005961/0.01721, allocations: 268.8 kB / 350.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01722, allocations: 4.062 kB / 350.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.01722, allocations: 12 kB / 350.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01723, allocations: 0 / 350.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.01756, allocations: 225 kB / 350.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.01757, allocations: 4 kB / 350.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.01762, allocations: 8 kB / 350.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.01763, allocations: 3.938 kB / 350.6 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.01765, allocations: 8 kB / 350.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01765, allocations: 0 / 350.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.01766, allocations: 3.984 kB / 350.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006049/0.01826, allocations: 287.5 kB / 350.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.01834, allocations: 43.69 kB / 350.9 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.0184, allocations: 11.94 kB / 350.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.0185, allocations: 7.984 kB / 350.9 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.01859, allocations: 15.98 kB / 351 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.01861, allocations: 7.984 kB / 351 MB, free: 13.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005169/0.01913, allocations: 339.1 kB / 351.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01913, allocations: 0 / 351.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.01955, allocations: 63.92 kB / 351.4 MB, free: 13.19 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.002227/0.02178, allocations: 480.8 kB / 351.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004544/0.02223, allocations: 159.8 kB / 352 MB, free: 12.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.02224, allocations: 0 / 352 MB, free: 12.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.02242, allocations: 79.89 kB / 352.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.02295, allocations: 86.97 kB / 352.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.02415, allocations: 0.5406 MB / 352.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.02439, allocations: 174.1 kB / 352.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.02456, allocations: 46.95 kB / 352.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.02466, allocations: 40.42 kB / 352.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of SimCode: time 9.61e-07/0.02467, allocations: 0 / 352.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of Templates: time 0.01092/0.03559, allocations: 4.514 MB / 357.5 MB, free: 7.293 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.581192806945182]