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.001327/0.001327, allocations: 78.64 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.00235/0.00235, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.516/1.516, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.06536/0.06536, allocations: 8.607 MB / 267.8 MB, free: 8.578 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: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 395.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.367e-05/3.6e-05, allocations: 6.219 kB / 395.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.005057/0.005093, allocations: 1.959 MB / 397.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003582/0.008675, allocations: 1.34 MB / 398.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.008875, allocations: 3.938 kB / 398.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.01008, allocations: 311.1 kB / 399.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009466/0.01103, allocations: 262.9 kB / 399.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.01204, allocations: 262.9 kB / 399.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000688/0.01273, allocations: 378.9 kB / 400.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.0129, allocations: 32.91 kB / 400.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005039/0.0134, allocations: 199.5 kB / 400.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003328/0.01374, allocations: 143.6 kB / 400.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.065e-05/0.01381, allocations: 20 kB / 400.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.01417, allocations: 131.7 kB / 400.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.01433, allocations: 91.67 kB / 400.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.01449, allocations: 83.7 kB / 400.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000754/0.01525, allocations: 398.8 kB / 401.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.01525, allocations: 0 / 401.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01525, allocations: 0 / 401.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.01527, allocations: 0 / 401.1 MB, free: 1.082 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.001667/0.01694, allocations: 0.6194 MB / 401.8 MB, free: 432 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.01699, allocations: 8.031 kB / 401.8 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.01718, allocations: 36.7 kB / 401.8 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007205/0.0179, allocations: 300 kB / 402.1 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.01793, allocations: 8.562 kB / 402.1 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.01797, allocations: 8.375 kB / 402.1 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.01842, allocations: 136.6 kB / 402.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.01844, allocations: 0 / 402.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.01846, allocations: 8 kB / 402.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01847, allocations: 0 / 402.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.01876, allocations: 75.95 kB / 402.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009513/0.01971, allocations: 400.1 kB / 402.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/0.02032, allocations: 150.7 kB / 402.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.02052, allocations: 52.83 kB / 402.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.02054, allocations: 4 kB / 402.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/0.02092, allocations: 139.2 kB / 403.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/0.02092, allocations: 0 / 403.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009813/0.0219, allocations: 311.7 kB / 403.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.02197, allocations: 59.39 kB / 403.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007703/0.02274, allocations: 453.7 kB / 403.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.02278, allocations: 33.7 kB / 403.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.02297, allocations: 172.5 kB / 404.1 MB, free: 14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.02304, allocations: 43.69 kB / 404.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.02314, allocations: 53.69 kB / 404.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.02335, allocations: 342.8 kB / 404.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.02353, allocations: 48.2 kB / 404.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.02384, allocations: 190.1 kB / 404.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.02435, allocations: 196.4 kB / 404.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.02435, allocations: 4.031 kB / 404.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006576/0.02501, allocations: 245.1 kB / 405.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.02503, allocations: 7.938 kB / 405.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.02504, allocations: 4 kB / 405.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.02507, allocations: 7.938 kB / 405.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.02524, allocations: 28.17 kB / 405.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.02526, allocations: 8 kB / 405.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.02546, allocations: 23.88 kB / 405.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.02549, allocations: 12 kB / 405.3 MB, free: 12.71 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.0003089/0.02579, allocations: 188.5 kB / 405.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.048e-05/0.02587, allocations: 35.75 kB / 405.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007461/0.02662, allocations: 264.8 kB / 405.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.02663, allocations: 4 kB / 405.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.02663, allocations: 0 / 405.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.02664, allocations: 0 / 405.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.02699, allocations: 233.1 kB / 406 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.02699, allocations: 0 / 406 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.02707, allocations: 12 kB / 406 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.02708, allocations: 7.922 kB / 406 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.0271, allocations: 4 kB / 406 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.0271, allocations: 3.984 kB / 406 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.02711, allocations: 0 / 406 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006916/0.0278, allocations: 288.7 kB / 406.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.02788, allocations: 35.75 kB / 406.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.02795, allocations: 7.922 kB / 406.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.02809, allocations: 11.98 kB / 406.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.02817, allocations: 15.98 kB / 406.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.0282, allocations: 7.984 kB / 406.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005586/0.02876, allocations: 335.1 kB / 406.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02876, allocations: 0 / 406.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005149/0.02927, allocations: 67.88 kB / 406.7 MB, free: 11.15 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.002256/0.03153, allocations: 499.9 kB / 407.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005243/0.03206, allocations: 154.6 kB / 407.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.03206, allocations: 0 / 407.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.03231, allocations: 67.97 kB / 407.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/0.03297, allocations: 81.98 kB / 407.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.03447, allocations: 0.5381 MB / 408.1 MB, free: 9.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.03473, allocations: 170.1 kB / 408.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.03491, allocations: 55.19 kB / 408.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.03502, allocations: 28.5 kB / 408.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.03502, allocations: 0 / 408.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of Templates: time 0.01372/0.04873, allocations: 4.493 MB / 412.8 MB, free: 5.297 MB / 334.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: 4.563204009085894] Failed to read output from testmodel.py, exit status != 0: 0.06227242201566696 0.083299049 0.06355145000000001 Calling exit ...