Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0007488/0.0007488, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008832/0.001632, 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.0007471/0.0007471, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009022/0.001649, 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 0.9606/0.9606, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1054/1.066, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.05691/0.05691, allocations: 9.784 MB / 253.7 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006306/0.06322, allocations: 3.479 MB / 257.2 MB, free: 2.129 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_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_dev_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 258.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116e-05/1.277e-05, allocations: 2.312 kB / 258.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.002142/0.002154, allocations: 2.076 MB / 260.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.003829, allocations: 1.394 MB / 262 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.003937, allocations: 7.938 kB / 262 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004798/0.004417, allocations: 287.1 kB / 262.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.004761, allocations: 270.9 kB / 262.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.005193, allocations: 274 kB / 262.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.005491, allocations: 363 kB / 263.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.005589, allocations: 38.86 kB / 263.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.005837, allocations: 265.6 kB / 263.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.005976, allocations: 135.6 kB / 263.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.006003, allocations: 20 kB / 263.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.006193, allocations: 131.8 kB / 263.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.00627, allocations: 75.72 kB / 263.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.006332, allocations: 55.81 kB / 263.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.006598, allocations: 267 kB / 264.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.006611, allocations: 0 / 264.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.006612, allocations: 0 / 264.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.006625, allocations: 0 / 264.1 MB, free: 11.21 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.0006392/0.007264, allocations: 0.6306 MB / 264.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.007292, allocations: 12.03 kB / 264.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/0.007588, allocations: 24.91 kB / 264.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.007829, allocations: 256.8 kB / 265 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.007845, allocations: 16.55 kB / 265 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.00786, allocations: 12.38 kB / 265.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.007989, allocations: 100.5 kB / 265.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.007996, allocations: 0 / 265.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.008006, allocations: 4 kB / 265.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.00801, allocations: 0 / 265.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.008058, allocations: 27.98 kB / 265.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.008368, allocations: 265.6 kB / 265.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.008521, allocations: 125.2 kB / 265.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.008553, allocations: 24.84 kB / 265.6 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.008564, allocations: 7.938 kB / 265.6 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.008689, allocations: 110 kB / 265.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.012e-06/0.00869, allocations: 0 / 265.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001666/0.008856, allocations: 136.5 kB / 265.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.00889, allocations: 63.33 kB / 265.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.009099, allocations: 325 kB / 266.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.009115, allocations: 33.7 kB / 266.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.009165, allocations: 137.4 kB / 266.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.009194, allocations: 39.67 kB / 266.4 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.009238, allocations: 45.67 kB / 266.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.009313, allocations: 354.7 kB / 266.8 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.009336, allocations: 19.06 kB / 266.8 MB, free: 8.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.00941, allocations: 150.1 kB / 267 MB, free: 8.117 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.009519, allocations: 148.9 kB / 267.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.009521, allocations: 0 / 267.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001307/0.009652, allocations: 147.1 kB / 267.3 MB, free: 7.785 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.009663, allocations: 7.938 kB / 267.3 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.009668, allocations: 4 kB / 267.3 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.009677, allocations: 4 kB / 267.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.009752, allocations: 40.17 kB / 267.3 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.009757, allocations: 7.938 kB / 267.3 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.916e-05/0.009817, allocations: 27.83 kB / 267.4 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.009826, allocations: 8 kB / 267.4 MB, free: 7.688 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: timer.Sd:DISCRETE(fixed = true ) \"Sampled set signal S\" 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.000107/0.009933, allocations: 143.4 kB / 267.5 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.009956, allocations: 23.92 kB / 267.5 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.0101, allocations: 128.8 kB / 267.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.0101, allocations: 0 / 267.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01011, allocations: 7.984 kB / 267.7 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01011, allocations: 0 / 267.7 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.01023, allocations: 149.7 kB / 267.8 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01023, allocations: 0 / 267.8 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.01026, allocations: 15.98 kB / 267.8 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.01029, allocations: 31.75 kB / 267.9 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01029, allocations: 0 / 267.9 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.0103, allocations: 7.938 kB / 267.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.0103, allocations: 3.984 kB / 267.9 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0103, allocations: 11.88 kB / 267.9 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.01042, allocations: 149.9 kB / 268 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.01044, allocations: 4 kB / 268 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.01048, allocations: 15.98 kB / 268.1 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.01051, allocations: 11.92 kB / 268.1 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.01053, allocations: 11.98 kB / 268.1 MB, free: 6.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.01063, allocations: 143.5 kB / 268.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01063, allocations: 0 / 268.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00018/0.01081, allocations: 67.88 kB / 268.3 MB, free: 6.723 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.001192/0.012, allocations: 0.5798 MB / 268.9 MB, free: 6.383 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.01214, allocations: 92.69 kB / 269 MB, free: 6.289 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.01215, allocations: 11.98 kB / 269 MB, free: 6.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-05/0.0122, allocations: 44.78 kB / 269 MB, free: 6.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.0124, allocations: 116.6 kB / 269.1 MB, free: 6.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000582/0.01298, allocations: 466.7 kB / 269.6 MB, free: 5.637 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.279e-05/0.01304, allocations: 100.2 kB / 269.7 MB, free: 5.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.109e-05/0.01311, allocations: 42.94 kB / 269.7 MB, free: 5.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.01322, allocations: 107.3 kB / 269.8 MB, free: 5.375 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01322, allocations: 0 / 269.8 MB, free: 5.375 MB / 266.7 MB Notification: Performance of Templates: time 0.00644/0.01966, allocations: 4.914 MB / 274.7 MB, free: 0.5195 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.733460337854922]