Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",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.001129/0.001129, allocations: 146 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.386/1.386, 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.001515/0.001515, allocations: 74.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.2041/0.2041, allocations: 11.69 MB / 245.5 MB, free: 34.09 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.426e-05/4.43e-05, allocations: 0 / 290.6 MB, free: 11.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09905/0.09912, allocations: 37.15 MB / 327.8 MB, free: 6.105 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3301/0.4293, allocations: 50.47 MB / 378.2 MB, free: 24.41 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.4296, allocations: 60.44 kB / 378.3 MB, free: 24.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01772/0.4473, allocations: 6.529 MB / 384.8 MB, free: 22.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4474, allocations: 4 kB / 384.8 MB, free: 22.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.4474, allocations: 4 kB / 384.8 MB, free: 22.84 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004235/0.4478, allocations: 441.2 kB / 385.3 MB, free: 22.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4479, allocations: 8.031 kB / 385.3 MB, free: 22.38 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.4479, allocations: 39.72 kB / 385.3 MB, free: 22.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.448, allocations: 22.27 kB / 385.3 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.4482, allocations: 216.5 kB / 385.5 MB, free: 22.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.4483, allocations: 12.5 kB / 385.5 MB, free: 22.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.4483, allocations: 11.81 kB / 385.6 MB, free: 22.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.4485, allocations: 114.6 kB / 385.7 MB, free: 22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.4485, allocations: 4 kB / 385.7 MB, free: 22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4485, allocations: 3.625 kB / 385.7 MB, free: 22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4485, allocations: 4 kB / 385.7 MB, free: 21.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.4487, allocations: 116 kB / 385.8 MB, free: 21.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000898/0.4496, allocations: 0.915 MB / 386.7 MB, free: 21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.582e-05/0.4497, allocations: 57.17 kB / 386.8 MB, free: 20.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.4498, allocations: 23.73 kB / 386.8 MB, free: 20.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.757e-05/0.4499, allocations: 92.06 kB / 386.9 MB, free: 20.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.4499, allocations: 34.44 kB / 386.9 MB, free: 20.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4499, allocations: 0 / 386.9 MB, free: 20.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001874/0.4501, allocations: 78.19 kB / 387 MB, free: 20.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.4501, allocations: 59.34 kB / 387 MB, free: 20.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.4503, allocations: 181.2 kB / 387.2 MB, free: 20.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.4503, allocations: 25.7 kB / 387.2 MB, free: 20.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.4504, allocations: 127.7 kB / 387.4 MB, free: 20.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.4504, allocations: 13.39 kB / 387.4 MB, free: 20.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.4504, allocations: 3.688 kB / 387.4 MB, free: 20.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.4505, allocations: 326.4 kB / 387.7 MB, free: 20.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.4505, allocations: 28.59 kB / 387.7 MB, free: 20.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.204e-05/0.4506, allocations: 28.77 kB / 387.8 MB, free: 20 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.4506, allocations: 25.38 kB / 387.8 MB, free: 19.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.4506, allocations: 0 / 387.8 MB, free: 19.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001513/0.4508, allocations: 114.1 kB / 387.9 MB, free: 19.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4508, allocations: 4.984 kB / 387.9 MB, free: 19.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4508, allocations: 8.031 kB / 387.9 MB, free: 19.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4508, allocations: 0 / 387.9 MB, free: 19.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.4509, allocations: 15.66 kB / 387.9 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.451, allocations: 4 kB / 387.9 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.227e-05/0.451, allocations: 9.344 kB / 387.9 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.451, allocations: 7.438 kB / 388 MB, free: 19.86 MB / 266.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.559e-05/0.4511, allocations: 120.7 kB / 388.1 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.4511, allocations: 7.906 kB / 388.1 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.4513, allocations: 105.1 kB / 388.2 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4514, allocations: 9.672 kB / 388.2 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4514, allocations: 3.844 kB / 388.2 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4514, allocations: 0 / 388.2 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.4517, allocations: 386 kB / 388.6 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4517, allocations: 0 / 388.6 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.4518, allocations: 13.59 kB / 388.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4518, allocations: 4.031 kB / 388.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.4518, allocations: 1.734 kB / 388.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4518, allocations: 3.938 kB / 388.6 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4518, allocations: 4 kB / 388.6 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.452, allocations: 192.8 kB / 388.8 MB, free: 19.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.452, allocations: 110.7 kB / 388.9 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.4521, allocations: 4 kB / 388.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.4521, allocations: 1.641 kB / 388.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.4522, allocations: 4 kB / 388.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.4522, allocations: 2.016 kB / 388.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.4523, allocations: 158.3 kB / 389.1 MB, free: 18.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4523, allocations: 0 / 389.1 MB, free: 18.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003819/0.4527, allocations: 94.92 kB / 389.2 MB, free: 18.75 MB / 266.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0005036/0.4532, allocations: 0.8842 MB / 390 MB, free: 17.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.4533, allocations: 60.38 kB / 390.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4534, allocations: 0 / 390.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.4534, allocations: 25.72 kB / 390.1 MB, free: 17.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.4539, allocations: 75.23 kB / 390.2 MB, free: 17.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.4543, allocations: 219.2 kB / 390.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.4545, allocations: 0.7108 MB / 391.1 MB, free: 16.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.968e-05/0.4546, allocations: 24.05 kB / 391.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.4547, allocations: 45.59 kB / 391.2 MB, free: 16.78 MB / 266.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4547, allocations: 0 / 391.2 MB, free: 16.78 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.4699, allocations: 4.713 MB / 395.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.4701, allocations: 159.4 kB / 396.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.205, allocations: 0 / 396.1 MB, free: 11.98 MB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)