Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.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.001303/0.001303, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001428/0.001428, allocations: 198.7 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 207.6 MB / 232.9 MB, free: 10.93 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06241/0.06241, allocations: 12 MB / 297.1 MB, free: 10.09 MB / 238.1 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 75.89 kB / 416.5 MB, free: 42.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06658/0.06882, allocations: 51.9 MB / 468.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.003213/0.07204, allocations: 1.947 MB / 470.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.07313, allocations: 0.6279 MB / 470.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.286e-05/0.0732, allocations: 4 kB / 470.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.438e-05/0.07325, allocations: 11.86 kB / 470.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.07356, allocations: 71.52 kB / 471 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.014e-05/0.07365, allocations: 19.92 kB / 471 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.07386, allocations: 143.2 kB / 471.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.07396, allocations: 19.98 kB / 471.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.07407, allocations: 55.8 kB / 471.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.07419, allocations: 55.77 kB / 471.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.07421, allocations: 4 kB / 471.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.398e-05/0.07427, allocations: 15.98 kB / 471.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.0743, allocations: 19.88 kB / 471.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.258e-05/0.07436, allocations: 51.73 kB / 471.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.07454, allocations: 99.59 kB / 471.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.07455, allocations: 0 / 471.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.07455, allocations: 0 / 471.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.07456, allocations: 0 / 471.5 MB, free: 3.562 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005454/0.0751, allocations: 444.5 kB / 471.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.07514, allocations: 11.89 kB / 471.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.07518, allocations: 16.89 kB / 471.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.07543, allocations: 192.2 kB / 472.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.07544, allocations: 8.375 kB / 472.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.07546, allocations: 8.125 kB / 472.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.07563, allocations: 89.64 kB / 472.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.07564, allocations: 0 / 472.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.07565, allocations: 4 kB / 472.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.07566, allocations: 4 kB / 472.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.07577, allocations: 51.97 kB / 472.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006953/0.07646, allocations: 0.5048 MB / 472.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.404e-05/0.07656, allocations: 38.56 kB / 472.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.07659, allocations: 16.97 kB / 472.9 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.0766, allocations: 7.938 kB / 472.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.07663, allocations: 34.56 kB / 472.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.07664, allocations: 0 / 472.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002408/0.07688, allocations: 107.3 kB / 473 MB, free: 1.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.07693, allocations: 77.11 kB / 473.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.07709, allocations: 162.2 kB / 473.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.07711, allocations: 25.7 kB / 473.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.07719, allocations: 104 kB / 473.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.07721, allocations: 23.8 kB / 473.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.07726, allocations: 29.7 kB / 473.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.0774, allocations: 318.8 kB / 473.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.07744, allocations: 15.98 kB / 473.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.07748, allocations: 23.94 kB / 473.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.0776, allocations: 92.25 kB / 473.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.0776, allocations: 0 / 473.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001609/0.07776, allocations: 103.3 kB / 474 MB, free: 0.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.0778, allocations: 45.62 kB / 474 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.07781, allocations: 0 / 474 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.07782, allocations: 4 kB / 474 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.07792, allocations: 8 kB / 474 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.07793, allocations: 7.938 kB / 474 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.078, allocations: 11.88 kB / 474 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.07801, allocations: 4 kB / 474 MB, free: 0.707 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001037/0.07811, allocations: 139.5 kB / 474.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.07815, allocations: 11.89 kB / 474.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.07834, allocations: 115.7 kB / 474.3 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.07834, allocations: 4 kB / 474.3 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.07834, allocations: 0 / 474.3 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.07834, allocations: 320 / 474.3 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.07878, allocations: 392.9 kB / 474.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.07878, allocations: 4 kB / 474.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.07884, allocations: 8 kB / 474.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.07884, allocations: 4 kB / 474.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.07885, allocations: 0 / 474.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.07885, allocations: 4.172 kB / 474.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.07885, allocations: 4.031 kB / 474.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.07905, allocations: 206 kB / 474.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.07913, allocations: 97.05 kB / 475 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.07915, allocations: 0 / 475 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.07924, allocations: 0 / 475 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.07925, allocations: 4 kB / 475 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.07926, allocations: 0 / 475 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.07938, allocations: 139.2 kB / 475.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.07938, allocations: 0 / 475.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.07964, allocations: 35.89 kB / 475.2 MB, free: 15.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001356/0.07977, allocations: 107.2 kB / 475.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.07995, allocations: 99.36 kB / 475.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.07995, allocations: 3.938 kB / 475.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.404e-05/0.08002, allocations: 71.34 kB / 475.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.08036, allocations: 44.22 kB / 475.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.08081, allocations: 235.2 kB / 475.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.08115, allocations: 0.7045 MB / 476.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.309e-05/0.0812, allocations: 9.094 kB / 476.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.08123, allocations: 15.42 kB / 476.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.08123, allocations: 0 / 476.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of Templates: time 0.004591/0.08583, allocations: 1.726 MB / 478.2 MB, free: 12.36 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.162425961927511] Failed to read output from testmodel.py, exit status != 0: 0.09267758298665285 0.10820146700000001 0.030643867 Calling exit ...