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.001547/0.001547, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001756/0.001756, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.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.06661/0.06661, allocations: 11.34 MB / 324.5 MB, free: 8.277 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.002026/0.002026, allocations: 71.88 kB / 452.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1057, allocations: 56.07 MB / 0.4965 GB, free: 1.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.003488/0.1092, allocations: 2.045 MB / 0.4985 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.1117, allocations: 1.434 MB / 0.4999 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.1119, allocations: 11.94 kB / 0.4999 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008768/0.1128, allocations: 311.1 kB / 0.5002 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.1133, allocations: 262 kB / 0.5004 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006395/0.114, allocations: 255.3 kB / 0.5007 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004415/0.1144, allocations: 371 kB / 0.501 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1145, allocations: 36.92 kB / 0.501 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.1147, allocations: 159.4 kB / 0.5012 GB, free: 13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.115, allocations: 167.3 kB / 0.5014 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.115, allocations: 20 kB / 0.5014 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.1153, allocations: 127.8 kB / 0.5015 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1154, allocations: 87.72 kB / 0.5016 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.1155, allocations: 139.1 kB / 0.5017 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.1161, allocations: 390.3 kB / 0.5021 GB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.1161, allocations: 3.984 kB / 0.5021 GB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1161, allocations: 0 / 0.5021 GB, free: 12.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1161, allocations: 4 kB / 0.5021 GB, free: 12.07 MB / 382.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.001075/0.1171, allocations: 0.6206 MB / 0.5027 GB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1172, allocations: 12.03 kB / 0.5027 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.039e-05/0.1173, allocations: 40.7 kB / 0.5027 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.1177, allocations: 288.9 kB / 0.503 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.1178, allocations: 12.12 kB / 0.503 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.1178, allocations: 8 kB / 0.503 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.1181, allocations: 161.7 kB / 0.5032 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1181, allocations: 0 / 0.5032 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.1182, allocations: 4 kB / 0.5032 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1182, allocations: 4 kB / 0.5032 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.1183, allocations: 67.89 kB / 0.5033 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.1191, allocations: 471.4 kB / 0.5037 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.1195, allocations: 138.8 kB / 0.5038 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1197, allocations: 52.83 kB / 0.5039 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1197, allocations: 3.938 kB / 0.5039 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/0.12, allocations: 135.3 kB / 0.504 GB, free: 9.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.522e-06/0.12, allocations: 0 / 0.504 GB, free: 9.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.000632/0.1206, allocations: 287.8 kB / 0.5043 GB, free: 9.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.851e-05/0.1207, allocations: 110.8 kB / 0.5044 GB, free: 9.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.1212, allocations: 465.5 kB / 0.5049 GB, free: 9.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.1213, allocations: 33.7 kB / 0.5049 GB, free: 9.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.1214, allocations: 172.4 kB / 0.5051 GB, free: 8.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/0.1215, allocations: 47.67 kB / 0.5051 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.462e-05/0.1215, allocations: 49.7 kB / 0.5051 GB, free: 8.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1217, allocations: 346.7 kB / 0.5055 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1218, allocations: 44.42 kB / 0.5055 GB, free: 8.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.122, allocations: 152.3 kB / 0.5057 GB, free: 8.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.1224, allocations: 204.3 kB / 0.5059 GB, free: 7.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1224, allocations: 0 / 0.5059 GB, free: 7.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004294/0.1228, allocations: 225.2 kB / 0.5061 GB, free: 7.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1228, allocations: 8 kB / 0.5061 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1228, allocations: 4 kB / 0.5061 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1229, allocations: 4.25 kB / 0.5061 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.123, allocations: 40.05 kB / 0.5061 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.123, allocations: 4 kB / 0.5061 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.1231, allocations: 23.88 kB / 0.5062 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.1231, allocations: 8 kB / 0.5062 GB, free: 7.602 MB / 382.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.0002292/0.1234, allocations: 184.3 kB / 0.5063 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.1234, allocations: 39.81 kB / 0.5064 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.1239, allocations: 248.8 kB / 0.5066 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1239, allocations: 7.938 kB / 0.5066 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1239, allocations: 3.984 kB / 0.5066 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1239, allocations: 0 / 0.5066 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.1242, allocations: 284.4 kB / 0.5069 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1242, allocations: 0 / 0.5069 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.1243, allocations: 11.98 kB / 0.5069 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1243, allocations: 0 / 0.5069 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1243, allocations: 8 kB / 0.5069 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1243, allocations: 0 / 0.5069 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1243, allocations: 0 / 0.5069 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.1247, allocations: 275 kB / 0.5072 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.1248, allocations: 35.8 kB / 0.5072 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.1248, allocations: 0 / 0.5072 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/0.1249, allocations: 15.98 kB / 0.5072 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.125, allocations: 11.98 kB / 0.5072 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.125, allocations: 19.98 kB / 0.5073 GB, free: 6.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003733/0.1254, allocations: 331.1 kB / 0.5076 GB, free: 6.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1254, allocations: 0 / 0.5076 GB, free: 6.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003411/0.1257, allocations: 75.8 kB / 0.5076 GB, free: 6.016 MB / 382.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 (17): * Single equations (assignments): 9 * 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.0016/0.1273, allocations: 443 kB / 0.5081 GB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.1277, allocations: 151.9 kB / 0.5082 GB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1277, allocations: 0 / 0.5082 GB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.1279, allocations: 74.86 kB / 0.5083 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.1283, allocations: 83.64 kB / 0.5084 GB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009831/0.1293, allocations: 0.5485 MB / 0.5089 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.1297, allocations: 0.7836 MB / 0.5097 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.1298, allocations: 27.44 kB / 0.5097 GB, free: 4.023 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1298, allocations: 4 kB / 0.5097 GB, free: 4.02 MB / 382.1 MB Notification: Performance of Templates: time 0.1954/0.3252, allocations: 4.721 MB / 0.5143 GB, free: 23.11 MB / 382.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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.919566627126187] Failed to read output from testmodel.py, exit status != 0: 0.33347824588418007 0.34492902400000003 0.226123977 Calling exit ...