Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.RestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple",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.001335/0.001335, 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.782/1.782, 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.001396/0.001396, allocations: 70.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.2074/0.2074, allocations: 11.7 MB / 245.5 MB, free: 34.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.107e-05/4.109e-05, allocations: 4 kB / 290.6 MB, free: 11.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.08872, allocations: 37.14 MB / 327.7 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2444/0.3332, allocations: 48.59 MB / 376.3 MB, free: 24.73 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.3334, allocations: 64.58 kB / 376.4 MB, free: 24.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007807/0.3412, allocations: 3.01 MB / 379.4 MB, free: 24.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3413, allocations: 4 kB / 379.4 MB, free: 24.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.3413, allocations: 3.75 kB / 379.4 MB, free: 24.1 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004624/0.3418, allocations: 420.9 kB / 379.8 MB, free: 23.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.3418, allocations: 7.656 kB / 379.8 MB, free: 23.7 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.3419, allocations: 46.44 kB / 379.9 MB, free: 23.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.3419, allocations: 12.44 kB / 379.9 MB, free: 23.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.3421, allocations: 201 kB / 380.1 MB, free: 23.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3421, allocations: 15.41 kB / 380.1 MB, free: 23.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.3422, allocations: 7.531 kB / 380.1 MB, free: 23.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.3423, allocations: 91.47 kB / 380.2 MB, free: 23.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3424, allocations: 0 / 380.2 MB, free: 23.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3424, allocations: 0 / 380.2 MB, free: 23.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3424, allocations: 7.75 kB / 380.2 MB, free: 23.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.3425, allocations: 59.2 kB / 380.3 MB, free: 23.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/0.3432, allocations: 0.5833 MB / 380.9 MB, free: 22.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3434, allocations: 77.48 kB / 380.9 MB, free: 22.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.3434, allocations: 35.48 kB / 381 MB, free: 22.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3434, allocations: 0 / 381 MB, free: 22.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.3435, allocations: 38.12 kB / 381 MB, free: 22.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.3435, allocations: 3.812 kB / 381 MB, free: 22.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.000992/0.3445, allocations: 341.3 kB / 381.3 MB, free: 22.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.3445, allocations: 77.11 kB / 381.4 MB, free: 22.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.276e-05/0.3446, allocations: 124.5 kB / 381.5 MB, free: 22.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.3446, allocations: 28.95 kB / 381.6 MB, free: 22.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.3447, allocations: 105.1 kB / 381.7 MB, free: 22.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.3447, allocations: 41.88 kB / 381.7 MB, free: 22.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.3447, allocations: 0 / 381.7 MB, free: 22.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.298e-05/0.3448, allocations: 329.6 kB / 382 MB, free: 22.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.3448, allocations: 22.19 kB / 382.1 MB, free: 22.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-05/0.3449, allocations: 38.67 kB / 382.1 MB, free: 22.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.523e-05/0.3449, allocations: 58.25 kB / 382.1 MB, free: 21.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.3449, allocations: 0 / 382.1 MB, free: 21.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001527/0.3451, allocations: 131.9 kB / 382.3 MB, free: 21.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.3451, allocations: 37.95 kB / 382.3 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3451, allocations: 0 / 382.3 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3451, allocations: 4.031 kB / 382.3 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.3453, allocations: 30.11 kB / 382.3 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3453, allocations: 3.812 kB / 382.4 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.3455, allocations: 19.92 kB / 382.4 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3455, allocations: 5.531 kB / 382.4 MB, free: 21.88 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.012e-05/0.3455, allocations: 144.9 kB / 382.5 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.3456, allocations: 8.359 kB / 382.5 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.3458, allocations: 160.6 kB / 382.7 MB, free: 21.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3458, allocations: 0 / 382.7 MB, free: 21.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3458, allocations: 0 / 382.7 MB, free: 21.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3458, allocations: 0.7969 kB / 382.7 MB, free: 21.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.346, allocations: 222.8 kB / 382.9 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.346, allocations: 4 kB / 382.9 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.3462, allocations: 40.98 kB / 382.9 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3462, allocations: 3.812 kB / 382.9 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3462, allocations: 0.6562 kB / 382.9 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3462, allocations: 0 / 382.9 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3462, allocations: 0.6562 kB / 383 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.3464, allocations: 238.5 kB / 383.2 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.3465, allocations: 104 kB / 383.3 MB, free: 21.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3465, allocations: 3.562 kB / 383.3 MB, free: 21.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3466, allocations: 19.39 kB / 383.3 MB, free: 21.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.3467, allocations: 11.48 kB / 383.3 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3467, allocations: 5.188 kB / 383.3 MB, free: 21.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.3468, allocations: 114 kB / 383.4 MB, free: 21.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3468, allocations: 4 kB / 383.4 MB, free: 21.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.347, allocations: 31.95 kB / 383.5 MB, free: 21.08 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0003292/0.3474, allocations: 0.7879 MB / 384.3 MB, free: 20.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.3475, allocations: 128.1 kB / 384.4 MB, free: 20.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3476, allocations: 0.8438 kB / 384.4 MB, free: 20.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/0.3476, allocations: 99.7 kB / 384.5 MB, free: 20.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.348, allocations: 51.28 kB / 384.5 MB, free: 20.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.3484, allocations: 187.8 kB / 384.7 MB, free: 20.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.3486, allocations: 0.7116 MB / 385.4 MB, free: 19.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.407e-05/0.3487, allocations: 15.56 kB / 385.4 MB, free: 19.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.3487, allocations: 38.28 kB / 385.5 MB, free: 19.4 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3487, allocations: 0 / 385.5 MB, free: 19.4 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.3712, allocations: 3.302 MB / 388.8 MB, free: 18.58 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001311/0.3713, allocations: 159.8 kB / 388.9 MB, free: 18.35 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.842, allocations: 4 kB / 388.9 MB, free: 18.35 MB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1)