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.0008172/0.0008172, allocations: 148 kB / 15.75 MB, free: 6.332 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.8856/0.8856, allocations: 150.7 MB / 167.2 MB, free: 6.062 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001298/0.001298, allocations: 77.97 kB / 202.5 MB, free: 2.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04667/0.04667, allocations: 11.85 MB / 249.5 MB, free: 0.5859 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 16.56 kB / 297.1 MB, free: 26.89 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05806/0.0584, allocations: 37.14 MB / 334.2 MB, free: 5.988 MB / 218.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002187/0.06063, allocations: 1.915 MB / 336.2 MB, free: 4.055 MB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007251/0.06138, allocations: 0.5576 MB / 336.7 MB, free: 3.496 MB / 218.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.052e-05/0.06146, allocations: 0 / 336.7 MB, free: 3.496 MB / 218.7 MB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.06151, allocations: 11.91 kB / 336.7 MB, free: 3.484 MB / 218.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.06183, allocations: 115.2 kB / 336.8 MB, free: 3.371 MB / 218.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.745e-05/0.06192, allocations: 19.95 kB / 336.9 MB, free: 3.352 MB / 218.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.06209, allocations: 139.1 kB / 337 MB, free: 3.215 MB / 218.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.0622, allocations: 23.97 kB / 337 MB, free: 3.191 MB / 218.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.06229, allocations: 51.84 kB / 337.1 MB, free: 3.141 MB / 218.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.0624, allocations: 47.8 kB / 337.1 MB, free: 3.094 MB / 218.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.06243, allocations: 8 kB / 337.1 MB, free: 3.086 MB / 218.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.06249, allocations: 11.98 kB / 337.1 MB, free: 3.074 MB / 218.7 MB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.06252, allocations: 11.94 kB / 337.2 MB, free: 3.062 MB / 218.7 MB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.06256, allocations: 49.58 kB / 337.2 MB, free: 3.008 MB / 218.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.06267, allocations: 72.11 kB / 337.3 MB, free: 2.938 MB / 218.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.06269, allocations: 7.984 kB / 337.3 MB, free: 2.93 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0627, allocations: 0 / 337.3 MB, free: 2.93 MB / 218.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.0627, allocations: 0 / 337.3 MB, free: 2.93 MB / 218.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.0004049/0.06311, allocations: 409.2 kB / 337.7 MB, free: 2.477 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.06315, allocations: 8.031 kB / 337.7 MB, free: 2.469 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.0632, allocations: 11.91 kB / 337.7 MB, free: 2.457 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.0634, allocations: 202.8 kB / 337.9 MB, free: 2.219 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.06342, allocations: 7.953 kB / 337.9 MB, free: 2.211 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.06344, allocations: 8 kB / 337.9 MB, free: 2.203 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.0636, allocations: 77.66 kB / 338 MB, free: 2.121 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.06362, allocations: 3.938 kB / 338 MB, free: 2.117 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.06364, allocations: 4 kB / 338 MB, free: 2.113 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.06365, allocations: 8 kB / 338 MB, free: 2.105 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.923e-05/0.06375, allocations: 51.97 kB / 338.1 MB, free: 2.055 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.06435, allocations: 0.5049 MB / 338.6 MB, free: 1.469 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.51e-05/0.06445, allocations: 38.56 kB / 338.6 MB, free: 1.422 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.0645, allocations: 16.98 kB / 338.6 MB, free: 1.402 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.06452, allocations: 0 / 338.6 MB, free: 1.402 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.06456, allocations: 38.48 kB / 338.7 MB, free: 1.355 MB / 218.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.06456, allocations: 4 kB / 338.7 MB, free: 1.352 MB / 218.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002098/0.06478, allocations: 107.2 kB / 338.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.06484, allocations: 77.11 kB / 338.8 MB, free: 1.141 MB / 218.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.06497, allocations: 166 kB / 339 MB, free: 0.9688 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.065, allocations: 25.7 kB / 339 MB, free: 0.9375 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.06507, allocations: 111.9 kB / 339.1 MB, free: 0.8242 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.06509, allocations: 11.81 kB / 339.1 MB, free: 0.8125 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.0651, allocations: 0 / 339.1 MB, free: 0.8125 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.06521, allocations: 326.8 kB / 339.5 MB, free: 496 kB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.06526, allocations: 19.98 kB / 339.5 MB, free: 476 kB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-05/0.06529, allocations: 12 kB / 339.5 MB, free: 464 kB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/0.06535, allocations: 49.64 kB / 339.5 MB, free: 408 kB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.06536, allocations: 3.938 kB / 339.5 MB, free: 404 kB / 218.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001363/0.0655, allocations: 111.3 kB / 339.7 MB, free: 280 kB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.06554, allocations: 29.7 kB / 339.7 MB, free: 244 kB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.06555, allocations: 0 / 339.7 MB, free: 244 kB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.06556, allocations: 3.953 kB / 339.7 MB, free: 240 kB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.06568, allocations: 15.98 kB / 339.7 MB, free: 224 kB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.0657, allocations: 4 kB / 339.7 MB, free: 220 kB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.834e-05/0.06578, allocations: 7.844 kB / 339.7 MB, free: 212 kB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.06579, allocations: 8 kB / 339.7 MB, free: 204 kB / 218.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 8.271e-05/0.06588, allocations: 143.5 kB / 339.9 MB, free: 44 kB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.06592, allocations: 19.83 kB / 339.9 MB, free: 24 kB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.06611, allocations: 116 kB / 340 MB, free: 15.89 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.06612, allocations: 0 / 340 MB, free: 15.89 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.06613, allocations: 3.953 kB / 340 MB, free: 15.89 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.06614, allocations: 4 kB / 340 MB, free: 15.89 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.06649, allocations: 385 kB / 340.4 MB, free: 15.45 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.0665, allocations: 0 / 340.4 MB, free: 15.45 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.06656, allocations: 8.375 kB / 340.4 MB, free: 15.44 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.06657, allocations: 0 / 340.4 MB, free: 15.44 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.06658, allocations: 3.953 kB / 340.4 MB, free: 15.43 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.06659, allocations: 4 kB / 340.4 MB, free: 15.43 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.0666, allocations: 7.938 kB / 340.4 MB, free: 15.42 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.06676, allocations: 210 kB / 340.6 MB, free: 15.19 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.06684, allocations: 100.9 kB / 340.7 MB, free: 15.07 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.06686, allocations: 4 kB / 340.7 MB, free: 15.07 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.06697, allocations: 7.953 kB / 340.7 MB, free: 15.06 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.06699, allocations: 0 / 340.7 MB, free: 15.06 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.067, allocations: 4 kB / 340.7 MB, free: 15.06 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.474e-05/0.06709, allocations: 127.2 kB / 340.8 MB, free: 14.93 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0671, allocations: 4 kB / 340.8 MB, free: 14.93 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002293/0.06734, allocations: 32 kB / 340.9 MB, free: 14.9 MB / 234.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 (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.000127/0.06747, allocations: 109.6 kB / 341 MB, free: 14.79 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.06762, allocations: 99.33 kB / 341.1 MB, free: 14.68 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.06763, allocations: 3.938 kB / 341.1 MB, free: 14.67 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 6.28e-05/0.0677, allocations: 71.39 kB / 341.2 MB, free: 14.59 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.0682, allocations: 64 kB / 341.2 MB, free: 14.53 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.06863, allocations: 319.3 kB / 341.5 MB, free: 14.18 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.06888, allocations: 0.7009 MB / 342.2 MB, free: 13.45 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.06892, allocations: 15.44 kB / 342.2 MB, free: 13.43 MB / 234.7 MB Notification: Performance of SimCode: time 2.41e-07/0.06892, allocations: 0 / 342.2 MB, free: 13.43 MB / 234.7 MB Notification: Performance of Templates: time 0.003011/0.07194, allocations: 1.747 MB / 344 MB, free: 11.7 MB / 234.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)