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.0007253/0.0007256, allocations: 141.2 kB / 7.616 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.498/1.498, allocations: 150.6 MB / 158.6 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001424/0.001423, allocations: 86.25 kB / 193.6 MB, free: 12.55 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04777/0.04777, allocations: 11.73 MB / 240.2 MB, free: 24.48 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.616e-05, allocations: 0 / 283.6 MB, free: 12.97 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2707, allocations: 37.12 MB / 320.8 MB, free: 33.63 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07897/0.3498, allocations: 49.83 MB / 370.6 MB, free: 7.004 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.35, allocations: 59.97 kB / 370.7 MB, free: 6.945 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01746/0.3675, allocations: 6.476 MB / 377.1 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3675, allocations: 0 / 377.1 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.3675, allocations: 0 / 377.1 MB, free: 0.4961 MB / 250.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.0004463/0.368, allocations: 438.8 kB / 377.6 MB, free: 24 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.368, allocations: 8.031 kB / 377.6 MB, free: 16 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.3681, allocations: 19.98 kB / 377.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.3683, allocations: 211.9 kB / 377.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.3684, allocations: 4 kB / 377.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.3684, allocations: 8 kB / 377.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000175/0.3686, allocations: 112 kB / 377.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3687, allocations: 105.6 kB / 378 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.3687, allocations: 3.938 kB / 378 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3688, allocations: 0 / 378 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3688, allocations: 8 kB / 378 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009319/0.3697, allocations: 0.8728 MB / 378.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.481e-05/0.3698, allocations: 54.56 kB / 379 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.3699, allocations: 24.98 kB / 379 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.37, allocations: 89.09 kB / 379.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.37, allocations: 30.56 kB / 379.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.37, allocations: 0 / 379.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008189/0.3709, allocations: 164.5 kB / 379.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.3709, allocations: 51.41 kB / 379.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.3711, allocations: 142.5 kB / 379.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3711, allocations: 29.7 kB / 379.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.3712, allocations: 123.6 kB / 379.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.3712, allocations: 19.8 kB / 379.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.3712, allocations: 0 / 379.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3714, allocations: 322.8 kB / 379.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.3715, allocations: 28 kB / 380 MB, free: 13.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.541e-05/0.3715, allocations: 23.94 kB / 380 MB, free: 13.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006987/0.3722, allocations: 115.9 kB / 380.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3723, allocations: 4.031 kB / 380.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008042/0.3731, allocations: 197.4 kB / 380.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.3731, allocations: 4 kB / 380.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.3731, allocations: 0 / 380.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3732, allocations: 0 / 380.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3733, allocations: 27.92 kB / 380.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3733, allocations: 0 / 380.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.3734, allocations: 11.84 kB / 380.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.3734, allocations: 3.984 kB / 380.3 MB, free: 12.96 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 0.0001062/0.3735, allocations: 105 kB / 380.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007062/0.3742, allocations: 161.5 kB / 380.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.3743, allocations: 7.906 kB / 380.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006593/0.3749, allocations: 177.8 kB / 380.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3749, allocations: 3.938 kB / 380.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.375, allocations: 4 kB / 380.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.375, allocations: 0 / 380.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008782/0.3758, allocations: 419.8 kB / 381.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3759, allocations: 7.938 kB / 381.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.3759, allocations: 12 kB / 381.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3759, allocations: 0 / 381.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.376, allocations: 6.547 kB / 381.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.376, allocations: 0 / 381.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.376, allocations: 4 kB / 381.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.3766, allocations: 258 kB / 381.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.55e-05/0.3767, allocations: 104.8 kB / 381.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.3767, allocations: 288 / 381.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.3768, allocations: 0 / 381.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.3768, allocations: 4 kB / 381.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3768, allocations: 11.88 kB / 381.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3769, allocations: 124 kB / 381.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3769, allocations: 0 / 381.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004232/0.3774, allocations: 95.81 kB / 381.8 MB, free: 11.38 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.0011/0.3785, allocations: 0.9435 MB / 382.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.3787, allocations: 59.92 kB / 382.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3787, allocations: 4 kB / 382.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.243e-05/0.3787, allocations: 16 kB / 382.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.3791, allocations: 41.06 kB / 382.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.3796, allocations: 235 kB / 383.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3799, allocations: 0.7119 MB / 383.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.99e-05/0.38, allocations: 18.28 kB / 383.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.3801, allocations: 47.36 kB / 383.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3801, allocations: 0 / 383.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.4017, allocations: 3.495 MB / 387.4 MB, free: 5.758 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/0.402, allocations: 149 kB / 387.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/1.898, allocations: 0 / 387.5 MB, free: 5.555 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)