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.0007466/0.0007466, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007908/0.0007908, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8792/0.8792, allocations: 177.2 MB / 203.5 MB, free: 5.746 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.03351/0.03351, allocations: 8.611 MB / 268.6 MB, free: 5.133 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 1.814e-06/1.814e-06, allocations: 0 / 396.3 MB, free: 2.184 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.671e-05, allocations: 6.219 kB / 396.3 MB, free: 2.176 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.002664/0.00269, allocations: 1.967 MB / 398.3 MB, free: 204 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.004324, allocations: 1.344 MB / 399.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.004444, allocations: 4 kB / 399.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000752/0.005196, allocations: 307.5 kB / 400 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004582/0.005654, allocations: 266.4 kB / 400.2 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.006159, allocations: 255.2 kB / 400.5 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.006507, allocations: 371 kB / 400.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.00665, allocations: 40.81 kB / 400.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.006866, allocations: 203.4 kB / 401.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004653/0.007332, allocations: 139.6 kB / 401.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.00736, allocations: 20 kB / 401.2 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.007569, allocations: 119.8 kB / 401.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/0.007667, allocations: 87.69 kB / 401.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.829e-05/0.007745, allocations: 79.7 kB / 401.5 MB, free: 13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.008163, allocations: 398.7 kB / 401.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.008167, allocations: 0 / 401.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.008169, allocations: 0 / 401.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.008175, allocations: 0 / 401.9 MB, free: 12.61 MB / 378.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.0008659/0.009041, allocations: 0.6128 MB / 402.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.009081, allocations: 8.031 kB / 402.5 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.009155, allocations: 36.7 kB / 402.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.009493, allocations: 280.1 kB / 402.8 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.009515, allocations: 8.562 kB / 402.8 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.009535, allocations: 8.375 kB / 402.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.009791, allocations: 137.7 kB / 403 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.009802, allocations: 0 / 403 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.00982, allocations: 7.938 kB / 403 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.009826, allocations: 4 kB / 403 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.009953, allocations: 79.81 kB / 403.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.01051, allocations: 408.1 kB / 403.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.01081, allocations: 134.8 kB / 403.6 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.01089, allocations: 56.83 kB / 403.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.01091, allocations: 0 / 403.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.01111, allocations: 147.2 kB / 403.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.01112, allocations: 0 / 403.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004452/0.01156, allocations: 299.6 kB / 404.1 MB, free: 10.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.0116, allocations: 59.39 kB / 404.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.01194, allocations: 441.6 kB / 404.6 MB, free: 9.762 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.01196, allocations: 33.7 kB / 404.6 MB, free: 9.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.01205, allocations: 172.4 kB / 404.8 MB, free: 9.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.01209, allocations: 47.67 kB / 404.8 MB, free: 9.504 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.01215, allocations: 49.7 kB / 404.9 MB, free: 9.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.01225, allocations: 350.8 kB / 405.2 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.01232, allocations: 44.22 kB / 405.3 MB, free: 9.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.01245, allocations: 182.1 kB / 405.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.01267, allocations: 200.5 kB / 405.6 MB, free: 8.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01268, allocations: 3.938 kB / 405.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002501/0.01293, allocations: 241.2 kB / 405.9 MB, free: 8.355 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.01294, allocations: 8.25 kB / 405.9 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.01295, allocations: 4 kB / 405.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.01297, allocations: 4 kB / 405.9 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.01305, allocations: 31.92 kB / 405.9 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.01305, allocations: 0 / 405.9 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.493e-05/0.01313, allocations: 27.88 kB / 405.9 MB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.01314, allocations: 15.94 kB / 406 MB, free: 8.266 MB / 378.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.0001712/0.01331, allocations: 180.3 kB / 406.1 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.01335, allocations: 35.75 kB / 406.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/0.01369, allocations: 262.8 kB / 406.4 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.0137, allocations: 7.875 kB / 406.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.0137, allocations: 4 kB / 406.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.0137, allocations: 0 / 406.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.01388, allocations: 225.1 kB / 406.7 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01388, allocations: 0 / 406.7 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.0139, allocations: 12 kB / 406.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01391, allocations: 7.938 kB / 406.7 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01392, allocations: 4.125 kB / 406.7 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01392, allocations: 8 kB / 406.7 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.01393, allocations: 3.984 kB / 406.7 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.01419, allocations: 272.8 kB / 407 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.01423, allocations: 39.64 kB / 407 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.01426, allocations: 11.92 kB / 407 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.578e-05/0.0143, allocations: 12 kB / 407 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.01435, allocations: 11.97 kB / 407 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.01437, allocations: 19.98 kB / 407 MB, free: 7.105 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002231/0.01459, allocations: 315.2 kB / 407.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01459, allocations: 0 / 407.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000243/0.01483, allocations: 63.92 kB / 407.4 MB, free: 6.738 MB / 378.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.0007934/0.01563, allocations: 495.6 kB / 407.9 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.01588, allocations: 161.9 kB / 408.1 MB, free: 6.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01588, allocations: 4.062 kB / 408.1 MB, free: 6.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.01597, allocations: 75.91 kB / 408.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.01625, allocations: 80.78 kB / 408.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009156/0.01716, allocations: 0.5439 MB / 408.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.01727, allocations: 174.4 kB / 408.9 MB, free: 5.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.01732, allocations: 32.5 kB / 409 MB, free: 5.324 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01732, allocations: 0 / 409 MB, free: 5.324 MB / 378.7 MB Notification: Performance of Templates: time 0.005249/0.02257, allocations: 4.747 MB / 413.7 MB, free: 0.5938 MB / 378.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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.850048523396254] Failed to read output from testmodel.py, exit status != 0: 0.028448130004107952 0.036959964000000005 0.027073968 Calling exit ...