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.006638/0.006638, allocations: 145.4 kB / 15.09 MB, free: 5.582 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 0.948/0.948, allocations: 150.7 MB / 166.5 MB, free: 6.004 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001347/0.001347, allocations: 86.47 kB / 201.8 MB, free: 2.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0457/0.0457, allocations: 11.85 MB / 248.8 MB, free: 0.6133 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004937, allocations: 8.562 kB / 296.5 MB, free: 26.74 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08135/0.08187, allocations: 37.14 MB / 333.7 MB, free: 5.926 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07679/0.1588, allocations: 48.69 MB / 382.4 MB, free: 5.168 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.159, allocations: 63.97 kB / 382.4 MB, free: 5.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008454/0.1675, allocations: 3.019 MB / 385.5 MB, free: 2.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1675, allocations: 4 kB / 385.5 MB, free: 2.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.1676, allocations: 0 / 385.5 MB, free: 2.066 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.0006676/0.1682, allocations: 448 kB / 385.9 MB, free: 1.578 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.1683, allocations: 8.031 kB / 385.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.1684, allocations: 42.55 kB / 385.9 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.1684, allocations: 7.906 kB / 385.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1687, allocations: 207.6 kB / 386.2 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1687, allocations: 11.95 kB / 386.2 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.1688, allocations: 4 kB / 386.2 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.169, allocations: 105.6 kB / 386.3 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.1691, allocations: 0 / 386.3 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.1691, allocations: 4 kB / 386.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1691, allocations: 4 kB / 386.3 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.1694, allocations: 95.89 kB / 386.4 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.1702, allocations: 0.5786 MB / 387 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.1704, allocations: 102.4 kB / 387.1 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1705, allocations: 4 kB / 387.1 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1705, allocations: 30.56 kB / 387.1 MB, free: 224 kB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1705, allocations: 7.938 kB / 387.1 MB, free: 216 kB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.1493/0.3198, allocations: 475.8 kB / 387.6 MB, free: 56.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.3199, allocations: 82.91 kB / 387.6 MB, free: 56.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.32, allocations: 126 kB / 387.8 MB, free: 56.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.32, allocations: 28.42 kB / 387.8 MB, free: 56.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.3201, allocations: 106.8 kB / 387.9 MB, free: 56.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.3201, allocations: 32.75 kB / 387.9 MB, free: 56.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.3201, allocations: 0 / 387.9 MB, free: 56.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.3202, allocations: 322.5 kB / 388.2 MB, free: 55.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.3204, allocations: 60.28 kB / 388.3 MB, free: 55.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.3206, allocations: 70.23 kB / 388.4 MB, free: 55.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.3209, allocations: 91.27 kB / 388.5 MB, free: 55.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3209, allocations: 0 / 388.5 MB, free: 55.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004771/0.3213, allocations: 201.7 kB / 388.7 MB, free: 55.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.3214, allocations: 32.64 kB / 388.7 MB, free: 55.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3214, allocations: 0.875 kB / 388.7 MB, free: 55.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3214, allocations: 5.547 kB / 388.7 MB, free: 55.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.3217, allocations: 36.8 kB / 388.7 MB, free: 55.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3217, allocations: 1.75 kB / 388.7 MB, free: 55.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.3219, allocations: 19.14 kB / 388.7 MB, free: 55.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.3219, allocations: 3.844 kB / 388.8 MB, free: 55.61 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 9.767e-05/0.322, allocations: 152.2 kB / 388.9 MB, free: 55.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.322, allocations: 11.42 kB / 388.9 MB, free: 55.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005894/0.3226, allocations: 234.2 kB / 389.1 MB, free: 55.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3227, allocations: 1.156 kB / 389.1 MB, free: 55.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3227, allocations: 0 / 389.1 MB, free: 55.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3227, allocations: 1.766 kB / 389.1 MB, free: 55.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.3229, allocations: 224.4 kB / 389.4 MB, free: 55.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.323, allocations: 0.6094 kB / 389.4 MB, free: 55.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.3231, allocations: 37.28 kB / 389.4 MB, free: 55.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3231, allocations: 1.062 kB / 389.4 MB, free: 55.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3232, allocations: 3.625 kB / 389.4 MB, free: 55.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3232, allocations: 0 / 389.4 MB, free: 55.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3232, allocations: 3.406 kB / 389.4 MB, free: 55.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.3237, allocations: 304.4 kB / 389.7 MB, free: 55.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.3238, allocations: 100.4 kB / 389.8 MB, free: 54.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.3238, allocations: 4.719 kB / 389.8 MB, free: 54.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.324, allocations: 21.66 kB / 389.8 MB, free: 54.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.324, allocations: 10.81 kB / 389.8 MB, free: 54.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.3241, allocations: 4.25 kB / 389.8 MB, free: 54.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.337e-05/0.3241, allocations: 119.4 kB / 390 MB, free: 54.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3241, allocations: 2.406 kB / 390 MB, free: 54.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.3244, allocations: 33.05 kB / 390 MB, free: 54.84 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.000732/0.3251, allocations: 0.8501 MB / 390.8 MB, free: 54.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004881/0.3256, allocations: 201.1 kB / 391 MB, free: 54.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3257, allocations: 0 / 391 MB, free: 54.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.3259, allocations: 137.4 kB / 391.2 MB, free: 54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.3263, allocations: 62.08 kB / 391.2 MB, free: 53.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.3278, allocations: 1.011 MB / 392.2 MB, free: 53.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.3279, allocations: 0.7106 MB / 393 MB, free: 52.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.658e-05/0.3281, allocations: 21.41 kB / 393 MB, free: 52.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.3281, allocations: 37.33 kB / 393 MB, free: 52.69 MB / 266.7 MB Notification: Performance of SimCode: time 3.7e-07/0.3281, allocations: 0 / 393 MB, free: 52.69 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.3437, allocations: 3.3 MB / 396.3 MB, free: 52.38 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.3439, allocations: 185.2 kB / 396.5 MB, free: 52.14 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.062, allocations: 3.938 kB / 396.5 MB, free: 52.14 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)