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.001489/0.001489, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001562/0.001562, allocations: 166.1 kB / 22.46 MB, free: 5.355 MB / 14.72 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.534/1.534, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 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.06617/0.06617, allocations: 8.613 MB / 267.8 MB, free: 8.574 MB / 254.1 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.613e-06/1.613e-06, allocations: 0 / 395.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/2.977e-05, allocations: 2.281 kB / 395.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003965/0.003995, allocations: 1.971 MB / 397.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.006653, allocations: 1.332 MB / 398.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.006828, allocations: 11.94 kB / 398.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009354/0.007764, allocations: 299.1 kB / 399.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007068/0.00847, allocations: 270.4 kB / 399.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.009203, allocations: 255.2 kB / 399.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005192/0.009723, allocations: 375 kB / 400.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.009865, allocations: 36.91 kB / 400.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003614/0.01023, allocations: 195.5 kB / 400.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.01051, allocations: 139.6 kB / 400.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.47e-05/0.01056, allocations: 20 kB / 400.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.01084, allocations: 127.8 kB / 400.6 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.01097, allocations: 95.61 kB / 400.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.01109, allocations: 71.77 kB / 400.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000619/0.01171, allocations: 390.8 kB / 401.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.01171, allocations: 0 / 401.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01172, allocations: 0 / 401.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.01172, allocations: 4 kB / 401.1 MB, free: 1.102 MB / 318.1 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.001221/0.01294, allocations: 0.6128 MB / 401.7 MB, free: 456 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.01298, allocations: 8.031 kB / 401.7 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.01309, allocations: 36.7 kB / 401.8 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.01359, allocations: 276.1 kB / 402 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.01362, allocations: 12.5 kB / 402.1 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.01365, allocations: 12.38 kB / 402.1 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.014, allocations: 133.6 kB / 402.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01401, allocations: 8 kB / 402.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.01403, allocations: 0 / 402.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.01403, allocations: 0 / 402.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.01424, allocations: 75.95 kB / 402.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007451/0.01498, allocations: 404.1 kB / 402.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.01543, allocations: 142.8 kB / 402.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.01557, allocations: 52.83 kB / 402.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.01559, allocations: 8 kB / 402.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.01588, allocations: 139.2 kB / 403 MB, free: 15.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.964e-06/0.01589, allocations: 0 / 403 MB, free: 15.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007565/0.01664, allocations: 307.9 kB / 403.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.01671, allocations: 55.41 kB / 403.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005985/0.01731, allocations: 437.7 kB / 403.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.01735, allocations: 33.7 kB / 403.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.01752, allocations: 172.5 kB / 404 MB, free: 14.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.163e-05/0.01759, allocations: 47.64 kB / 404 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.01769, allocations: 49.69 kB / 404.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.01791, allocations: 346.8 kB / 404.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.01805, allocations: 48.2 kB / 404.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.01833, allocations: 190.1 kB / 404.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.01873, allocations: 196.4 kB / 404.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.01873, allocations: 0 / 404.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000484/0.01922, allocations: 245.3 kB / 405.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.01924, allocations: 8 kB / 405.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.01925, allocations: 0 / 405.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.01927, allocations: 7.938 kB / 405.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01939, allocations: 31.92 kB / 405.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.0194, allocations: 4 kB / 405.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.01954, allocations: 23.88 kB / 405.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.01956, allocations: 15.94 kB / 405.2 MB, free: 12.77 MB / 334.1 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.0002598/0.01982, allocations: 180.6 kB / 405.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.01989, allocations: 47.69 kB / 405.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005551/0.02045, allocations: 263.5 kB / 405.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.02045, allocations: 4 kB / 405.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.02046, allocations: 0 / 405.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.02046, allocations: 0 / 405.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.02073, allocations: 221.1 kB / 405.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.02073, allocations: 4 kB / 405.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.02079, allocations: 15.98 kB / 405.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.02079, allocations: 3.938 kB / 405.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.02081, allocations: 8 kB / 405.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.02081, allocations: 0 / 405.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.02081, allocations: 0 / 405.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.02131, allocations: 284.8 kB / 406.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.02136, allocations: 31.7 kB / 406.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.287e-05/0.02142, allocations: 11.94 kB / 406.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.02152, allocations: 11.98 kB / 406.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.02157, allocations: 15.97 kB / 406.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.0216, allocations: 12 kB / 406.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004054/0.022, allocations: 319.1 kB / 406.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.022, allocations: 0 / 406.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.02237, allocations: 67.92 kB / 406.7 MB, free: 11.23 MB / 334.1 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.001783/0.02416, allocations: 481.1 kB / 407.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004155/0.02457, allocations: 163.8 kB / 407.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.02457, allocations: 0 / 407.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.02476, allocations: 82.64 kB / 407.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.02521, allocations: 76.47 kB / 407.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009714/0.02618, allocations: 0.5186 MB / 408 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.02637, allocations: 174.6 kB / 408.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.02651, allocations: 55.19 kB / 408.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.0266, allocations: 32.48 kB / 408.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.0266, allocations: 0 / 408.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of Templates: time 0.01053/0.03713, allocations: 4.434 MB / 412.6 MB, free: 5.449 MB / 334.1 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.601065244525671] Failed to read output from testmodel.py, exit status != 0: 0.04630230367183685 0.06271438900000001 0.047953934000000004 Calling exit ...