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.000963/0.000963, allocations: 139.8 kB / 7.615 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.457/1.457, allocations: 150.6 MB / 158.6 MB, free: 15.55 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001342/0.001342, allocations: 82.3 kB / 193.6 MB, free: 12.61 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0479/0.0479, allocations: 11.73 MB / 240.2 MB, free: 24.48 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.059e-05/1.061e-05, allocations: 0 / 283.6 MB, free: 12.98 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2702, allocations: 37.12 MB / 320.8 MB, free: 33.72 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07657/0.3468, allocations: 47.95 MB / 368.7 MB, free: 8.879 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001664/0.347, allocations: 56.83 kB / 368.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007521/0.3545, allocations: 2.996 MB / 371.8 MB, free: 5.852 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3546, allocations: 4 kB / 371.8 MB, free: 5.848 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3546, allocations: 0 / 371.8 MB, free: 5.848 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004571/0.3551, allocations: 425 kB / 372.2 MB, free: 5.383 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3551, allocations: 8.031 kB / 372.2 MB, free: 5.375 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.3551, allocations: 15.91 kB / 372.2 MB, free: 5.359 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.3554, allocations: 198.8 kB / 372.4 MB, free: 5.125 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3554, allocations: 4 kB / 372.4 MB, free: 5.121 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3554, allocations: 7.953 kB / 372.4 MB, free: 5.113 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001259/0.3555, allocations: 49.06 kB / 372.5 MB, free: 5.066 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3557, allocations: 81.66 kB / 372.5 MB, free: 4.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3557, allocations: 0 / 372.5 MB, free: 4.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3557, allocations: 0 / 372.5 MB, free: 4.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3557, allocations: 0 / 372.5 MB, free: 4.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006458/0.3564, allocations: 0.5479 MB / 373.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.3565, allocations: 70.56 kB / 373.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.3566, allocations: 36.97 kB / 373.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.3566, allocations: 12.14 kB / 373.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.3566, allocations: 40.38 kB / 373.2 MB, free: 4.176 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.3566, allocations: 0 / 373.2 MB, free: 4.176 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006597/0.3573, allocations: 189.3 kB / 373.4 MB, free: 3.984 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3574, allocations: 85.11 kB / 373.5 MB, free: 3.883 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.3574, allocations: 117.3 kB / 373.6 MB, free: 3.758 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3575, allocations: 25.7 kB / 373.7 MB, free: 3.727 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.3575, allocations: 95.98 kB / 373.8 MB, free: 3.629 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.3576, allocations: 35.45 kB / 373.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.3576, allocations: 0 / 373.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3577, allocations: 322.8 kB / 374.1 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/0.3577, allocations: 24 kB / 374.1 MB, free: 3.246 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.256e-05/0.3578, allocations: 41.64 kB / 374.2 MB, free: 3.199 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.3579, allocations: 27.98 kB / 374.2 MB, free: 3.172 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3579, allocations: 0 / 374.2 MB, free: 3.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002024/0.3581, allocations: 101.5 kB / 374.3 MB, free: 3.066 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.3582, allocations: 37.66 kB / 374.3 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3582, allocations: 0 / 374.3 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.3582, allocations: 0 / 374.3 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.3584, allocations: 36 kB / 374.4 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3584, allocations: 0 / 374.4 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3586, allocations: 23.97 kB / 374.4 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3586, allocations: 0 / 374.4 MB, free: 2.965 MB / 250.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 0.000113/0.3587, allocations: 138.6 kB / 374.5 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002129/0.3589, allocations: 101.9 kB / 374.6 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.359, allocations: 15.86 kB / 374.6 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.3592, allocations: 138.8 kB / 374.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3592, allocations: 0 / 374.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3593, allocations: 0 / 374.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3593, allocations: 0 / 374.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.3595, allocations: 190.1 kB / 375 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3595, allocations: 0 / 375 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.3597, allocations: 39.97 kB / 375 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.3597, allocations: 3.953 kB / 375 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3597, allocations: 0 / 375 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3597, allocations: 0 / 375 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3597, allocations: 0 / 375 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.3599, allocations: 203.3 kB / 375.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.36, allocations: 93 kB / 375.3 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.36, allocations: 3.953 kB / 375.3 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.3602, allocations: 27.97 kB / 375.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.3603, allocations: 8 kB / 375.3 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.3603, allocations: 3.984 kB / 375.3 MB, free: 1.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.056e-05/0.3603, allocations: 101.9 kB / 375.4 MB, free: 1.824 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3604, allocations: 0 / 375.4 MB, free: 1.824 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.3606, allocations: 28 kB / 375.5 MB, free: 1.797 MB / 250.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.0005306/0.3611, allocations: 0.7454 MB / 376.2 MB, free: 1.027 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.3613, allocations: 123.3 kB / 376.3 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3614, allocations: 0 / 376.3 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.3614, allocations: 95.34 kB / 376.4 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3618, allocations: 40.02 kB / 376.5 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.3623, allocations: 178 kB / 376.6 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.3626, allocations: 0.7119 MB / 377.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.447e-05/0.3627, allocations: 16.62 kB / 377.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.913e-05/0.3628, allocations: 35.42 kB / 377.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3628, allocations: 0 / 377.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.385, allocations: 2.688 MB / 380.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.3852, allocations: 145.8 kB / 380.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.426/1.811, allocations: 3.938 kB / 380.2 MB, free: 12.92 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)