Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",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.0009867/0.0009867, allocations: 139.8 kB / 7.615 MB, free: 1.453 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.473/1.473, allocations: 150.6 MB / 158.6 MB, free: 15.56 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001334/0.001334, allocations: 78.31 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.0484/0.0484, allocations: 11.73 MB / 240.2 MB, free: 24.48 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.486e-05, allocations: 4 kB / 283.7 MB, free: 12.98 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2628, allocations: 37.12 MB / 320.8 MB, free: 33.66 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08154/0.3444, allocations: 51.87 MB / 372.6 MB, free: 4.969 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.3446, allocations: 62.2 kB / 372.7 MB, free: 4.91 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: Re was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01767/0.3623, allocations: 6.424 MB / 379.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3623, allocations: 192 / 379.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.3624, allocations: 4 kB / 379.1 MB, free: 14.51 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006067/0.363, allocations: 0.4989 MB / 379.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.363, allocations: 15.97 kB / 379.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.3632, allocations: 31.66 kB / 379.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3634, allocations: 239.7 kB / 379.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3635, allocations: 8 kB / 379.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.3635, allocations: 16 kB / 379.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002196/0.3637, allocations: 112.7 kB / 380.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.364, allocations: 186 kB / 380.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3641, allocations: 0 / 380.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.3641, allocations: 0 / 380.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3641, allocations: 4 kB / 380.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.3654, allocations: 1.071 MB / 381.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.3656, allocations: 132.1 kB / 381.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.3657, allocations: 52.84 kB / 381.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.366, allocations: 336.4 kB / 381.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.366, allocations: 30.56 kB / 381.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.213e-06/0.366, allocations: 4 kB / 381.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.001475/0.3675, allocations: 0.5863 MB / 382.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.3676, allocations: 51.41 kB / 382.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3677, allocations: 146.8 kB / 382.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.3677, allocations: 25.7 kB / 382.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3679, allocations: 148.1 kB / 382.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.3679, allocations: 59.11 kB / 382.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-06/0.3679, allocations: 0 / 382.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3681, allocations: 326.8 kB / 383.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.624e-05/0.3681, allocations: 53.22 kB / 383.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3683, allocations: 91.31 kB / 383.3 MB, free: 9.887 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.3685, allocations: 79.88 kB / 383.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3685, allocations: 0 / 383.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004197/0.369, allocations: 202.4 kB / 383.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.369, allocations: 4 kB / 383.6 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.369, allocations: 4 kB / 383.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.369, allocations: 0 / 383.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.3693, allocations: 67.89 kB / 383.7 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3693, allocations: 7.891 kB / 383.7 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3694, allocations: 12.16 kB / 383.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.3694, allocations: 8 kB / 383.7 MB, free: 9.504 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0001124/0.3695, allocations: 105 kB / 383.8 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003912/0.3699, allocations: 182.5 kB / 384 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.37, allocations: 15.81 kB / 384 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004205/0.3704, allocations: 207.4 kB / 384.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3704, allocations: 0 / 384.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.3704, allocations: 0 / 384.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3704, allocations: 3.953 kB / 384.2 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007013/0.3711, allocations: 0.5013 MB / 384.7 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3712, allocations: 0 / 384.7 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.3714, allocations: 55.97 kB / 384.8 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3714, allocations: 4 kB / 384.8 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3714, allocations: 3.984 kB / 384.8 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3714, allocations: 4 kB / 384.8 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3714, allocations: 0 / 384.8 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.3719, allocations: 342.2 kB / 385.1 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.3721, allocations: 108.9 kB / 385.2 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.3721, allocations: 0 / 385.2 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.3722, allocations: 16.05 kB / 385.2 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.3723, allocations: 11.98 kB / 385.2 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.3723, allocations: 15.95 kB / 385.2 MB, free: 7.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.731e-05/0.3724, allocations: 123.2 kB / 385.4 MB, free: 7.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-07/0.3724, allocations: 0 / 385.4 MB, free: 7.746 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004235/0.3729, allocations: 103.9 kB / 385.5 MB, free: 7.645 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0008517/0.3737, allocations: 0.9342 MB / 386.4 MB, free: 6.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.374, allocations: 127.9 kB / 386.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.374, allocations: 3.938 kB / 386.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.525e-05/0.3741, allocations: 63.94 kB / 386.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.3745, allocations: 62.12 kB / 386.7 MB, free: 6.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009507/0.3755, allocations: 458.8 kB / 387.1 MB, free: 5.953 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.3759, allocations: 0.7516 MB / 387.9 MB, free: 5.172 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.376, allocations: 22.55 kB / 387.9 MB, free: 5.152 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3761, allocations: 71.41 kB / 387.9 MB, free: 5.082 MB / 266.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3761, allocations: 0 / 387.9 MB, free: 5.082 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.4006, allocations: 4.484 MB / 392.4 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.4008, allocations: 137.4 kB / 392.6 MB, free: 456 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.1, allocations: 0.7031 kB / 392.6 MB, free: 456 kB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)