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.01013/0.01013, allocations: 143.8 kB / 15.09 MB, free: 5.934 MB / 13.93 MB [/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. [/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 1.523/1.523, allocations: 150.7 MB / 166.5 MB, free: 6.07 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001665/0.001664, allocations: 90.41 kB / 201.8 MB, free: 2.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.07552/0.07552, allocations: 11.85 MB / 248.8 MB, free: 0.5898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004565, allocations: 11.2 kB / 296.5 MB, free: 26.75 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07906/0.07955, allocations: 37.15 MB / 333.7 MB, free: 5.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.1832, allocations: 53.27 MB / 387 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.1836, allocations: 67.97 kB / 387 MB, free: 484 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2538/0.4374, allocations: 9.032 MB / 396.1 MB, free: 55.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4374, allocations: 0 / 396.1 MB, free: 55.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.422e-05/0.4375, allocations: 5.219 kB / 396.1 MB, free: 55.75 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.001171/0.4386, allocations: 0.566 MB / 396.6 MB, free: 55.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4387, allocations: 10.22 kB / 396.6 MB, free: 55.26 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.4388, allocations: 55.69 kB / 396.7 MB, free: 55.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.439, allocations: 38.19 kB / 396.7 MB, free: 55.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.4395, allocations: 267.3 kB / 397 MB, free: 54.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.4396, allocations: 17.66 kB / 397 MB, free: 54.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.4396, allocations: 24.06 kB / 397 MB, free: 54.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007011/0.4403, allocations: 268 kB / 397.3 MB, free: 54.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.4404, allocations: 0 / 397.3 MB, free: 54.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.4404, allocations: 10.22 kB / 397.3 MB, free: 54.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.4405, allocations: 5.656 kB / 397.3 MB, free: 54.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006606/0.4411, allocations: 228.5 kB / 397.5 MB, free: 54.71 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002758/0.4439, allocations: 1.482 MB / 399 MB, free: 53.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/0.4445, allocations: 172 kB / 399.2 MB, free: 53.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.4447, allocations: 173 kB / 399.4 MB, free: 53.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.4448, allocations: 35.75 kB / 399.4 MB, free: 53.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 3.176e-06/0.4448, allocations: 0 / 399.4 MB, free: 53.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.003103/0.4479, allocations: 0.8076 MB / 400.2 MB, free: 52.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.448, allocations: 54.34 kB / 400.2 MB, free: 52.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.4484, allocations: 237.4 kB / 400.5 MB, free: 52.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.4484, allocations: 35.02 kB / 400.5 MB, free: 52.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.4485, allocations: 156.5 kB / 400.7 MB, free: 52.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.017e-05/0.4486, allocations: 72.94 kB / 400.7 MB, free: 52.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.4486, allocations: 4 kB / 400.7 MB, free: 52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.4487, allocations: 340.4 kB / 401.1 MB, free: 51.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.4491, allocations: 89.53 kB / 401.2 MB, free: 51.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.4494, allocations: 131.4 kB / 401.3 MB, free: 51.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.4498, allocations: 100.2 kB / 401.4 MB, free: 51.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4498, allocations: 0 / 401.4 MB, free: 51.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009257/0.4507, allocations: 275 kB / 401.7 MB, free: 51.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4508, allocations: 5.5 kB / 401.7 MB, free: 51.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4508, allocations: 5.359 kB / 401.7 MB, free: 51.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.4508, allocations: 3.625 kB / 401.7 MB, free: 51.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005352/0.4514, allocations: 70.95 kB / 401.7 MB, free: 51.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.4514, allocations: 2.719 kB / 401.7 MB, free: 51.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.4518, allocations: 16.42 kB / 401.8 MB, free: 51.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.4518, allocations: 15.59 kB / 401.8 MB, free: 51.29 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "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 () * Number of clocked 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.0002676/0.4521, allocations: 144.7 kB / 401.9 MB, free: 51.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.4522, allocations: 31.98 kB / 401.9 MB, free: 51.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008626/0.4531, allocations: 269.3 kB / 402.2 MB, free: 50.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.4531, allocations: 2.469 kB / 402.2 MB, free: 50.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4531, allocations: 0 / 402.2 MB, free: 50.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4531, allocations: 0 / 402.2 MB, free: 50.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.4547, allocations: 0.6561 MB / 402.9 MB, free: 50.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4547, allocations: 1.375 kB / 402.9 MB, free: 50.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/0.4553, allocations: 65.02 kB / 402.9 MB, free: 50.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.4553, allocations: 1.312 kB / 402.9 MB, free: 50.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.4553, allocations: 5.594 kB / 402.9 MB, free: 50.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.4553, allocations: 1.375 kB / 402.9 MB, free: 50.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4553, allocations: 1.344 kB / 402.9 MB, free: 50.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.4565, allocations: 452 kB / 403.4 MB, free: 50.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.4567, allocations: 128.1 kB / 403.5 MB, free: 49.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.4568, allocations: 6.531 kB / 403.5 MB, free: 49.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.4571, allocations: 20.42 kB / 403.5 MB, free: 49.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.4572, allocations: 15.41 kB / 403.6 MB, free: 49.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.4572, allocations: 8.609 kB / 403.6 MB, free: 49.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002881/0.4575, allocations: 199.9 kB / 403.8 MB, free: 49.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4576, allocations: 0 / 403.8 MB, free: 49.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008194/0.4584, allocations: 131.6 kB / 403.9 MB, free: 49.77 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 () * Number of clocked 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.00175/0.4602, allocations: 1.141 MB / 405 MB, free: 48.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007741/0.461, allocations: 208.1 kB / 405.2 MB, free: 48.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.461, allocations: 1.156 kB / 405.2 MB, free: 48.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.4613, allocations: 97.33 kB / 405.3 MB, free: 48.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.4627, allocations: 122 kB / 405.4 MB, free: 48.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.4671, allocations: 2.688 MB / 408.1 MB, free: 46.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.4674, allocations: 0.7642 MB / 408.9 MB, free: 45.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003712/0.4677, allocations: 46.31 kB / 408.9 MB, free: 45.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.468, allocations: 88.92 kB / 409 MB, free: 45.64 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.468, allocations: 0 / 409 MB, free: 45.64 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.5018, allocations: 7.532 MB / 416.6 MB, free: 39.94 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/0.5021, allocations: 184.7 kB / 416.7 MB, free: 39.7 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/3.508, allocations: 0 / 416.7 MB, free: 39.7 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)