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.001424/0.001424, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001735/0.001735, allocations: 164.7 kB / 23.01 MB, free: 4.598 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.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.06204/0.06204, allocations: 8.62 MB / 268.4 MB, free: 8.551 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_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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.91 kB / 396.1 MB, free: 7.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1144, allocations: 56.05 MB / 452.1 MB, free: 15.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.003684/0.1181, allocations: 1.967 MB / 454.1 MB, free: 13.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002756/0.1208, allocations: 1.341 MB / 455.4 MB, free: 12.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.121, allocations: 7.938 kB / 455.4 MB, free: 12.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009691/0.122, allocations: 314.9 kB / 455.7 MB, free: 12.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006378/0.1226, allocations: 263.1 kB / 456 MB, free: 11.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007022/0.1233, allocations: 259.3 kB / 456.2 MB, free: 11.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004401/0.1237, allocations: 371 kB / 456.6 MB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1239, allocations: 28.92 kB / 456.6 MB, free: 11.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.1241, allocations: 155.4 kB / 456.8 MB, free: 11.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.1243, allocations: 163.3 kB / 456.9 MB, free: 10.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.1243, allocations: 20 kB / 457 MB, free: 10.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.1246, allocations: 119.9 kB / 457.1 MB, free: 10.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1247, allocations: 91.69 kB / 457.2 MB, free: 10.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1248, allocations: 99.33 kB / 457.3 MB, free: 10.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.1253, allocations: 402.4 kB / 457.7 MB, free: 10.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1253, allocations: 0 / 457.7 MB, free: 10.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1253, allocations: 0 / 457.7 MB, free: 10.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1254, allocations: 0 / 457.7 MB, free: 10.22 MB / 430.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.001009/0.1264, allocations: 0.6206 MB / 458.3 MB, free: 9.559 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.1264, allocations: 8.031 kB / 458.3 MB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/0.1265, allocations: 36.7 kB / 458.3 MB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.1269, allocations: 284.8 kB / 458.6 MB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1269, allocations: 16.31 kB / 458.6 MB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.127, allocations: 12 kB / 458.6 MB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.1273, allocations: 129.6 kB / 458.8 MB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1273, allocations: 0 / 458.8 MB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1273, allocations: 0 / 458.8 MB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1273, allocations: 4 kB / 458.8 MB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.1275, allocations: 75.89 kB / 458.8 MB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006696/0.1281, allocations: 400.2 kB / 459.2 MB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.1286, allocations: 148.8 kB / 459.4 MB, free: 8.398 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.1287, allocations: 60.86 kB / 459.4 MB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.1287, allocations: 0 / 459.4 MB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.129, allocations: 147.3 kB / 459.6 MB, free: 8.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.129, allocations: 3.938 kB / 459.6 MB, free: 8.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006652/0.1297, allocations: 297.3 kB / 459.9 MB, free: 7.879 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.1298, allocations: 59.41 kB / 459.9 MB, free: 7.809 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005365/0.1303, allocations: 461.6 kB / 460.4 MB, free: 7.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1303, allocations: 33.7 kB / 460.4 MB, free: 7.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.1305, allocations: 168.5 kB / 460.6 MB, free: 7.145 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.1305, allocations: 55.52 kB / 460.6 MB, free: 7.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.1306, allocations: 41.7 kB / 460.7 MB, free: 7.043 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1307, allocations: 350.8 kB / 461 MB, free: 6.691 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1309, allocations: 48.2 kB / 461.1 MB, free: 6.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.1311, allocations: 190.3 kB / 461.2 MB, free: 6.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.1315, allocations: 200.4 kB / 461.4 MB, free: 6.184 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1315, allocations: 0 / 461.4 MB, free: 6.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004377/0.1319, allocations: 237.2 kB / 461.7 MB, free: 5.945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1319, allocations: 10.5 kB / 461.7 MB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1319, allocations: 0 / 461.7 MB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1319, allocations: 4 kB / 461.7 MB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1321, allocations: 31.98 kB / 461.7 MB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1321, allocations: 7.938 kB / 461.7 MB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.1322, allocations: 28.12 kB / 461.8 MB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1322, allocations: 8 kB / 461.8 MB, free: 5.859 MB / 430.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.0002428/0.1324, allocations: 192.4 kB / 462 MB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.1325, allocations: 35.77 kB / 462 MB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.133, allocations: 260.8 kB / 462.2 MB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.133, allocations: 4 kB / 462.2 MB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.133, allocations: 0 / 462.2 MB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.133, allocations: 3.984 kB / 462.3 MB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.1333, allocations: 233 kB / 462.5 MB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1333, allocations: 0 / 462.5 MB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.1333, allocations: 15.94 kB / 462.5 MB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1334, allocations: 0 / 462.5 MB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.1334, allocations: 11.98 kB / 462.5 MB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1334, allocations: 0 / 462.5 MB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1334, allocations: 0 / 462.5 MB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004826/0.1339, allocations: 287.3 kB / 462.8 MB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.1339, allocations: 39.75 kB / 462.8 MB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.134, allocations: 8 kB / 462.8 MB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/0.1341, allocations: 11.98 kB / 462.8 MB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.1341, allocations: 11.97 kB / 462.9 MB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.1341, allocations: 15.94 kB / 462.9 MB, free: 4.688 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003999/0.1345, allocations: 331.1 kB / 463.2 MB, free: 4.363 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1345, allocations: 0 / 463.2 MB, free: 4.363 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000352/0.1349, allocations: 71.86 kB / 463.3 MB, free: 4.293 MB / 430.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.001719/0.1366, allocations: 472.6 kB / 463.7 MB, free: 4.008 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.137, allocations: 163.8 kB / 463.9 MB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.137, allocations: 0 / 463.9 MB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.1372, allocations: 79.84 kB / 464 MB, free: 3.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.1376, allocations: 74.58 kB / 464 MB, free: 3.703 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008631/0.1385, allocations: 0.5376 MB / 464.6 MB, free: 3.145 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.1387, allocations: 174.2 kB / 464.7 MB, free: 2.953 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.1388, allocations: 54.92 kB / 464.8 MB, free: 2.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.1389, allocations: 28.5 kB / 464.8 MB, free: 2.871 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1389, allocations: 0 / 464.8 MB, free: 2.871 MB / 430.1 MB Notification: Performance of Templates: time 0.009526/0.1484, allocations: 4.492 MB / 469.3 MB, free: 14.45 MB / 446.1 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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.674514048034325] Failed to read output from testmodel.py, exit status != 0: 0.1570580779807642 0.17169427799999995 0.043259662000000004 Calling exit ...