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.008925/0.008925, allocations: 96.53 kB / 15.73 MB, free: 6.047 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.001945/0.001945, allocations: 196.8 kB / 16.67 MB, free: 5.977 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.512/1.512, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05883/0.05883, allocations: 11.84 MB / 281.7 MB, free: 9.344 MB / 238.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.001707/0.001707, allocations: 71.91 kB / 392.3 MB, free: 3.492 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2997, allocations: 49.23 MB / 441.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002836/0.3026, allocations: 1.929 MB / 443.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3036, allocations: 0.6048 MB / 444.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.3038, allocations: 5.312 kB / 444.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.078e-05/0.3038, allocations: 14.11 kB / 444.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.3042, allocations: 74.95 kB / 444.2 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.948e-05/0.3043, allocations: 23.56 kB / 444.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.3045, allocations: 139.1 kB / 444.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3046, allocations: 30.16 kB / 444.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.811e-05/0.3047, allocations: 51.55 kB / 444.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.3049, allocations: 51.41 kB / 444.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3049, allocations: 6.219 kB / 444.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.716e-05/0.305, allocations: 21.27 kB / 444.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.305, allocations: 21.09 kB / 444.5 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.3051, allocations: 52.31 kB / 444.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.3053, allocations: 103.8 kB / 444.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3053, allocations: 0.9688 kB / 444.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3053, allocations: 0 / 444.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3053, allocations: 0.6562 kB / 444.7 MB, free: 2.352 MB / 318.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.0004256/0.3057, allocations: 426.3 kB / 445.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3058, allocations: 15.22 kB / 445.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.3058, allocations: 10.3 kB / 445.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.306, allocations: 194.4 kB / 445.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3061, allocations: 7.031 kB / 445.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3061, allocations: 17.66 kB / 445.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.3063, allocations: 82.44 kB / 445.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.3063, allocations: 3.938 kB / 445.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3063, allocations: 1.375 kB / 445.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3063, allocations: 2.156 kB / 445.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.3064, allocations: 50.83 kB / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.307, allocations: 0.5095 MB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.3071, allocations: 47.41 kB / 446 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/0.3071, allocations: 15.89 kB / 446 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3072, allocations: 1.531 kB / 446 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.3072, allocations: 32.77 kB / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.3072, allocations: 0 / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002121/0.3074, allocations: 110.8 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.3074, allocations: 79.25 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.3076, allocations: 157.4 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.3076, allocations: 30.52 kB / 446.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.3076, allocations: 107.6 kB / 446.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.3077, allocations: 20.38 kB / 446.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.3077, allocations: 23.3 kB / 446.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.3078, allocations: 321.1 kB / 446.9 MB, free: 244 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.3078, allocations: 14.73 kB / 446.9 MB, free: 240 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.3078, allocations: 19.28 kB / 446.9 MB, free: 232 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.916e-05/0.3079, allocations: 102.4 kB / 447 MB, free: 136 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3079, allocations: 4 kB / 447 MB, free: 132 kB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001346/0.3081, allocations: 105.2 kB / 447.1 MB, free: 52 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.3081, allocations: 40.81 kB / 447.2 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3081, allocations: 0 / 447.2 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3082, allocations: 1.875 kB / 447.2 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.3083, allocations: 14.75 kB / 447.2 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3083, allocations: 1.719 kB / 447.2 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.3084, allocations: 10.27 kB / 447.2 MB, free: 0 / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3084, allocations: 3.609 kB / 447.2 MB, free: 0 / 318.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.0001351/0.3085, allocations: 148.4 kB / 447.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.3086, allocations: 13.11 kB / 447.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.3088, allocations: 110.7 kB / 447.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3088, allocations: 1.25 kB / 447.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3088, allocations: 4 kB / 447.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3088, allocations: 0.6094 kB / 447.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.3092, allocations: 390.1 kB / 447.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3093, allocations: 0 / 447.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.3093, allocations: 15.59 kB / 447.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3093, allocations: 1 kB / 447.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3093, allocations: 2.156 kB / 447.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3093, allocations: 0.8906 kB / 447.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3093, allocations: 1.156 kB / 447.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.3095, allocations: 206.3 kB / 448.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.552e-05/0.3096, allocations: 93.91 kB / 448.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3097, allocations: 10.66 kB / 448.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.3097, allocations: 1.562 kB / 448.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.3098, allocations: 4.062 kB / 448.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3098, allocations: 1.438 kB / 448.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.3099, allocations: 130.5 kB / 448.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3099, allocations: 0 / 448.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.3102, allocations: 31.55 kB / 448.4 MB, free: 14.95 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.0001546/0.3103, allocations: 109.5 kB / 448.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.3105, allocations: 103.3 kB / 448.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3105, allocations: 0 / 448.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.565e-05/0.3106, allocations: 75.3 kB / 448.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.311, allocations: 43.94 kB / 448.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.3115, allocations: 237.7 kB / 448.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.3118, allocations: 0.6975 MB / 449.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.8e-05/0.3118, allocations: 18.56 kB / 449.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.3119, allocations: 18.25 kB / 449.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3119, allocations: 0 / 449.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of Templates: time 0.004734/0.3166, allocations: 1.679 MB / 451.3 MB, free: 13.15 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1)