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.009465/0.009469, allocations: 145.3 kB / 15.09 MB, free: 5.98 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.449/1.449, allocations: 150.7 MB / 166.5 MB, free: 6.023 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001754/0.001754, allocations: 86.53 kB / 201.8 MB, free: 2.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.07619/0.07619, allocations: 11.85 MB / 248.8 MB, free: 0.6055 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007452/0.0007452, allocations: 8 kB / 296.5 MB, free: 26.75 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07427/0.07506, allocations: 37.15 MB / 333.7 MB, free: 5.938 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09069/0.1658, allocations: 48.69 MB / 382.4 MB, free: 5.18 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.1661, allocations: 63.97 kB / 382.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01278/0.1789, allocations: 3.016 MB / 385.4 MB, free: 2.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.179, allocations: 0 / 385.4 MB, free: 2.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.179, allocations: 4 kB / 385.5 MB, free: 2.082 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.0007096/0.1797, allocations: 440.9 kB / 385.9 MB, free: 1.598 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1798, allocations: 12.03 kB / 385.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.1798, allocations: 34.56 kB / 385.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.1799, allocations: 15.84 kB / 385.9 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.1802, allocations: 199.4 kB / 386.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1802, allocations: 7.953 kB / 386.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.1802, allocations: 8 kB / 386.2 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.1806, allocations: 105.6 kB / 386.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.1807, allocations: 0 / 386.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.1807, allocations: 8 kB / 386.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1807, allocations: 0 / 386.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.1812, allocations: 103.8 kB / 386.4 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.1822, allocations: 0.5825 MB / 386.9 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.1826, allocations: 102.5 kB / 387 MB, free: 280 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1826, allocations: 3.938 kB / 387.1 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.1827, allocations: 38.55 kB / 387.1 MB, free: 228 kB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.834e-06/0.1827, allocations: 0 / 387.1 MB, free: 228 kB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.2104/0.3931, allocations: 477.9 kB / 387.6 MB, free: 56.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.3932, allocations: 82.39 kB / 387.6 MB, free: 56.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3933, allocations: 125 kB / 387.8 MB, free: 56.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.3934, allocations: 27.8 kB / 387.8 MB, free: 56.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.3934, allocations: 108.2 kB / 387.9 MB, free: 55.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.3935, allocations: 31.61 kB / 387.9 MB, free: 55.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.3935, allocations: 1.125 kB / 387.9 MB, free: 55.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.3936, allocations: 324.3 kB / 388.2 MB, free: 55.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.394, allocations: 60.45 kB / 388.3 MB, free: 55.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.3944, allocations: 72.41 kB / 388.4 MB, free: 55.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.3947, allocations: 91.25 kB / 388.5 MB, free: 55.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3948, allocations: 0 / 388.5 MB, free: 55.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008526/0.3956, allocations: 202.3 kB / 388.7 MB, free: 55.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.3957, allocations: 32.64 kB / 388.7 MB, free: 55.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3957, allocations: 0 / 388.7 MB, free: 55.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3957, allocations: 1.688 kB / 388.7 MB, free: 55.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.3961, allocations: 34.7 kB / 388.7 MB, free: 55.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.3961, allocations: 1.156 kB / 388.7 MB, free: 55.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.3964, allocations: 22.48 kB / 388.7 MB, free: 55.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.3964, allocations: 4.984 kB / 388.8 MB, free: 55.48 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 () * Number of clocked 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.0001354/0.3965, allocations: 151.2 kB / 388.9 MB, free: 55.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.3966, allocations: 10.02 kB / 388.9 MB, free: 55.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000972/0.3976, allocations: 230.8 kB / 389.1 MB, free: 55.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3976, allocations: 1.719 kB / 389.1 MB, free: 55.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3976, allocations: 1.062 kB / 389.1 MB, free: 55.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3976, allocations: 0.7031 kB / 389.1 MB, free: 55.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.398, allocations: 222.9 kB / 389.4 MB, free: 55.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.398, allocations: 3.844 kB / 389.4 MB, free: 55.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.3983, allocations: 32.8 kB / 389.4 MB, free: 55.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.3983, allocations: 1.938 kB / 389.4 MB, free: 55.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.3984, allocations: 4.031 kB / 389.4 MB, free: 55.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3984, allocations: 1.875 kB / 389.4 MB, free: 55.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3984, allocations: 3.281 kB / 389.4 MB, free: 55.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008484/0.3993, allocations: 308.8 kB / 389.7 MB, free: 54.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3994, allocations: 100.4 kB / 389.8 MB, free: 54.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.3994, allocations: 4.219 kB / 389.8 MB, free: 54.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.3997, allocations: 20.11 kB / 389.8 MB, free: 54.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.3998, allocations: 8.266 kB / 389.8 MB, free: 54.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.3998, allocations: 8.859 kB / 389.8 MB, free: 54.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.4, allocations: 119.8 kB / 390 MB, free: 54.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4, allocations: 0 / 390 MB, free: 54.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003826/0.4004, allocations: 33.38 kB / 390 MB, free: 54.71 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 () * Number of clocked 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.001132/0.4015, allocations: 0.8525 MB / 390.8 MB, free: 54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008225/0.4024, allocations: 202.9 kB / 391 MB, free: 53.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4024, allocations: 3.938 kB / 391 MB, free: 53.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.4028, allocations: 125.4 kB / 391.2 MB, free: 53.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007161/0.4035, allocations: 66.44 kB / 391.2 MB, free: 53.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.4059, allocations: 1.004 MB / 392.2 MB, free: 53.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.4062, allocations: 0.7124 MB / 392.9 MB, free: 52.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001693/0.4063, allocations: 14.84 kB / 393 MB, free: 52.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.4065, allocations: 40.86 kB / 393 MB, free: 52.56 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4065, allocations: 4 kB / 393 MB, free: 52.56 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.4322, allocations: 3.301 MB / 396.3 MB, free: 52.25 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/0.4325, allocations: 184.9 kB / 396.5 MB, free: 52.01 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/2.948, allocations: 0 / 396.5 MB, free: 52.01 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)