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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 106.2 kB / 16.4 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 188 kB / 17.34 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06164/0.06164, allocations: 11.85 MB / 282.4 MB, free: 212 kB / 222.1 MB 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.002189/0.002189, allocations: 72.45 kB / 393 MB, free: 45.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06852/0.07071, allocations: 49.24 MB / 442.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002259/0.07297, allocations: 1.931 MB / 444.2 MB, free: 132 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.07399, allocations: 0.6087 MB / 444.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.446e-05/0.07406, allocations: 0 / 444.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.568e-05/0.07412, allocations: 15.8 kB / 444.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.07443, allocations: 79.45 kB / 444.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.357e-05/0.07452, allocations: 27.59 kB / 444.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.07473, allocations: 127.3 kB / 445 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.07484, allocations: 27.95 kB / 445 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.07495, allocations: 51.8 kB / 445.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.07506, allocations: 55.77 kB / 445.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.07507, allocations: 7.938 kB / 445.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-05/0.07513, allocations: 12 kB / 445.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.07516, allocations: 19.92 kB / 445.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.07522, allocations: 43.81 kB / 445.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.07541, allocations: 111.5 kB / 445.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.07542, allocations: 0 / 445.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.07542, allocations: 0 / 445.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.07543, allocations: 0 / 445.3 MB, free: 14.95 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.0005371/0.07597, allocations: 428.7 kB / 445.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.076, allocations: 15.89 kB / 445.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.07604, allocations: 8.891 kB / 445.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.0763, allocations: 200.1 kB / 446 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.07631, allocations: 4.375 kB / 446 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.07634, allocations: 16.12 kB / 446 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.07651, allocations: 88.45 kB / 446.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.07652, allocations: 4 kB / 446.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.07653, allocations: 4 kB / 446.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.07654, allocations: 4 kB / 446.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.07665, allocations: 47.92 kB / 446.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/0.07733, allocations: 0.5049 MB / 446.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.126e-05/0.07743, allocations: 46.5 kB / 446.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.07746, allocations: 16.98 kB / 446.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.07748, allocations: 3.938 kB / 446.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.07751, allocations: 30.56 kB / 446.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.07751, allocations: 0 / 446.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002392/0.07775, allocations: 107.3 kB / 446.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.0778, allocations: 81.09 kB / 446.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.07797, allocations: 166.2 kB / 447.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.07799, allocations: 25.7 kB / 447.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.07807, allocations: 100 kB / 447.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.07809, allocations: 31.72 kB / 447.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.07814, allocations: 25.7 kB / 447.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.07828, allocations: 314.8 kB / 447.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.931e-05/0.07832, allocations: 15.98 kB / 447.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.411e-05/0.07836, allocations: 23.98 kB / 447.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.07847, allocations: 100.2 kB / 447.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.07847, allocations: 0 / 447.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001781/0.07865, allocations: 107.3 kB / 447.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.07869, allocations: 37.64 kB / 447.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.07869, allocations: 0 / 447.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.0787, allocations: 0 / 447.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.07881, allocations: 19.92 kB / 447.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.07882, allocations: 0 / 447.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.07888, allocations: 3.953 kB / 447.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.07889, allocations: 4 kB / 447.9 MB, free: 12.11 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.0001101/0.079, allocations: 143.5 kB / 448 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.07905, allocations: 15.88 kB / 448 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.07923, allocations: 111.7 kB / 448.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.07923, allocations: 0 / 448.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.07924, allocations: 3.938 kB / 448.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.07924, allocations: 0 / 448.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.07967, allocations: 389.3 kB / 448.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.07967, allocations: 4.062 kB / 448.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.07973, allocations: 19.95 kB / 448.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.07973, allocations: 0 / 448.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.07974, allocations: 4 kB / 448.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.07974, allocations: 0 / 448.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.07974, allocations: 0 / 448.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.07994, allocations: 209.9 kB / 448.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.08003, allocations: 93.05 kB / 448.9 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.08005, allocations: 4 kB / 448.9 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.08013, allocations: 0 / 448.9 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.08016, allocations: 7.984 kB / 448.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.08016, allocations: 4 kB / 448.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.08027, allocations: 127.2 kB / 449 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08027, allocations: 3.938 kB / 449 MB, free: 10.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.08054, allocations: 35.89 kB / 449 MB, free: 10.82 MB / 334.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.0001427/0.08068, allocations: 107.2 kB / 449.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.08085, allocations: 95.39 kB / 449.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.08085, allocations: 0 / 449.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/0.08093, allocations: 75.33 kB / 449.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.08126, allocations: 44.42 kB / 449.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.08178, allocations: 247.2 kB / 449.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.08216, allocations: 0.6928 MB / 450.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.142e-05/0.08223, allocations: 21.06 kB / 450.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.08227, allocations: 15.44 kB / 450.3 MB, free: 9.449 MB / 334.1 MB Notification: Performance of SimCode: time 4.6e-07/0.08227, allocations: 0 / 450.3 MB, free: 9.449 MB / 334.1 MB Notification: Performance of Templates: time 0.004906/0.08717, allocations: 1.695 MB / 452 MB, free: 7.781 MB / 334.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile (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)