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.001223/0.001223, allocations: 146.8 kB / 16.09 MB, free: 5.598 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 0.9956/0.9956, allocations: 150.7 MB / 167.5 MB, free: 2.562 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001341/0.001341, allocations: 77.03 kB / 202.8 MB, free: 12.3 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1292/0.1292, allocations: 11.82 MB / 249.9 MB, free: 34.29 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.000316, allocations: 12 kB / 297.7 MB, free: 8.004 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06197/0.0623, allocations: 37.15 MB / 334.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.2302, allocations: 48.24 MB / 383.1 MB, free: 26.71 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001647/0.2304, allocations: 63.56 kB / 383.1 MB, free: 26.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006763/0.2372, allocations: 2.934 MB / 386 MB, free: 24.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2372, allocations: 0 / 386 MB, free: 24.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.2372, allocations: 0 / 386 MB, free: 24.88 MB / 266.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.0002885/0.2375, allocations: 410 kB / 386.4 MB, free: 24.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.2375, allocations: 8.031 kB / 386.5 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.2376, allocations: 20.42 kB / 386.5 MB, free: 24.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2377, allocations: 193.8 kB / 386.7 MB, free: 24.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.2377, allocations: 8.375 kB / 386.7 MB, free: 24.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2377, allocations: 7.688 kB / 386.7 MB, free: 24.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.2379, allocations: 83.33 kB / 386.8 MB, free: 24.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2379, allocations: 192 / 386.8 MB, free: 24.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2379, allocations: 5.25 kB / 386.8 MB, free: 24.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2379, allocations: 4 kB / 386.8 MB, free: 24.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.227e-05/0.238, allocations: 57.34 kB / 386.8 MB, free: 24.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.2385, allocations: 0.5112 MB / 387.3 MB, free: 23.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.129e-05/0.2385, allocations: 44.48 kB / 387.4 MB, free: 23.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.2386, allocations: 16.53 kB / 387.4 MB, free: 23.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.2386, allocations: 4 kB / 387.4 MB, free: 23.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.2386, allocations: 31.88 kB / 387.4 MB, free: 23.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.2386, allocations: 0 / 387.4 MB, free: 23.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001833/0.2388, allocations: 109.3 kB / 387.5 MB, free: 23.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.2388, allocations: 86.64 kB / 387.6 MB, free: 23.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.239, allocations: 159.3 kB / 387.8 MB, free: 23.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.239, allocations: 25.7 kB / 387.8 MB, free: 23.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.239, allocations: 107.1 kB / 387.9 MB, free: 23.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.239, allocations: 20.81 kB / 387.9 MB, free: 23.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.239, allocations: 4 kB / 387.9 MB, free: 23.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.836e-05/0.2391, allocations: 319.2 kB / 388.2 MB, free: 22.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.265e-05/0.2391, allocations: 21.34 kB / 388.3 MB, free: 22.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/0.2391, allocations: 20.81 kB / 388.3 MB, free: 22.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.316e-05/0.2392, allocations: 94.14 kB / 388.4 MB, free: 22.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2392, allocations: 0 / 388.4 MB, free: 22.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001177/0.2394, allocations: 118 kB / 388.5 MB, free: 22.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2394, allocations: 29.7 kB / 388.5 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2394, allocations: 0 / 388.5 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.2394, allocations: 3.938 kB / 388.5 MB, free: 22.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.2395, allocations: 16.5 kB / 388.5 MB, free: 22.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2395, allocations: 0 / 388.5 MB, free: 22.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.2396, allocations: 6.438 kB / 388.5 MB, free: 22.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.2396, allocations: 8 kB / 388.6 MB, free: 22.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/0.2397, allocations: 147.4 kB / 388.7 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.2397, allocations: 13.5 kB / 388.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.2399, allocations: 112.2 kB / 388.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2399, allocations: 0 / 388.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2399, allocations: 4.875 kB / 388.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2399, allocations: 1.219 kB / 388.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.2402, allocations: 378.1 kB / 389.2 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2402, allocations: 0 / 389.2 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.2402, allocations: 9.828 kB / 389.2 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2402, allocations: 0 / 389.2 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.2402, allocations: 1.25 kB / 389.2 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2402, allocations: 4 kB / 389.2 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2403, allocations: 0.625 kB / 389.2 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.2404, allocations: 205.1 kB / 389.4 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.2404, allocations: 95.09 kB / 389.5 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.2404, allocations: 4 kB / 389.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.2405, allocations: 10.31 kB / 389.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.2406, allocations: 4 kB / 389.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.2406, allocations: 0 / 389.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.482e-05/0.2406, allocations: 121.9 kB / 389.6 MB, free: 21.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2406, allocations: 3.938 kB / 389.6 MB, free: 21.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.2409, allocations: 37.39 kB / 389.7 MB, free: 21.31 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.694e-05/0.241, allocations: 109 kB / 389.8 MB, free: 21.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.2411, allocations: 91.52 kB / 389.9 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2411, allocations: 0 / 389.9 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.63e-05/0.2412, allocations: 77.77 kB / 390 MB, free: 21.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.2416, allocations: 61.97 kB / 390 MB, free: 21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.242, allocations: 278.9 kB / 390.3 MB, free: 20.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.341e-05/0.2421, allocations: 0.6992 MB / 391 MB, free: 20.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.891e-05/0.2421, allocations: 18.78 kB / 391 MB, free: 20.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.2422, allocations: 20.3 kB / 391 MB, free: 20.01 MB / 266.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2422, allocations: 0 / 391 MB, free: 20.01 MB / 266.7 MB Notification: Performance of Templates: time 0.003497/0.2457, allocations: 1.755 MB / 392.8 MB, free: 18.97 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)