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.001194/0.001194, allocations: 145 kB / 7.618 MB, free: 1.449 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.546/1.546, 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.001413/0.001413, allocations: 86.28 kB / 193.6 MB, free: 12.62 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04689/0.04689, allocations: 11.72 MB / 240.2 MB, free: 24.49 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.214e-05, allocations: 0 / 283.7 MB, free: 12.99 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2708, allocations: 37.12 MB / 320.8 MB, free: 33.84 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06759/0.3384, allocations: 49.55 MB / 370.3 MB, free: 7.355 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001672/0.3386, allocations: 64.66 kB / 370.4 MB, free: 7.293 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01146/0.3501, allocations: 4.532 MB / 374.9 MB, free: 2.781 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3501, allocations: 0 / 374.9 MB, free: 2.781 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.3502, allocations: 4 kB / 374.9 MB, free: 2.777 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005172/0.3507, allocations: 472.7 kB / 375.4 MB, free: 2.266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3507, allocations: 16.03 kB / 375.4 MB, free: 2.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.548e-05/0.3508, allocations: 19.81 kB / 375.4 MB, free: 2.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.3511, allocations: 216.4 kB / 375.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3511, allocations: 7.953 kB / 375.6 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.3511, allocations: 12 kB / 375.7 MB, free: 1.957 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001909/0.3513, allocations: 99.97 kB / 375.8 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.3516, allocations: 154.9 kB / 375.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3516, allocations: 3.984 kB / 375.9 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3516, allocations: 0 / 375.9 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3516, allocations: 12 kB / 375.9 MB, free: 1.68 MB / 250.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0009406/0.3526, allocations: 0.9003 MB / 376.8 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.3529, allocations: 154.7 kB / 377 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.975e-05/0.353, allocations: 48.86 kB / 377 MB, free: 472 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.353, allocations: 4.297 kB / 377 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.353, allocations: 35.44 kB / 377.1 MB, free: 424 kB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.353, allocations: 0 / 377.1 MB, free: 424 kB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001292/0.3543, allocations: 0.5385 MB / 377.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3544, allocations: 81.11 kB / 377.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.3545, allocations: 126.4 kB / 377.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.3545, allocations: 25.7 kB / 377.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.3546, allocations: 136.3 kB / 378 MB, free: 15.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.3546, allocations: 63.02 kB / 378 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/0.3546, allocations: 0 / 378 MB, free: 15.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.3547, allocations: 322.8 kB / 378.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.3548, allocations: 53.03 kB / 378.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.378e-05/0.3549, allocations: 84.89 kB / 378.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3551, allocations: 63.89 kB / 378.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3551, allocations: 0 / 378.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000322/0.3554, allocations: 175.8 kB / 378.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.3555, allocations: 37.66 kB / 378.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3555, allocations: 0 / 378.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3555, allocations: 4 kB / 378.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.3558, allocations: 63.98 kB / 378.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3558, allocations: 0 / 378.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.3559, allocations: 15.11 kB / 378.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.3559, allocations: 12.05 kB / 378.8 MB, free: 14.52 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" ) "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 () * 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.0001381/0.3561, allocations: 140 kB / 379 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000312/0.3564, allocations: 164 kB / 379.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.3564, allocations: 11.91 kB / 379.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.3568, allocations: 195.6 kB / 379.3 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3568, allocations: 0 / 379.3 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3568, allocations: 4 kB / 379.3 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3568, allocations: 0 / 379.3 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.3573, allocations: 478.8 kB / 379.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3574, allocations: 0 / 379.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.3576, allocations: 59.91 kB / 379.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3576, allocations: 7.891 kB / 379.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3577, allocations: 7.812 kB / 379.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3577, allocations: 0 / 379.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3577, allocations: 0 / 379.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.3581, allocations: 327.6 kB / 380.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.3582, allocations: 108.9 kB / 380.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.3582, allocations: 3.953 kB / 380.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.3584, allocations: 8.062 kB / 380.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.3584, allocations: 15.97 kB / 380.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3584, allocations: 8 kB / 380.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.115e-05/0.3585, allocations: 116 kB / 380.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3585, allocations: 0 / 380.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.3588, allocations: 51.94 kB / 380.5 MB, free: 12.75 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 () * 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.0006592/0.3595, allocations: 0.8606 MB / 381.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.3597, allocations: 175.3 kB / 381.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3597, allocations: 0 / 381.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.3599, allocations: 127.2 kB / 381.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.3603, allocations: 66.72 kB / 381.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007824/0.3611, allocations: 323.1 kB / 382 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.3614, allocations: 0.7399 MB / 382.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.3615, allocations: 34.88 kB / 382.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.3616, allocations: 63.41 kB / 382.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3616, allocations: 0 / 382.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/0.4049, allocations: 3.702 MB / 386.6 MB, free: 6.617 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002695/0.4052, allocations: 152.8 kB / 386.7 MB, free: 6.426 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.216, allocations: 5.375 kB / 386.7 MB, free: 6.422 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)