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.001462/0.001462, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001538/0.001538, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.781 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.06774/0.06774, allocations: 11.35 MB / 323.8 MB, free: 8.02 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: 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.00224/0.00224, allocations: 75.89 kB / 451.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1398, allocations: 56.07 MB / 0.4956 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.004036/0.1439, allocations: 1.957 MB / 0.4975 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.1467, allocations: 1.349 MB / 0.4989 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1469, allocations: 0 / 0.4989 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009859/0.1478, allocations: 307.1 kB / 0.4992 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006843/0.1485, allocations: 263.1 kB / 0.4994 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007234/0.1493, allocations: 253.6 kB / 0.4997 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.1498, allocations: 371 kB / 0.5 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.15, allocations: 32.92 kB / 0.5 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.1502, allocations: 151.4 kB / 0.5002 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.1505, allocations: 163.4 kB / 0.5003 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.1505, allocations: 20 kB / 0.5004 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.1509, allocations: 123.8 kB / 0.5005 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.151, allocations: 91.66 kB / 0.5006 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.1512, allocations: 95.34 kB / 0.5007 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000729/0.1519, allocations: 394.4 kB / 0.501 GB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1519, allocations: 0 / 0.501 GB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1519, allocations: 0 / 0.501 GB, free: 12.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.1519, allocations: 0 / 0.501 GB, free: 12.1 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.001402/0.1533, allocations: 0.6051 MB / 0.5016 GB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1534, allocations: 8.031 kB / 0.5016 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1535, allocations: 36.69 kB / 0.5017 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.154, allocations: 292.7 kB / 0.5019 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.154, allocations: 12.31 kB / 0.502 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.154, allocations: 12 kB / 0.502 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.1544, allocations: 125.6 kB / 0.5021 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1544, allocations: 4 kB / 0.5021 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.1544, allocations: 4 kB / 0.5021 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1544, allocations: 4 kB / 0.5021 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.1546, allocations: 75.95 kB / 0.5022 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007334/0.1553, allocations: 396.1 kB / 0.5025 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/0.1558, allocations: 154.7 kB / 0.5027 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.1559, allocations: 52.83 kB / 0.5027 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.156, allocations: 4 kB / 0.5027 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/0.1563, allocations: 139.3 kB / 0.5029 GB, free: 10.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.1563, allocations: 0 / 0.5029 GB, free: 10.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006743/0.1569, allocations: 303 kB / 0.5032 GB, free: 9.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.157, allocations: 59.41 kB / 0.5032 GB, free: 9.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/0.1575, allocations: 437.6 kB / 0.5036 GB, free: 9.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.1576, allocations: 33.7 kB / 0.5037 GB, free: 9.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1577, allocations: 164.5 kB / 0.5038 GB, free: 9.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.1578, allocations: 55.66 kB / 0.5039 GB, free: 9.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.597e-05/0.1578, allocations: 45.7 kB / 0.5039 GB, free: 8.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.158, allocations: 346.8 kB / 0.5043 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.1581, allocations: 44.42 kB / 0.5043 GB, free: 8.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.1584, allocations: 194 kB / 0.5045 GB, free: 8.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.1587, allocations: 212.2 kB / 0.5047 GB, free: 8.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1587, allocations: 3.938 kB / 0.5047 GB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004238/0.1592, allocations: 233.4 kB / 0.5049 GB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1592, allocations: 12.03 kB / 0.5049 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1592, allocations: 0 / 0.5049 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.1592, allocations: 4 kB / 0.5049 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1593, allocations: 35.92 kB / 0.505 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1594, allocations: 7.938 kB / 0.505 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1595, allocations: 23.88 kB / 0.505 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1595, allocations: 8 kB / 0.505 GB, free: 7.762 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.00026/0.1597, allocations: 184.9 kB / 0.5052 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.1598, allocations: 35.81 kB / 0.5052 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005542/0.1604, allocations: 262.8 kB / 0.5055 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1604, allocations: 4 kB / 0.5055 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1604, allocations: 0 / 0.5055 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1604, allocations: 0 / 0.5055 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.1607, allocations: 233 kB / 0.5057 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1607, allocations: 4 kB / 0.5057 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.1607, allocations: 15.98 kB / 0.5057 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1607, allocations: 0 / 0.5057 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.1607, allocations: 4 kB / 0.5057 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1607, allocations: 0 / 0.5057 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1607, allocations: 3.938 kB / 0.5057 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.1612, allocations: 288.7 kB / 0.506 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.1613, allocations: 27.81 kB / 0.506 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.1614, allocations: 11.98 kB / 0.506 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.1614, allocations: 4 kB / 0.506 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.1615, allocations: 15.97 kB / 0.506 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.1615, allocations: 12 kB / 0.5061 GB, free: 6.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003862/0.1619, allocations: 323.1 kB / 0.5064 GB, free: 6.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1619, allocations: 0 / 0.5064 GB, free: 6.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.1623, allocations: 71.86 kB / 0.5064 GB, free: 6.234 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 (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.001781/0.164, allocations: 479.6 kB / 0.5069 GB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003846/0.1644, allocations: 170.7 kB / 0.5071 GB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1644, allocations: 0 / 0.5071 GB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.1646, allocations: 75.91 kB / 0.5071 GB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.165, allocations: 70.8 kB / 0.5072 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.166, allocations: 0.5078 MB / 0.5077 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.1662, allocations: 174.3 kB / 0.5079 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.1663, allocations: 43.2 kB / 0.5079 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.1664, allocations: 31.42 kB / 0.5079 GB, free: 4.848 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1664, allocations: 0 / 0.5079 GB, free: 4.848 MB / 382.1 MB Notification: Performance of Templates: time 0.01093/0.1773, allocations: 4.668 MB / 0.5125 GB, free: 244 kB / 382.1 MB " [Timeout remaining time 659] 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: 5.585087426006794] Failed to read output from testmodel.py, exit status != 0: 0.5506494957953691 0.563836316 0.40900329399999996 Calling exit ...