Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",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.000926/0.0009261, allocations: 146.1 kB / 12.7 MB, free: 2.617 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. [/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.309/1.309, allocations: 150.5 MB / 163.7 MB, free: 2.379 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001405/0.001405, allocations: 70.38 kB / 198.8 MB, free: 12.98 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1742/0.1742, allocations: 11.7 MB / 245.5 MB, free: 34.14 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.469e-05/2.471e-05, allocations: 3.984 kB / 290.6 MB, free: 11.31 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09562, allocations: 37.14 MB / 327.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3288/0.4244, allocations: 53.19 MB / 380.9 MB, free: 23.81 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.4247, allocations: 62.78 kB / 381 MB, free: 23.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02414/0.4489, allocations: 9.004 MB / 390 MB, free: 18.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4489, allocations: 4 kB / 390 MB, free: 18.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.4489, allocations: 11.92 kB / 390 MB, free: 18.54 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006785/0.4496, allocations: 0.5302 MB / 390.5 MB, free: 17.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4496, allocations: 12.03 kB / 390.6 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.391e-05/0.4497, allocations: 51.3 kB / 390.6 MB, free: 17.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.4498, allocations: 39.95 kB / 390.6 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.4502, allocations: 263.2 kB / 390.9 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.4502, allocations: 19.56 kB / 390.9 MB, free: 17.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.4502, allocations: 23.31 kB / 390.9 MB, free: 17.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.4506, allocations: 260.4 kB / 391.2 MB, free: 17.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4507, allocations: 0 / 391.2 MB, free: 17.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.4507, allocations: 10.31 kB / 391.2 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.4507, allocations: 8 kB / 391.2 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.451, allocations: 209.6 kB / 391.4 MB, free: 17.25 MB / 266.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.4528, allocations: 1.492 MB / 392.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.4532, allocations: 160.6 kB / 393.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.4533, allocations: 77.59 kB / 393.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.4535, allocations: 166.2 kB / 393.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.4535, allocations: 42.05 kB / 393.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.4535, allocations: 0 / 393.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001578/0.4551, allocations: 0.6615 MB / 394 MB, free: 14.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.4552, allocations: 55.59 kB / 394.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.4554, allocations: 227.7 kB / 394.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4555, allocations: 32.33 kB / 394.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.4555, allocations: 158.8 kB / 394.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.4556, allocations: 72.66 kB / 394.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.4556, allocations: 7.688 kB / 394.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4557, allocations: 346.1 kB / 394.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.4559, allocations: 77.73 kB / 395 MB, free: 13.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.456, allocations: 117.9 kB / 395.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.4561, allocations: 78.12 kB / 395.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4561, allocations: 0 / 395.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003611/0.4565, allocations: 249.4 kB / 395.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4565, allocations: 4 kB / 395.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4566, allocations: 1.406 kB / 395.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4566, allocations: 4.156 kB / 395.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.4569, allocations: 79.88 kB / 395.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.4569, allocations: 4 kB / 395.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.457, allocations: 11.38 kB / 395.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.4571, allocations: 15.55 kB / 395.5 MB, free: 13.4 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 (28): * Single equations (assignments): 28 * 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.0001289/0.4572, allocations: 125.6 kB / 395.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.4573, allocations: 27.72 kB / 395.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.4577, allocations: 243.6 kB / 395.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4577, allocations: 0 / 395.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4577, allocations: 0 / 395.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4577, allocations: 0 / 395.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007358/0.4585, allocations: 0.6319 MB / 396.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4585, allocations: 4.031 kB / 396.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.4587, allocations: 66.95 kB / 396.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4587, allocations: 4 kB / 396.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.4588, allocations: 3.125 kB / 396.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4588, allocations: 4 kB / 396.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4588, allocations: 3.953 kB / 396.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.4592, allocations: 402.3 kB / 397 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.094e-05/0.4593, allocations: 123.4 kB / 397.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.4594, allocations: 3.312 kB / 397.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.4595, allocations: 19.44 kB / 397.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.4596, allocations: 15.61 kB / 397.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.4596, allocations: 4.062 kB / 397.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001471/0.4598, allocations: 207.2 kB / 397.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.914e-06/0.4598, allocations: 0 / 397.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004948/0.4603, allocations: 126.8 kB / 397.5 MB, free: 11.65 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0008051/0.4611, allocations: 1.105 MB / 398.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.4614, allocations: 178.4 kB / 398.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4614, allocations: 0 / 398.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.4615, allocations: 84.23 kB / 398.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006738/0.4622, allocations: 114.8 kB / 399 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/0.4632, allocations: 0.5313 MB / 399.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.4634, allocations: 0.771 MB / 400.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.4636, allocations: 46.95 kB / 400.3 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.4637, allocations: 89.45 kB / 400.4 MB, free: 8.934 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4637, allocations: 0 / 400.4 MB, free: 8.934 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.5006, allocations: 7.493 MB / 407.9 MB, free: 1.527 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.5008, allocations: 164.8 kB / 408.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.36, allocations: 0 / 408.1 MB, free: 1.297 MB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)