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.007808/0.007808, allocations: 143.8 kB / 15.09 MB, free: 5.969 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.004/1.004, allocations: 150.7 MB / 166.5 MB, free: 6.02 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001353/0.001353, allocations: 82.47 kB / 201.8 MB, free: 2.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04825/0.04825, allocations: 11.84 MB / 248.8 MB, free: 0.6094 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 16 kB / 296.5 MB, free: 26.77 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07348/0.07387, allocations: 37.14 MB / 333.7 MB, free: 5.93 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07021/0.1441, allocations: 50.57 MB / 384.3 MB, free: 3.289 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.1444, allocations: 63.97 kB / 384.3 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1711/0.3155, allocations: 6.546 MB / 390.9 MB, free: 55.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.3156, allocations: 0 / 390.9 MB, free: 55.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.3156, allocations: 2.938 kB / 390.9 MB, free: 55.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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005652/0.3162, allocations: 462.3 kB / 391.3 MB, free: 55.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.3163, allocations: 9.562 kB / 391.3 MB, free: 55.11 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.3164, allocations: 46 kB / 391.4 MB, free: 55.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.3164, allocations: 13.12 kB / 391.4 MB, free: 55.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.3167, allocations: 214.1 kB / 391.6 MB, free: 54.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3167, allocations: 8.219 kB / 391.6 MB, free: 54.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.3168, allocations: 12.69 kB / 391.6 MB, free: 54.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.3171, allocations: 121 kB / 391.7 MB, free: 54.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3171, allocations: 0.9062 kB / 391.7 MB, free: 54.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3171, allocations: 4.656 kB / 391.7 MB, free: 54.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3171, allocations: 3.062 kB / 391.7 MB, free: 54.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.3174, allocations: 120.4 kB / 391.9 MB, free: 54.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009248/0.3183, allocations: 0.9205 MB / 392.8 MB, free: 53.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.3185, allocations: 58.45 kB / 392.8 MB, free: 53.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.3186, allocations: 85.47 kB / 392.9 MB, free: 53.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.3187, allocations: 40.42 kB / 393 MB, free: 53.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.3187, allocations: 0 / 393 MB, free: 53.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003333/0.319, allocations: 101.1 kB / 393.1 MB, free: 53.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.319, allocations: 53.41 kB / 393.1 MB, free: 53.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.3193, allocations: 182.8 kB / 393.3 MB, free: 53.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3193, allocations: 25.7 kB / 393.3 MB, free: 53.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.3193, allocations: 115.8 kB / 393.4 MB, free: 53.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.3194, allocations: 24.22 kB / 393.4 MB, free: 53.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.3194, allocations: 4 kB / 393.5 MB, free: 53.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.3194, allocations: 326.6 kB / 393.8 MB, free: 53.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/0.3195, allocations: 28.2 kB / 393.8 MB, free: 53.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/0.3196, allocations: 34.2 kB / 393.8 MB, free: 53.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.195e-05/0.3196, allocations: 31.69 kB / 393.9 MB, free: 53.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3196, allocations: 0 / 393.9 MB, free: 53.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.3198, allocations: 111.8 kB / 394 MB, free: 52.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3199, allocations: 5.297 kB / 394 MB, free: 52.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3199, allocations: 0.9688 kB / 394 MB, free: 52.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3199, allocations: 1.469 kB / 394 MB, free: 52.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.32, allocations: 21.05 kB / 394 MB, free: 52.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.32, allocations: 1.562 kB / 394 MB, free: 52.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.3201, allocations: 15.56 kB / 394 MB, free: 52.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3201, allocations: 3.453 kB / 394 MB, free: 52.95 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 () * Number of clocked 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 6.865e-05/0.3202, allocations: 123.3 kB / 394.1 MB, free: 52.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.3202, allocations: 15.02 kB / 394.2 MB, free: 52.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.3204, allocations: 108.4 kB / 394.3 MB, free: 52.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3205, allocations: 1.375 kB / 394.3 MB, free: 52.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3205, allocations: 0 / 394.3 MB, free: 52.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3205, allocations: 4.953 kB / 394.3 MB, free: 52.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.3209, allocations: 392.9 kB / 394.6 MB, free: 52.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3209, allocations: 3.469 kB / 394.7 MB, free: 52.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.321, allocations: 9.109 kB / 394.7 MB, free: 52.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.321, allocations: 2.094 kB / 394.7 MB, free: 52.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.321, allocations: 1.125 kB / 394.7 MB, free: 52.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.321, allocations: 6.281 kB / 394.7 MB, free: 52.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.321, allocations: 0 / 394.7 MB, free: 52.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.3212, allocations: 197.9 kB / 394.9 MB, free: 52.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.3212, allocations: 105.1 kB / 395 MB, free: 52.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.3213, allocations: 2 kB / 395 MB, free: 52.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.3214, allocations: 3.281 kB / 395 MB, free: 52.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.3214, allocations: 6.859 kB / 395 MB, free: 52.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.3214, allocations: 6.906 kB / 395 MB, free: 52.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.3215, allocations: 151.7 kB / 395.1 MB, free: 52 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3215, allocations: 0 / 395.1 MB, free: 52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004182/0.3219, allocations: 99.16 kB / 395.2 MB, free: 51.96 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 () * Number of clocked 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.0005856/0.3225, allocations: 0.8899 MB / 396.1 MB, free: 51.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.3227, allocations: 54.78 kB / 396.2 MB, free: 51.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3227, allocations: 1.125 kB / 396.2 MB, free: 51.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/0.3228, allocations: 30.02 kB / 396.2 MB, free: 51.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.3233, allocations: 68.53 kB / 396.3 MB, free: 51.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.3246, allocations: 0.8613 MB / 397.1 MB, free: 50.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.3247, allocations: 0.7099 MB / 397.8 MB, free: 49.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.046e-05/0.3248, allocations: 29.33 kB / 397.9 MB, free: 49.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.3249, allocations: 41.77 kB / 397.9 MB, free: 49.81 MB / 266.7 MB Notification: Performance of SimCode: time 4.468e-06/0.3249, allocations: 0 / 397.9 MB, free: 49.81 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.3414, allocations: 4.739 MB / 402.7 MB, free: 48.91 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001239/0.3416, allocations: 176.7 kB / 402.8 MB, free: 48.67 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.988, allocations: 3.656 kB / 402.8 MB, free: 48.67 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)