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.001031/0.001031, allocations: 85.64 kB / 19.87 MB, free: 4.613 MB / 18.57 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.001124/0.001124, allocations: 169 kB / 23.27 MB, free: 1.219 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.9749/0.9749, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.06295/0.06295, allocations: 8.61 MB / 268.9 MB, free: 4.754 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.174e-06/2.174e-06, allocations: 0 / 341.3 MB, free: 9.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.957e-05, allocations: 5.406 kB / 341.3 MB, free: 9.172 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003367/0.003397, allocations: 2.03 MB / 343.3 MB, free: 7.125 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.005384, allocations: 1.356 MB / 344.7 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.005519, allocations: 3.938 kB / 344.7 MB, free: 5.758 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007557/0.006274, allocations: 315 kB / 345 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.006743, allocations: 262.9 kB / 345.3 MB, free: 5.191 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.007278, allocations: 259.2 kB / 345.5 MB, free: 4.938 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.007643, allocations: 375 kB / 345.9 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.007764, allocations: 40.84 kB / 345.9 MB, free: 4.535 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.007998, allocations: 191.5 kB / 346.1 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.008174, allocations: 135.6 kB / 346.2 MB, free: 4.215 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.008208, allocations: 20 kB / 346.3 MB, free: 4.195 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.008438, allocations: 123.8 kB / 346.4 MB, free: 4.074 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.886e-05/0.008537, allocations: 95.67 kB / 346.5 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.46e-05/0.008612, allocations: 71.72 kB / 346.5 MB, free: 3.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.008969, allocations: 287 kB / 346.8 MB, free: 3.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.008972, allocations: 0 / 346.8 MB, free: 3.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.008974, allocations: 0 / 346.8 MB, free: 3.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.008978, allocations: 7.938 kB / 346.8 MB, free: 3.621 MB / 314.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.0007396/0.009718, allocations: 0.7127 MB / 347.5 MB, free: 2.859 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.009756, allocations: 8.031 kB / 347.6 MB, free: 2.852 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.009831, allocations: 44.7 kB / 347.6 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.01015, allocations: 295.5 kB / 347.9 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.01018, allocations: 8.562 kB / 347.9 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.0102, allocations: 8.375 kB / 347.9 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.01038, allocations: 106.4 kB / 348 MB, free: 2.363 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.01039, allocations: 4 kB / 348 MB, free: 2.359 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.0104, allocations: 4 kB / 348 MB, free: 2.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.01041, allocations: 4 kB / 348 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.976e-05/0.01047, allocations: 27.97 kB / 348 MB, free: 2.324 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.01093, allocations: 388 kB / 348.4 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.01142, allocations: 107.2 kB / 348.5 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.01147, allocations: 27.67 kB / 348.6 MB, free: 1.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.01148, allocations: 7.984 kB / 348.6 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.01164, allocations: 112.9 kB / 348.7 MB, free: 1.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.01165, allocations: 0 / 348.7 MB, free: 1.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003608/0.01201, allocations: 228 kB / 348.9 MB, free: 1.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.01205, allocations: 55.41 kB / 349 MB, free: 1.344 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.01231, allocations: 390.5 kB / 349.3 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.01233, allocations: 33.7 kB / 349.4 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.01243, allocations: 219.2 kB / 349.6 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.01246, allocations: 55.61 kB / 349.6 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.01251, allocations: 59.31 kB / 349.7 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.01264, allocations: 0.5157 MB / 350.2 MB, free: 36 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/0.01267, allocations: 20.2 kB / 350.2 MB, free: 16 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.01278, allocations: 192 kB / 350.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.01292, allocations: 164.7 kB / 350.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01293, allocations: 0 / 350.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002008/0.01313, allocations: 185.2 kB / 350.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.01315, allocations: 16.19 kB / 350.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.01316, allocations: 4 kB / 350.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01317, allocations: 0 / 350.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.01326, allocations: 43.86 kB / 350.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.01326, allocations: 4 kB / 350.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.01333, allocations: 19.88 kB / 350.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.01333, allocations: 8 kB / 350.9 MB, free: 15.29 MB / 330.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.0001436/0.01348, allocations: 191.1 kB / 351 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.01352, allocations: 43.7 kB / 351.1 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.01375, allocations: 203.2 kB / 351.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.01375, allocations: 0 / 351.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-06/0.01376, allocations: 0 / 351.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01376, allocations: 0 / 351.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.01392, allocations: 185.1 kB / 351.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01392, allocations: 0 / 351.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.01395, allocations: 11.94 kB / 351.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.01396, allocations: 7.984 kB / 351.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01397, allocations: 8 kB / 351.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-06/0.01397, allocations: 12.06 kB / 351.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01397, allocations: 0 / 351.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.01419, allocations: 240.1 kB / 351.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.01422, allocations: 27.75 kB / 351.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.01425, allocations: 8 kB / 351.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.0143, allocations: 15.92 kB / 351.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.01434, allocations: 15.97 kB / 351.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.01435, allocations: 11.94 kB / 351.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.01448, allocations: 255 kB / 352.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01448, allocations: 4 kB / 352.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000218/0.0147, allocations: 67.88 kB / 352.1 MB, free: 13.94 MB / 330.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.0009/0.0156, allocations: 419.3 kB / 352.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.01576, allocations: 111.7 kB / 352.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01576, allocations: 0 / 352.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.414e-05/0.01583, allocations: 62.34 kB / 352.7 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.01611, allocations: 89.2 kB / 352.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.01666, allocations: 455.8 kB / 353.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.664e-05/0.01672, allocations: 100.3 kB / 353.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.355e-05/0.01679, allocations: 43.19 kB / 353.4 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.01691, allocations: 122.2 kB / 353.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01691, allocations: 0 / 353.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of Templates: time 0.007228/0.02414, allocations: 4.888 MB / 358.4 MB, free: 7.848 MB / 330.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.87377344770357]