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/Complex 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/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 ModelicaServices with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo) Using package Modelica with version 3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo) Using package Complex with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/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/Complex 1.1.0/package.mo): time 0.001688/0.001688, allocations: 157 kB / 15.95 MB, free: 5.789 MB / 13.93 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8490:35-8490:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of nom...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8600:35-8600:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of nomi...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8738:35-8738:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of a pr...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8793:35-8793:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss with linear or quadra...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 1.309/1.309, allocations: 150.5 MB / 167.2 MB, free: 2.184 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001814/0.001814, allocations: 90 kB / 201.8 MB, free: 12.34 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1869/0.1869, allocations: 11.82 MB / 248.2 MB, free: 33.29 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 295.4 MB, free: 8.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09176, allocations: 36.45 MB / 331.9 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.003696/0.09552, allocations: 2.326 MB / 334.2 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.09656, allocations: 0.5885 MB / 334.8 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.09666, allocations: 0 / 334.8 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.95e-05/0.09673, allocations: 15.86 kB / 334.8 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.09707, allocations: 79.45 kB / 334.9 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.453e-05/0.09717, allocations: 23.97 kB / 334.9 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.09737, allocations: 143.2 kB / 335 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.09749, allocations: 15.94 kB / 335.1 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.0976, allocations: 55.78 kB / 335.1 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.09773, allocations: 43.84 kB / 335.2 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.09775, allocations: 8 kB / 335.2 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.09784, allocations: 11.98 kB / 335.2 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.09787, allocations: 19.92 kB / 335.2 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.189e-05/0.09795, allocations: 59.67 kB / 335.2 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.09814, allocations: 107.9 kB / 335.4 MB, free: 496 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.09815, allocations: 0 / 335.4 MB, free: 496 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09816, allocations: 0 / 335.4 MB, free: 496 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.09817, allocations: 0 / 335.4 MB, free: 496 kB / 250.7 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.0005478/0.09872, allocations: 424.8 kB / 335.8 MB, free: 16 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.09877, allocations: 8.031 kB / 335.8 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.09884, allocations: 12.89 kB / 335.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.09909, allocations: 196.1 kB / 336 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.09912, allocations: 8.359 kB / 336 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.09915, allocations: 15.94 kB / 336 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.09933, allocations: 85.59 kB / 336.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.09935, allocations: 0 / 336.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.09937, allocations: 4 kB / 336.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.09938, allocations: 4 kB / 336.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.09949, allocations: 47.97 kB / 336.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006995/0.1002, allocations: 0.501 MB / 336.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.657e-05/0.1003, allocations: 46.56 kB / 336.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.1003, allocations: 20.97 kB / 336.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.1004, allocations: 7.938 kB / 336.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.1004, allocations: 38.5 kB / 336.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1004, allocations: 0 / 336.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002338/0.1006, allocations: 107.2 kB / 336.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.1007, allocations: 77.11 kB / 336.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.1009, allocations: 162.2 kB / 337.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.1009, allocations: 25.7 kB / 337.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.101, allocations: 107.9 kB / 337.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.101, allocations: 19.8 kB / 337.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.101, allocations: 25.7 kB / 337.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1012, allocations: 318.8 kB / 337.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.1012, allocations: 20.23 kB / 337.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/0.1013, allocations: 19.98 kB / 337.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.531e-05/0.1014, allocations: 108.2 kB / 337.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1014, allocations: 0 / 337.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001536/0.1015, allocations: 111.2 kB / 337.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.1016, allocations: 37.62 kB / 337.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1016, allocations: 0 / 337.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1016, allocations: 0 / 337.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1017, allocations: 12 kB / 337.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1017, allocations: 0 / 337.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.1018, allocations: 15.83 kB / 337.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.1018, allocations: 0 / 337.9 MB, free: 13.64 MB / 266.7 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.0001023/0.1019, allocations: 147.5 kB / 338 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.102, allocations: 15.84 kB / 338.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.1022, allocations: 107.6 kB / 338.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1022, allocations: 0 / 338.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1022, allocations: 0 / 338.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1022, allocations: 3.984 kB / 338.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.1026, allocations: 392.9 kB / 338.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1026, allocations: 4.031 kB / 338.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.1026, allocations: 8 kB / 338.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1027, allocations: 0 / 338.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1027, allocations: 0 / 338.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1027, allocations: 4 kB / 338.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1027, allocations: 3.984 kB / 338.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.1032, allocations: 0.7734 MB / 339.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.1033, allocations: 96.94 kB / 339.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.1033, allocations: 4 kB / 339.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.1034, allocations: 8 kB / 339.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.1034, allocations: 7.922 kB / 339.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1034, allocations: 7.938 kB / 339.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.731e-05/0.1035, allocations: 127.2 kB / 339.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1035, allocations: 0 / 339.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003496/0.1039, allocations: 32 kB / 339.6 MB, free: 11.74 MB / 266.7 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.0001289/0.104, allocations: 103.2 kB / 339.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.1042, allocations: 95.39 kB / 339.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1042, allocations: 3.938 kB / 339.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.724e-05/0.1043, allocations: 79.33 kB / 339.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000574/0.1048, allocations: 63.25 kB / 340 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.1054, allocations: 387.9 kB / 340.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.1057, allocations: 0.7009 MB / 341 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.114e-05/0.1058, allocations: 17.47 kB / 341.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.1058, allocations: 19.42 kB / 341.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1058, allocations: 0 / 341.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of Templates: time 0.004494/0.1103, allocations: 1.848 MB / 342.9 MB, free: 8.359 MB / 266.7 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)