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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 191.6 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 251 MB, free: 13.01 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.06288/0.06288, allocations: 11.34 MB / 317.6 MB, free: 13.73 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001892/0.001892, allocations: 63.89 kB / 443 MB, free: 6.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1311, allocations: 54.89 MB / 497.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.003934/0.1351, allocations: 2.021 MB / 499.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.1376, allocations: 1.282 MB / 0.4895 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1377, allocations: 7.938 kB / 0.4895 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009059/0.1386, allocations: 311.2 kB / 0.4898 GB, free: 11.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.1391, allocations: 214.4 kB / 0.49 GB, free: 11.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009203/0.14, allocations: 321.8 kB / 0.4903 GB, free: 11.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004102/0.1404, allocations: 347.1 kB / 0.4906 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1405, allocations: 40.52 kB / 0.4907 GB, free: 10.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.1408, allocations: 151.4 kB / 0.4908 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.1411, allocations: 163.3 kB / 0.491 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.1412, allocations: 20 kB / 0.491 GB, free: 10.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.1414, allocations: 123.9 kB / 0.4911 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1415, allocations: 91.67 kB / 0.4912 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.1417, allocations: 123.2 kB / 0.4913 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.1422, allocations: 390.3 kB / 0.4917 GB, free: 9.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1422, allocations: 0 / 0.4917 GB, free: 9.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1422, allocations: 4 kB / 0.4917 GB, free: 9.789 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1422, allocations: 0 / 0.4917 GB, free: 9.789 MB / 366.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.001142/0.1433, allocations: 0.6051 MB / 0.4923 GB, free: 9.141 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1434, allocations: 12.92 kB / 0.4923 GB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.502e-05/0.1435, allocations: 32.75 kB / 0.4923 GB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.1439, allocations: 282.5 kB / 0.4926 GB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.144, allocations: 12.12 kB / 0.4926 GB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.144, allocations: 12 kB / 0.4926 GB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.1443, allocations: 153.1 kB / 0.4928 GB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1443, allocations: 4 kB / 0.4928 GB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.1443, allocations: 4 kB / 0.4928 GB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1444, allocations: 0 / 0.4928 GB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.1445, allocations: 79.83 kB / 0.4928 GB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007634/0.1453, allocations: 455.5 kB / 0.4933 GB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.1457, allocations: 142.8 kB / 0.4934 GB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.1459, allocations: 51.09 kB / 0.4935 GB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.1459, allocations: 4 kB / 0.4935 GB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/0.1462, allocations: 143.2 kB / 0.4936 GB, free: 7.684 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 3.988e-06/0.1462, allocations: 3.984 kB / 0.4936 GB, free: 7.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006567/0.1468, allocations: 287.2 kB / 0.4939 GB, free: 7.395 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.1469, allocations: 106.8 kB / 0.494 GB, free: 7.266 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.1474, allocations: 441.6 kB / 0.4944 GB, free: 6.824 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.1474, allocations: 33.7 kB / 0.4944 GB, free: 6.785 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.1476, allocations: 160.5 kB / 0.4946 GB, free: 6.621 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.1477, allocations: 51.62 kB / 0.4946 GB, free: 6.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.1477, allocations: 53.69 kB / 0.4947 GB, free: 6.512 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1479, allocations: 350.7 kB / 0.495 GB, free: 6.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.148, allocations: 48.2 kB / 0.4951 GB, free: 6.109 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.1482, allocations: 155.6 kB / 0.4952 GB, free: 5.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.1486, allocations: 184.4 kB / 0.4954 GB, free: 5.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1486, allocations: 0 / 0.4954 GB, free: 5.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004031/0.149, allocations: 237.2 kB / 0.4956 GB, free: 5.469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.149, allocations: 7.938 kB / 0.4956 GB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.149, allocations: 4 kB / 0.4956 GB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.149, allocations: 4 kB / 0.4956 GB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1491, allocations: 35.92 kB / 0.4957 GB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1491, allocations: 0 / 0.4957 GB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1493, allocations: 27.88 kB / 0.4957 GB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.1493, allocations: 8.25 kB / 0.4957 GB, free: 5.383 MB / 366.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.0002534/0.1495, allocations: 188.4 kB / 0.4959 GB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.1496, allocations: 39.75 kB / 0.4959 GB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.1501, allocations: 236.8 kB / 0.4961 GB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1501, allocations: 4 kB / 0.4961 GB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1501, allocations: 4 kB / 0.4961 GB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1501, allocations: 0 / 0.4961 GB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.1505, allocations: 280.4 kB / 0.4964 GB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1505, allocations: 0 / 0.4964 GB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.1506, allocations: 11.92 kB / 0.4964 GB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1506, allocations: 4 kB / 0.4964 GB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1506, allocations: 4 kB / 0.4964 GB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1506, allocations: 4 kB / 0.4964 GB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1506, allocations: 0 / 0.4964 GB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.151, allocations: 260.2 kB / 0.4967 GB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.1511, allocations: 43.69 kB / 0.4967 GB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.1511, allocations: 0 / 0.4967 GB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.1512, allocations: 15.98 kB / 0.4967 GB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.1513, allocations: 7.984 kB / 0.4968 GB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.1513, allocations: 15.98 kB / 0.4968 GB, free: 4.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003913/0.1517, allocations: 323.1 kB / 0.4971 GB, free: 3.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1517, allocations: 0 / 0.4971 GB, free: 3.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000325/0.152, allocations: 71.86 kB / 0.4971 GB, free: 3.828 MB / 366.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.001609/0.1536, allocations: 436.8 kB / 0.4976 GB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00036/0.154, allocations: 154.2 kB / 0.4977 GB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.154, allocations: 0.5 kB / 0.4977 GB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.1541, allocations: 67.92 kB / 0.4978 GB, free: 3.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.1545, allocations: 80.5 kB / 0.4978 GB, free: 3.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1555, allocations: 0.5078 MB / 0.4983 GB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.156, allocations: 0.779 MB / 0.4991 GB, free: 1.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.1561, allocations: 50.92 kB / 0.4992 GB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.1562, allocations: 31.44 kB / 0.4992 GB, free: 1.828 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1562, allocations: 4 kB / 0.4992 GB, free: 1.824 MB / 366.1 MB Notification: Performance of Templates: time 0.009041/0.1652, allocations: 4.406 MB / 0.5035 GB, free: 13.46 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: 4.854042084887624] Failed to read output from testmodel.py, exit status != 0: 0.17231308203190565 0.39162906799999997 0.042554941000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f216e6dd7b0>