Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.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.001325/0.001325, 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.00144/0.00144, allocations: 192.5 kB / 22.23 MB, free: 5.16 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.473/1.473, 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/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008863/0.008863, allocations: 1.343 MB / 307.6 MB, free: 7.371 MB / 238.1 MB
"
[Timeout remaining time 180]
Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/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)
Ignoring simflag  -noemit -variableFilter=.* since it seems broken on HelloWorld
Running command: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD")
translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 59.91 kB / 432.2 MB, free: 18.58 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.09148, allocations: 52.49 MB / 484.7 MB, free: 13.99 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003279/0.09476, allocations: 1.706 MB / 486.4 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001176/0.09593, allocations: 0.5456 MB / 487 MB, free: 11.72 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.09605, allocations: 3.938 kB / 487 MB, free: 11.72 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.09624, allocations: 23.8 kB / 487 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.481e-05/0.09634, allocations: 23.72 kB / 487 MB, free: 11.67 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.09666, allocations: 91.89 kB / 487.1 MB, free: 11.58 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002949/0.09696, allocations: 147.5 kB / 487.2 MB, free: 11.44 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.09712, allocations: 41.94 kB / 487.3 MB, free: 11.39 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.0972, allocations: 59.72 kB / 487.3 MB, free: 11.33 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.0973, allocations: 51.7 kB / 487.4 MB, free: 11.28 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.09733, allocations: 8 kB / 487.4 MB, free: 11.27 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.291e-05/0.09735, allocations: 12 kB / 487.4 MB, free: 11.26 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.09739, allocations: 19.92 kB / 487.4 MB, free: 11.24 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.07e-05/0.09746, allocations: 59.61 kB / 487.5 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.09765, allocations: 119.5 kB / 487.6 MB, free: 11.06 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.09766, allocations: 4 kB / 487.6 MB, free: 11.06 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.202e-06/0.09766, allocations: 0 / 487.6 MB, free: 11.06 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 7.965e-06/0.09767, allocations: 0 / 487.6 MB, free: 11.06 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 20
 * Number of variables: 20
Notification: Performance of Generate backend data structure: time 0.0006432/0.09831, allocations: 361.7 kB / 488 MB, free: 10.68 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.09835, allocations: 8.031 kB / 488 MB, free: 10.67 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.0984, allocations: 16.84 kB / 488 MB, free: 10.65 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.09864, allocations: 158.2 kB / 488.1 MB, free: 10.47 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.09865, allocations: 8.375 kB / 488.1 MB, free: 10.46 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.09868, allocations: 12.38 kB / 488.2 MB, free: 10.45 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.09889, allocations: 110 kB / 488.3 MB, free: 10.34 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.0989, allocations: 4 kB / 488.3 MB, free: 10.33 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.09891, allocations: 7.938 kB / 488.3 MB, free: 10.32 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.09892, allocations: 3.984 kB / 488.3 MB, free: 10.32 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.09903, allocations: 39.98 kB / 488.3 MB, free: 10.28 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/0.09979, allocations: 467.6 kB / 488.8 MB, free: 9.777 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.09993, allocations: 58.56 kB / 488.8 MB, free: 9.711 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.09998, allocations: 20.98 kB / 488.9 MB, free: 9.688 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.09999, allocations: 0 / 488.9 MB, free: 9.688 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1, allocations: 38.55 kB / 488.9 MB, free: 9.641 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.1, allocations: 0 / 488.9 MB, free: 9.641 MB / 350.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0002508/0.1003, allocations: 101.5 kB / 489 MB, free: 9.535 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1003, allocations: 51.41 kB / 489 MB, free: 9.473 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.1005, allocations: 160 kB / 489.2 MB, free: 9.301 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.1005, allocations: 29.7 kB / 489.2 MB, free: 9.266 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.1006, allocations: 116 kB / 489.3 MB, free: 9.148 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.1006, allocations: 31.77 kB / 489.4 MB, free: 9.117 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.1007, allocations: 29.67 kB / 489.4 MB, free: 9.082 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001432/0.1008, allocations: 322.8 kB / 489.7 MB, free: 8.758 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.1009, allocations: 23.98 kB / 489.7 MB, free: 8.734 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.101, allocations: 51.42 kB / 489.8 MB, free: 8.672 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.1011, allocations: 63.38 kB / 489.8 MB, free: 8.598 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1011, allocations: 0 / 489.8 MB, free: 8.598 MB / 350.1 MB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001804/0.1012, allocations: 109.5 kB / 490 MB, free: 8.484 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1013, allocations: 7.984 kB / 490 MB, free: 8.477 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.1013, allocations: 7.922 kB / 490 MB, free: 8.469 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1013, allocations: 4 kB / 490 MB, free: 8.465 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.1016, allocations: 35.92 kB / 490 MB, free: 8.43 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.1028, allocations: 1.294 MB / 491.3 MB, free: 7.023 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.54e-05/0.1029, allocations: 8.141 kB / 491.3 MB, free: 7.016 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.1029, allocations: 8 kB / 491.3 MB, free: 7.008 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (12):
 * Single equations (assignments): 11
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.103, allocations: 133.6 kB / 491.5 MB, free: 6.867 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.103, allocations: 11.91 kB / 491.5 MB, free: 6.855 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.1031, allocations: 13.41 kB / 491.5 MB, free: 6.84 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1031, allocations: 0 / 491.5 MB, free: 6.84 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.1031, allocations: 0 / 491.5 MB, free: 6.84 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1031, allocations: 3.984 kB / 491.5 MB, free: 6.836 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.1035, allocations: 346.4 kB / 491.8 MB, free: 6.445 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1035, allocations: 320 / 491.8 MB, free: 6.445 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.1037, allocations: 31.97 kB / 491.8 MB, free: 6.414 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1037, allocations: 3.984 kB / 491.9 MB, free: 6.41 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1037, allocations: 8 kB / 491.9 MB, free: 6.402 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.1049, allocations: 1.297 MB / 493.2 MB, free: 4.996 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1049, allocations: 3.984 kB / 493.2 MB, free: 4.992 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.1051, allocations: 200.5 kB / 493.4 MB, free: 4.777 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.1051, allocations: 23.86 kB / 493.4 MB, free: 4.754 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1051, allocations: 0 / 493.4 MB, free: 4.754 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.1052, allocations: 8 kB / 493.4 MB, free: 4.746 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.1052, allocations: 0 / 493.4 MB, free: 4.746 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.1052, allocations: 4 kB / 493.4 MB, free: 4.742 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001319/0.1054, allocations: 124.2 kB / 493.5 MB, free: 4.621 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1054, allocations: 4 kB / 493.5 MB, free: 4.617 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002694/0.1056, allocations: 27.98 kB / 493.5 MB, free: 4.59 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 1 (tank.l)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (6):
 * Single equations (assignments): 5
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001246/0.1058, allocations: 99.19 kB / 493.6 MB, free: 4.484 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002718/0.106, allocations: 59.91 kB / 493.7 MB, free: 4.426 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.106, allocations: 0 / 493.7 MB, free: 4.426 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.1062, allocations: 36.17 kB / 493.7 MB, free: 4.391 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.1066, allocations: 45.55 kB / 493.8 MB, free: 4.352 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007114/0.1073, allocations: 315.8 kB / 494.1 MB, free: 4.012 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1077, allocations: 0.7118 MB / 494.8 MB, free: 3.273 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 6.264e-05/0.1077, allocations: 16.48 kB / 494.8 MB, free: 3.258 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.1078, allocations: 19.44 kB / 494.8 MB, free: 3.238 MB / 350.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.1078, allocations: 0 / 494.8 MB, free: 3.238 MB / 350.1 MB
Notification: Performance of Templates: time 0.004739/0.1125, allocations: 1.391 MB / 496.2 MB, free: 1.891 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.makefile [Timeout 660]
(rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD  -l=1 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.420523598790169]
Failed to read output from testmodel.py, exit status != 0:
0.12059494014829397 0.13687681699999996 0.035874593
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fcdeb6017b0>