Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",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.009318/0.009318, allocations: 145.1 kB / 15.09 MB, free: 5.578 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.481/1.481, 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.001427/0.001427, allocations: 82.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.04864/0.04864, allocations: 11.85 MB / 248.8 MB, free: 0.6055 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.000404, allocations: 8.609 kB / 296.5 MB, free: 26.71 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09346, allocations: 37.15 MB / 333.7 MB, free: 5.93 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08525/0.1788, allocations: 50.31 MB / 384 MB, free: 3.551 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.1791, allocations: 63.97 kB / 384.1 MB, free: 3.488 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2211/0.4002, allocations: 4.563 MB / 388.6 MB, free: 55.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4003, allocations: 0.6562 kB / 388.6 MB, free: 55.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.4003, allocations: 2.625 kB / 388.6 MB, free: 55.77 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006149/0.401, allocations: 496 kB / 389.1 MB, free: 55.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.401, allocations: 8.781 kB / 389.1 MB, free: 55.33 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.384e-05/0.4011, allocations: 51.55 kB / 389.2 MB, free: 55.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.4012, allocations: 25.83 kB / 389.2 MB, free: 55.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.4015, allocations: 223.4 kB / 389.4 MB, free: 55.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.4015, allocations: 17.39 kB / 389.4 MB, free: 55.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.4015, allocations: 16.5 kB / 389.4 MB, free: 55.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.4019, allocations: 190.2 kB / 389.6 MB, free: 55.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.402, allocations: 2.297 kB / 389.6 MB, free: 55.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.402, allocations: 8.016 kB / 389.6 MB, free: 55.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.402, allocations: 8.062 kB / 389.6 MB, free: 55.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.4023, allocations: 126.3 kB / 389.8 MB, free: 55.01 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.4034, allocations: 0.9534 MB / 390.7 MB, free: 54.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.4038, allocations: 166 kB / 390.9 MB, free: 54.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.4038, allocations: 7.531 kB / 390.9 MB, free: 54.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.4039, allocations: 44.67 kB / 390.9 MB, free: 54.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.4039, allocations: 1.344 kB / 390.9 MB, free: 54.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001815/0.4057, allocations: 0.7838 MB / 391.7 MB, free: 53.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.4057, allocations: 87.56 kB / 391.8 MB, free: 53.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.4059, allocations: 153.5 kB / 392 MB, free: 53.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4059, allocations: 30.7 kB / 392 MB, free: 53.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.406, allocations: 132 kB / 392.1 MB, free: 53.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.4061, allocations: 64.58 kB / 392.2 MB, free: 53.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.4061, allocations: 4.656 kB / 392.2 MB, free: 53.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.4061, allocations: 325.5 kB / 392.5 MB, free: 53.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.4063, allocations: 71.02 kB / 392.6 MB, free: 53.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.4065, allocations: 99.77 kB / 392.7 MB, free: 53.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.4066, allocations: 93.91 kB / 392.8 MB, free: 53.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4066, allocations: 1.062 kB / 392.8 MB, free: 53.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000401/0.407, allocations: 244.8 kB / 393 MB, free: 52.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.4071, allocations: 34.45 kB / 393 MB, free: 52.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4071, allocations: 2.25 kB / 393 MB, free: 52.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4071, allocations: 5.922 kB / 393 MB, free: 52.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.4074, allocations: 61.66 kB / 393.1 MB, free: 52.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.4074, allocations: 2.438 kB / 393.1 MB, free: 52.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.4076, allocations: 14.23 kB / 393.1 MB, free: 52.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.4076, allocations: 5.875 kB / 393.1 MB, free: 52.9 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (23): * Single equations (assignments): 22 * 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.0001727/0.4078, allocations: 165.1 kB / 393.3 MB, free: 52.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.4078, allocations: 20.77 kB / 393.3 MB, free: 52.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000515/0.4083, allocations: 260.3 kB / 393.6 MB, free: 52.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4084, allocations: 3.359 kB / 393.6 MB, free: 52.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4084, allocations: 1.25 kB / 393.6 MB, free: 52.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.4084, allocations: 3.828 kB / 393.6 MB, free: 52.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007896/0.4092, allocations: 0.5809 MB / 394.1 MB, free: 52.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4092, allocations: 0.6094 kB / 394.1 MB, free: 52.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.4095, allocations: 52.69 kB / 394.2 MB, free: 52.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4095, allocations: 0 / 394.2 MB, free: 52.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.4095, allocations: 6.094 kB / 394.2 MB, free: 52.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.4095, allocations: 5.344 kB / 394.2 MB, free: 52.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4095, allocations: 5.484 kB / 394.2 MB, free: 52.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005994/0.4101, allocations: 413.5 kB / 394.6 MB, free: 51.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.854e-05/0.4102, allocations: 111 kB / 394.7 MB, free: 51.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.4103, allocations: 6.484 kB / 394.7 MB, free: 51.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.4104, allocations: 13.09 kB / 394.7 MB, free: 51.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.4105, allocations: 17.88 kB / 394.8 MB, free: 51.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.4105, allocations: 4.969 kB / 394.8 MB, free: 51.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.4107, allocations: 140.9 kB / 394.9 MB, free: 51.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4107, allocations: 0 / 394.9 MB, free: 51.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.411, allocations: 60.91 kB / 395 MB, free: 51.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * 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 (22): * Single equations (assignments): 21 * 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.0008142/0.4118, allocations: 0.9605 MB / 395.9 MB, free: 50.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.4123, allocations: 219.7 kB / 396.1 MB, free: 50.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4123, allocations: 1.031 kB / 396.1 MB, free: 50.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.4125, allocations: 147 kB / 396.3 MB, free: 50.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.413, allocations: 75.3 kB / 396.4 MB, free: 50.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.4151, allocations: 1.863 MB / 398.2 MB, free: 49.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.4153, allocations: 0.7358 MB / 399 MB, free: 48.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.4155, allocations: 29.23 kB / 399 MB, free: 48.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.4156, allocations: 64.22 kB / 399 MB, free: 48.53 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4156, allocations: 0 / 399 MB, free: 48.53 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.4327, allocations: 4.657 MB / 403.7 MB, free: 47.89 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/0.4329, allocations: 194.3 kB / 403.9 MB, free: 47.66 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.226, allocations: 0 / 403.9 MB, free: 47.66 MB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)