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.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.001274/0.001274, allocations: 110 kB / 18.94 MB, free: 2.785 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.001448/0.001448, allocations: 189.4 kB / 22.23 MB, free: 5.238 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.397/1.397, allocations: 225.6 MB / 251 MB, free: 13.02 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.06359/0.06359, allocations: 11.34 MB / 317.6 MB, free: 13.76 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_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: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 443 MB, free: 6.414 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.126, allocations: 54.88 MB / 497.9 MB, free: 15.42 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.004014/0.13, allocations: 2.03 MB / 499.9 MB, free: 13.38 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002428/0.1325, allocations: 1.278 MB / 0.4895 GB, free: 12.09 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1326, allocations: 7.875 kB / 0.4895 GB, free: 12.09 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008826/0.1335, allocations: 307.2 kB / 0.4898 GB, free: 11.79 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005344/0.134, allocations: 203.3 kB / 0.49 GB, free: 11.59 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.1348, allocations: 328.6 kB / 0.4903 GB, free: 11.27 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004441/0.1352, allocations: 339.1 kB / 0.4906 GB, free: 10.94 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.1354, allocations: 40.56 kB / 0.4906 GB, free: 10.89 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.1356, allocations: 147.5 kB / 0.4908 GB, free: 10.75 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1358, allocations: 163.3 kB / 0.4909 GB, free: 10.59 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.1359, allocations: 20 kB / 0.491 GB, free: 10.57 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.1361, allocations: 127.8 kB / 0.4911 GB, free: 10.45 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1362, allocations: 79.75 kB / 0.4912 GB, free: 10.37 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00016/0.1364, allocations: 127.1 kB / 0.4913 GB, free: 10.24 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.1369, allocations: 378.5 kB / 0.4916 GB, free: 9.871 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1369, allocations: 0 / 0.4916 GB, free: 9.871 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.132e-06/0.1369, allocations: 0 / 0.4916 GB, free: 9.871 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.516e-05/0.1369, allocations: 0 / 0.4916 GB, free: 9.871 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.001072/0.138, allocations: 0.609 MB / 0.4922 GB, free: 9.219 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1381, allocations: 8.922 kB / 0.4922 GB, free: 9.211 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.847e-05/0.1381, allocations: 40.7 kB / 0.4923 GB, free: 9.172 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.1386, allocations: 262.7 kB / 0.4925 GB, free: 8.891 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.1386, allocations: 16.06 kB / 0.4925 GB, free: 8.875 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.1386, allocations: 8 kB / 0.4926 GB, free: 8.867 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.139, allocations: 157.3 kB / 0.4927 GB, free: 8.703 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1391, allocations: 0 / 0.4927 GB, free: 8.703 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.1391, allocations: 11.98 kB / 0.4927 GB, free: 8.691 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1391, allocations: 4 kB / 0.4927 GB, free: 8.688 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.1393, allocations: 63.91 kB / 0.4928 GB, free: 8.625 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.14, allocations: 455.5 kB / 0.4932 GB, free: 8.137 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.1404, allocations: 146.7 kB / 0.4934 GB, free: 7.984 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.1406, allocations: 52.78 kB / 0.4934 GB, free: 7.93 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1406, allocations: 7.922 kB / 0.4934 GB, free: 7.922 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.1409, allocations: 135.3 kB / 0.4935 GB, free: 7.777 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.1409, allocations: 0 / 0.4935 GB, free: 7.777 MB / 366.1 MB
Notification: Performance of matching and sorting (n=18): time 0.0006434/0.1415, allocations: 287.6 kB / 0.4938 GB, free: 7.492 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/0.1416, allocations: 106.8 kB / 0.4939 GB, free: 7.363 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005567/0.1422, allocations: 420.5 kB / 0.4943 GB, free: 6.945 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.1422, allocations: 37.69 kB / 0.4944 GB, free: 6.902 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1423, allocations: 160.5 kB / 0.4945 GB, free: 6.738 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.1424, allocations: 47.64 kB / 0.4946 GB, free: 6.691 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.1424, allocations: 49.7 kB / 0.4946 GB, free: 6.637 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001994/0.1426, allocations: 350.7 kB / 0.4949 GB, free: 6.285 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1428, allocations: 44.22 kB / 0.495 GB, free: 6.238 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.143, allocations: 144.7 kB / 0.4951 GB, free: 6.055 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.1433, allocations: 196.4 kB / 0.4953 GB, free: 5.832 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1433, allocations: 0 / 0.4953 GB, free: 5.832 MB / 366.1 MB
Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004149/0.1438, allocations: 229.2 kB / 0.4955 GB, free: 5.602 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1438, allocations: 8 kB / 0.4955 GB, free: 5.594 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1438, allocations: 0 / 0.4955 GB, free: 5.594 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1438, allocations: 4 kB / 0.4955 GB, free: 5.59 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1439, allocations: 35.92 kB / 0.4956 GB, free: 5.555 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1439, allocations: 7.938 kB / 0.4956 GB, free: 5.547 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.144, allocations: 23.88 kB / 0.4956 GB, free: 5.523 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.1441, allocations: 8.25 kB / 0.4956 GB, free: 5.516 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.0002472/0.1443, allocations: 184.3 kB / 0.4958 GB, free: 5.324 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.1444, allocations: 39.7 kB / 0.4958 GB, free: 5.285 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005157/0.1449, allocations: 238.9 kB / 0.496 GB, free: 5.043 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1449, allocations: 0 / 0.496 GB, free: 5.043 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1449, allocations: 4 kB / 0.4961 GB, free: 5.039 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1449, allocations: 7.984 kB / 0.4961 GB, free: 5.031 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.1452, allocations: 268.5 kB / 0.4963 GB, free: 4.727 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1452, allocations: 128 / 0.4963 GB, free: 4.727 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.1453, allocations: 15.98 kB / 0.4963 GB, free: 4.711 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1453, allocations: 0 / 0.4963 GB, free: 4.711 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.1453, allocations: 4 kB / 0.4963 GB, free: 4.707 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1453, allocations: 0 / 0.4963 GB, free: 4.707 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1453, allocations: 3.938 kB / 0.4963 GB, free: 4.703 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.1458, allocations: 276.6 kB / 0.4966 GB, free: 4.414 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.1458, allocations: 31.73 kB / 0.4966 GB, free: 4.383 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.1459, allocations: 8 kB / 0.4966 GB, free: 4.375 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.1459, allocations: 7.984 kB / 0.4966 GB, free: 4.367 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.146, allocations: 11.98 kB / 0.4967 GB, free: 4.355 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.1461, allocations: 11.98 kB / 0.4967 GB, free: 4.344 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.000391/0.1465, allocations: 307 kB / 0.497 GB, free: 4.047 MB / 366.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.1465, allocations: 0 / 0.497 GB, free: 4.047 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0003685/0.1469, allocations: 67.86 kB / 0.497 GB, free: 3.98 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.001656/0.1486, allocations: 449 kB / 0.4975 GB, free: 3.695 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004065/0.149, allocations: 151.7 kB / 0.4976 GB, free: 3.547 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.149, allocations: 0 / 0.4976 GB, free: 3.547 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1491, allocations: 64.41 kB / 0.4977 GB, free: 3.484 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.1496, allocations: 87.95 kB / 0.4977 GB, free: 3.398 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.1506, allocations: 499.9 kB / 0.4982 GB, free: 2.883 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.1511, allocations: 0.779 MB / 0.499 GB, free: 2.078 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0001349/0.1513, allocations: 38.95 kB / 0.499 GB, free: 2.039 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/0.1513, allocations: 35.42 kB / 0.4991 GB, free: 2.004 MB / 366.1 MB
Notification: Performance of SimCode: time 5.41e-07/0.1513, allocations: 0 / 0.4991 GB, free: 2.004 MB / 366.1 MB
Notification: Performance of Templates: time 0.01006/0.1614, allocations: 4.36 MB / 0.5033 GB, free: 13.69 MB / 382.1 MB
"
[Timeout remaining time 660]
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: 4.904602081514895]
Failed to read output from testmodel.py, exit status != 0:
0.16888116858899593 0.38570299599999996 0.044117321
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3a72e6d7b0>