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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.TankTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.TankTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.001266/0.001266, allocations: 137.2 kB / 7.612 MB, free: 1.457 MB / 5.871 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:570:14-570:31:writable] Warning: Treating .0158271919734802 as 0.0158271919734802. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:570:48-570:65:writable] Warning: Treating .0942738402188500 as 0.0942738402188500. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:571:13-571:29:writable] Warning: Treating .155071987336585 as 0.155071987336585. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:571:47-571:63:writable] Warning: Treating .188821573960182 as 0.188821573960182. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:9-572:25:writable] Warning: Treating .199773405226859 as 0.199773405226859. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:42-572:58:writable] Warning: Treating .224926465333340 as 0.224926465333340. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:75-572:91:writable] Warning: Treating .242611071901408 as 0.242611071901408. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 1.476/1.476, allocations: 150.6 MB / 158.6 MB, free: 15.55 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001367/0.001367, allocations: 86.28 kB / 193.6 MB, free: 12.62 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04715/0.04715, allocations: 11.73 MB / 240.2 MB, free: 24.48 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.749e-05/1.718e-05, allocations: 0 / 283.6 MB, free: 12.98 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2761, allocations: 37.12 MB / 320.8 MB, free: 33.67 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07207/0.3482, allocations: 47.48 MB / 368.2 MB, free: 9.352 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.3485, allocations: 62.19 kB / 368.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007679/0.3562, allocations: 2.9 MB / 371.2 MB, free: 6.41 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3563, allocations: 4 kB / 371.2 MB, free: 6.406 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3563, allocations: 0 / 371.2 MB, free: 6.406 MB / 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.0003991/0.3567, allocations: 405 kB / 371.6 MB, free: 5.961 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3567, allocations: 8.031 kB / 371.6 MB, free: 5.953 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.3568, allocations: 11.81 kB / 371.6 MB, free: 5.941 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.357, allocations: 191 kB / 371.8 MB, free: 5.715 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.357, allocations: 0 / 371.8 MB, free: 5.715 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.357, allocations: 7.984 kB / 371.8 MB, free: 5.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001175/0.3572, allocations: 51.89 kB / 371.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3573, allocations: 77.66 kB / 371.9 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3573, allocations: 0 / 371.9 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3573, allocations: 0 / 371.9 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3574, allocations: 7.938 kB / 372 MB, free: 5.566 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.358, allocations: 469.6 kB / 372.4 MB, free: 5.039 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.429e-05/0.3581, allocations: 42.55 kB / 372.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.3581, allocations: 20.98 kB / 372.5 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.3581, allocations: 7.922 kB / 372.5 MB, free: 4.957 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3582, allocations: 30.56 kB / 372.5 MB, free: 4.918 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3582, allocations: 0 / 372.5 MB, free: 4.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002207/0.3584, allocations: 69.69 kB / 372.6 MB, free: 4.844 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3584, allocations: 81.09 kB / 372.7 MB, free: 4.746 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3586, allocations: 121.3 kB / 372.8 MB, free: 4.617 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.3586, allocations: 29.7 kB / 372.8 MB, free: 4.582 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.3586, allocations: 111.8 kB / 372.9 MB, free: 4.469 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.3587, allocations: 19.75 kB / 372.9 MB, free: 4.449 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.3587, allocations: 0 / 372.9 MB, free: 4.449 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3588, allocations: 322.8 kB / 373.2 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.3588, allocations: 12 kB / 373.3 MB, free: 4.113 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.3589, allocations: 12 kB / 373.3 MB, free: 4.102 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.519e-05/0.359, allocations: 25.31 kB / 373.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.359, allocations: 0 / 373.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001945/0.3592, allocations: 85.58 kB / 373.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.3592, allocations: 33.7 kB / 373.4 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3592, allocations: 0 / 373.4 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3592, allocations: 0 / 373.4 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3594, allocations: 16.73 kB / 373.4 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.3594, allocations: 0 / 373.4 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.3594, allocations: 4 kB / 373.4 MB, free: 3.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.3595, allocations: 0 / 373.4 MB, free: 3.93 MB / 250.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 () * 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 0.0001043/0.3596, allocations: 142.6 kB / 373.6 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001388/0.3597, allocations: 66.47 kB / 373.6 MB, free: 3.707 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.3597, allocations: 11.91 kB / 373.6 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.3599, allocations: 81.02 kB / 373.7 MB, free: 3.613 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3599, allocations: 0 / 373.7 MB, free: 3.613 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3599, allocations: 0 / 373.7 MB, free: 3.613 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3599, allocations: 3.953 kB / 373.7 MB, free: 3.609 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.3603, allocations: 319.9 kB / 374 MB, free: 3.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3603, allocations: 3.938 kB / 374 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.3604, allocations: 4 kB / 374.1 MB, free: 3.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3604, allocations: 8.031 kB / 374.1 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3604, allocations: 3.984 kB / 374.1 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3604, allocations: 0 / 374.1 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3604, allocations: 7.891 kB / 374.1 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.3606, allocations: 174 kB / 374.2 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.3607, allocations: 96.94 kB / 374.3 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3607, allocations: 4 kB / 374.3 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.831e-05/0.3608, allocations: 7.953 kB / 374.3 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.3608, allocations: 0 / 374.3 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.3608, allocations: 4 kB / 374.4 MB, free: 2.898 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.108e-05/0.3609, allocations: 111.2 kB / 374.5 MB, free: 2.789 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3609, allocations: 0 / 374.5 MB, free: 2.789 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000263/0.3612, allocations: 27.94 kB / 374.5 MB, free: 2.762 MB / 250.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 () * 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 0.0005856/0.3618, allocations: 0.7904 MB / 375.3 MB, free: 1.938 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.3619, allocations: 95.33 kB / 375.4 MB, free: 1.832 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.362, allocations: 0 / 375.4 MB, free: 1.832 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.935e-05/0.362, allocations: 71.41 kB / 375.4 MB, free: 1.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.3624, allocations: 36.34 kB / 375.5 MB, free: 1.719 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.3628, allocations: 146.8 kB / 375.6 MB, free: 1.531 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3631, allocations: 0.6963 MB / 376.3 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.372e-05/0.3632, allocations: 26.8 kB / 376.3 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.3632, allocations: 27.42 kB / 376.4 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3632, allocations: 0 / 376.4 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05398/0.4172, allocations: 2.028 MB / 378.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.4175, allocations: 133.2 kB / 378.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.33/1.747, allocations: 0 / 378.5 MB, free: 14.59 MB / 266.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1)