Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",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.001218/0.001217, 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.437/1.437, allocations: 150.6 MB / 158.6 MB, free: 11.68 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001568/0.001568, allocations: 87.97 kB / 193.6 MB, free: 3.32 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05025/0.05025, allocations: 11.73 MB / 240.2 MB, free: 5.395 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.125e-05, allocations: 2.344 kB / 283.6 MB, free: 63.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09223, allocations: 37.15 MB / 320.8 MB, free: 30.8 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07583/0.1681, allocations: 49.83 MB / 370.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.1684, allocations: 63.97 kB / 370.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02146/0.1898, allocations: 8.764 MB / 379.4 MB, free: 4.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1899, allocations: 0 / 379.4 MB, free: 4.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.1899, allocations: 12 kB / 379.5 MB, free: 4.02 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008425/0.1908, allocations: 0.6081 MB / 380.1 MB, free: 3.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1908, allocations: 8.031 kB / 380.1 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.191, allocations: 51.44 kB / 380.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.1915, allocations: 358.9 kB / 380.5 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.1915, allocations: 12 kB / 380.5 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.1916, allocations: 27.98 kB / 380.5 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004132/0.192, allocations: 238.5 kB / 380.7 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.1925, allocations: 296 kB / 381 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1925, allocations: 7.938 kB / 381 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.1926, allocations: 0 / 381 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.1926, allocations: 8 kB / 381.1 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.1946, allocations: 1.641 MB / 382.7 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.1949, allocations: 138.8 kB / 382.8 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.195, allocations: 68.84 kB / 382.9 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1951, allocations: 4 kB / 382.9 MB, free: 312 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1951, allocations: 42.52 kB / 382.9 MB, free: 260 kB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.1951, allocations: 0 / 382.9 MB, free: 260 kB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003968/0.1955, allocations: 149.5 kB / 383.1 MB, free: 104 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.1956, allocations: 59.34 kB / 383.1 MB, free: 32 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1515/0.3471, allocations: 223.1 kB / 383.4 MB, free: 55.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.3471, allocations: 25.7 kB / 383.4 MB, free: 55.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.3472, allocations: 253.5 kB / 383.6 MB, free: 55.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.3473, allocations: 53.52 kB / 383.7 MB, free: 55.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.3473, allocations: 0.7188 kB / 383.7 MB, free: 55.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.3474, allocations: 339.8 kB / 384 MB, free: 55.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.3475, allocations: 64.45 kB / 384.1 MB, free: 55.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.3476, allocations: 152.5 kB / 384.2 MB, free: 55.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.3479, allocations: 81.8 kB / 384.3 MB, free: 55.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3479, allocations: 1.25 kB / 384.3 MB, free: 55.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000443/0.3483, allocations: 256.7 kB / 384.6 MB, free: 55.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3483, allocations: 7.078 kB / 384.6 MB, free: 55.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.3484, allocations: 5.125 kB / 384.6 MB, free: 55.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3484, allocations: 5.828 kB / 384.6 MB, free: 55.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.3487, allocations: 73.16 kB / 384.7 MB, free: 55.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3487, allocations: 7.891 kB / 384.7 MB, free: 55.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.3489, allocations: 19.41 kB / 384.7 MB, free: 55.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.3489, allocations: 12.12 kB / 384.7 MB, free: 55.3 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 8.555e-05/0.349, allocations: 118.2 kB / 384.8 MB, free: 55.2 MB / 266.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002523/0.3492, allocations: 156.2 kB / 385 MB, free: 55.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.3493, allocations: 27.44 kB / 385 MB, free: 55.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.3496, allocations: 163.6 kB / 385.1 MB, free: 55.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3496, allocations: 2.719 kB / 385.2 MB, free: 55.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3496, allocations: 1.922 kB / 385.2 MB, free: 55.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3496, allocations: 5.188 kB / 385.2 MB, free: 55.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007006/0.3503, allocations: 0.6176 MB / 385.8 MB, free: 54.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3503, allocations: 4.594 kB / 385.8 MB, free: 54.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.3505, allocations: 47.25 kB / 385.8 MB, free: 54.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3505, allocations: 2.469 kB / 385.8 MB, free: 54.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3505, allocations: 1.547 kB / 385.8 MB, free: 54.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3505, allocations: 2.734 kB / 385.8 MB, free: 54.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3505, allocations: 1.953 kB / 385.8 MB, free: 54.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.3509, allocations: 392.5 kB / 386.2 MB, free: 54.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.351, allocations: 117.7 kB / 386.3 MB, free: 54.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.3511, allocations: 2.516 kB / 386.3 MB, free: 54.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3512, allocations: 9.656 kB / 386.3 MB, free: 54.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.3513, allocations: 14.97 kB / 386.4 MB, free: 54.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3513, allocations: 11.77 kB / 386.4 MB, free: 54.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001807/0.3515, allocations: 182.6 kB / 386.5 MB, free: 54.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3515, allocations: 1.344 kB / 386.5 MB, free: 54.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004261/0.3519, allocations: 109.2 kB / 386.7 MB, free: 54.26 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0005315/0.3525, allocations: 1.192 MB / 387.8 MB, free: 53.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.3527, allocations: 144.3 kB / 388 MB, free: 53.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3527, allocations: 0 / 388 MB, free: 53.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.312e-05/0.3528, allocations: 57.33 kB / 388 MB, free: 53.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005599/0.3534, allocations: 83.38 kB / 388.1 MB, free: 53.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.3546, allocations: 0.5905 MB / 388.7 MB, free: 52.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.3548, allocations: 0.8273 MB / 389.5 MB, free: 52.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000158/0.355, allocations: 46.73 kB / 389.6 MB, free: 52.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.3551, allocations: 118.4 kB / 389.7 MB, free: 52.28 MB / 266.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3551, allocations: 0 / 389.7 MB, free: 52.28 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.3802, allocations: 5.386 MB / 395.1 MB, free: 52.01 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.3804, allocations: 132.8 kB / 395.2 MB, free: 51.82 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.21, allocations: 0 / 395.2 MB, free: 51.82 MB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)