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.008791/0.008791, allocations: 144.8 kB / 15.09 MB, free: 5.973 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.421/1.421, 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.001617/0.001616, allocations: 94.41 kB / 201.8 MB, free: 2.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05026/0.05026, allocations: 11.85 MB / 248.8 MB, free: 0.6055 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004615, allocations: 8.984 kB / 296.5 MB, free: 26.77 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09166/0.09214, allocations: 37.15 MB / 333.7 MB, free: 5.906 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08846/0.1806, allocations: 53.28 MB / 387 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.181, allocations: 63.97 kB / 387 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2447/0.4257, allocations: 9.034 MB / 396.1 MB, free: 55.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4257, allocations: 1.188 kB / 396.1 MB, free: 55.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.739e-05/0.4258, allocations: 3.969 kB / 396.1 MB, free: 55.72 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.001282/0.4271, allocations: 0.5743 MB / 396.6 MB, free: 55.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.4271, allocations: 9.406 kB / 396.6 MB, free: 55.23 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.4273, allocations: 59.69 kB / 396.7 MB, free: 55.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.4275, allocations: 34.34 kB / 396.7 MB, free: 55.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.4279, allocations: 264.9 kB / 397 MB, free: 54.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.428, allocations: 13.94 kB / 397 MB, free: 54.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.428, allocations: 24 kB / 397 MB, free: 54.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.4286, allocations: 271.9 kB / 397.3 MB, free: 54.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.4287, allocations: 0 / 397.3 MB, free: 54.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.4287, allocations: 10.56 kB / 397.3 MB, free: 54.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.4287, allocations: 5.562 kB / 397.3 MB, free: 54.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/0.4292, allocations: 221.5 kB / 397.5 MB, free: 54.68 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.002101/0.4314, allocations: 1.486 MB / 399 MB, free: 53.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.4318, allocations: 175.9 kB / 399.2 MB, free: 53.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.4319, allocations: 175.6 kB / 399.4 MB, free: 53.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.432, allocations: 35.72 kB / 399.4 MB, free: 53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.432, allocations: 0 / 399.4 MB, free: 53 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.002082/0.4341, allocations: 0.8 MB / 400.2 MB, free: 52.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.4341, allocations: 54.66 kB / 400.2 MB, free: 52.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.4344, allocations: 233.1 kB / 400.5 MB, free: 52.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.4345, allocations: 30.92 kB / 400.5 MB, free: 52.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/0.4346, allocations: 160.4 kB / 400.7 MB, free: 52.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.4346, allocations: 73 kB / 400.7 MB, free: 51.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.4347, allocations: 4 kB / 400.7 MB, free: 51.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.4348, allocations: 344.8 kB / 401.1 MB, free: 51.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.435, allocations: 89.09 kB / 401.2 MB, free: 51.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.4352, allocations: 132.1 kB / 401.3 MB, free: 51.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.4354, allocations: 90.92 kB / 401.4 MB, free: 51.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4354, allocations: 1.594 kB / 401.4 MB, free: 51.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005537/0.436, allocations: 282 kB / 401.7 MB, free: 51.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.436, allocations: 5.5 kB / 401.7 MB, free: 51.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.436, allocations: 5.312 kB / 401.7 MB, free: 51.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.4361, allocations: 2.75 kB / 401.7 MB, free: 51.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.4364, allocations: 76.42 kB / 401.7 MB, free: 51.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.4364, allocations: 6.734 kB / 401.7 MB, free: 51.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.4366, allocations: 12.25 kB / 401.8 MB, free: 51.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.4366, allocations: 14.86 kB / 401.8 MB, free: 51.26 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.0001992/0.4368, allocations: 144.9 kB / 401.9 MB, free: 51.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.4369, allocations: 24.09 kB / 401.9 MB, free: 51.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005699/0.4375, allocations: 273.1 kB / 402.2 MB, free: 50.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4375, allocations: 2.312 kB / 402.2 MB, free: 50.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4375, allocations: 0 / 402.2 MB, free: 50.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4375, allocations: 1.188 kB / 402.2 MB, free: 50.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.4386, allocations: 0.656 MB / 402.9 MB, free: 50.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4386, allocations: 0 / 402.9 MB, free: 50.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.4389, allocations: 61.14 kB / 402.9 MB, free: 50.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.4389, allocations: 5.562 kB / 402.9 MB, free: 50.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.439, allocations: 6.375 kB / 402.9 MB, free: 50.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.439, allocations: 9.141 kB / 402.9 MB, free: 50.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.439, allocations: 1.719 kB / 402.9 MB, free: 50.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007426/0.4397, allocations: 448.4 kB / 403.4 MB, free: 50.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.4399, allocations: 123.6 kB / 403.5 MB, free: 49.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/0.4399, allocations: 5.344 kB / 403.5 MB, free: 49.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.4402, allocations: 21.39 kB / 403.5 MB, free: 49.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.4402, allocations: 18.5 kB / 403.6 MB, free: 49.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.4403, allocations: 10.06 kB / 403.6 MB, free: 49.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.4405, allocations: 190.8 kB / 403.7 MB, free: 49.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4405, allocations: 3.938 kB / 403.8 MB, free: 49.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007341/0.4412, allocations: 131.8 kB / 403.9 MB, free: 49.75 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.001523/0.4428, allocations: 1.153 MB / 405 MB, free: 48.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005083/0.4433, allocations: 198.4 kB / 405.2 MB, free: 48.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4433, allocations: 4 kB / 405.2 MB, free: 48.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.4435, allocations: 101.6 kB / 405.3 MB, free: 48.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007356/0.4443, allocations: 116.1 kB / 405.4 MB, free: 48.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.4476, allocations: 2.687 MB / 408.1 MB, free: 46.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4479, allocations: 0.7681 MB / 408.9 MB, free: 45.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002667/0.4482, allocations: 46.38 kB / 408.9 MB, free: 45.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.4483, allocations: 85.34 kB / 409 MB, free: 45.62 MB / 266.7 MB Notification: Performance of SimCode: time 1.123e-06/0.4483, allocations: 0 / 409 MB, free: 45.62 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.4675, allocations: 7.536 MB / 416.6 MB, free: 39.95 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.4677, allocations: 181 kB / 416.7 MB, free: 39.71 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.46, allocations: 0 / 416.7 MB, free: 39.71 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)