Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",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.0008388/0.0008387, allocations: 141.2 kB / 7.616 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.435/1.435, allocations: 150.6 MB / 158.6 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001378/0.001378, allocations: 90.19 kB / 193.6 MB, free: 12.55 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04914/0.04914, allocations: 11.74 MB / 240.2 MB, free: 24.48 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.681e-05/1.683e-05, allocations: 4 kB / 283.7 MB, free: 12.97 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2551, allocations: 37.12 MB / 320.8 MB, free: 33.79 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08156/0.3368, allocations: 52.53 MB / 373.3 MB, free: 4.367 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.3372, allocations: 68.97 kB / 373.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02597/0.3632, allocations: 8.918 MB / 382.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3632, allocations: 0 / 382.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.3633, allocations: 4.75 kB / 382.3 MB, free: 11.41 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008154/0.3641, allocations: 0.5371 MB / 382.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.3642, allocations: 8.031 kB / 382.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.3643, allocations: 35.97 kB / 382.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.3648, allocations: 278.2 kB / 383.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.3648, allocations: 8 kB / 383.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.3648, allocations: 12 kB / 383.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003687/0.3652, allocations: 189.1 kB / 383.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.3656, allocations: 226.5 kB / 383.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3656, allocations: 0.875 kB / 383.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.3657, allocations: 0 / 383.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.3657, allocations: 4 kB / 383.6 MB, free: 10.04 MB / 266.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.002006/0.3677, allocations: 1.422 MB / 385 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.368, allocations: 161 kB / 385.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3681, allocations: 68.84 kB / 385.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.3683, allocations: 166.2 kB / 385.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3684, allocations: 38.56 kB / 385.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.3684, allocations: 0 / 385.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.003143/0.3715, allocations: 0.8258 MB / 386.3 MB, free: 7.082 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.3716, allocations: 51.59 kB / 386.3 MB, free: 7.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3717, allocations: 178 kB / 386.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.3718, allocations: 25.7 kB / 386.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.3719, allocations: 164.1 kB / 386.7 MB, free: 6.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.827e-05/0.3719, allocations: 78.86 kB / 386.7 MB, free: 6.562 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.372, allocations: 0 / 386.7 MB, free: 6.562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3721, allocations: 334.8 kB / 387.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.3722, allocations: 69.31 kB / 387.1 MB, free: 6.152 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.3724, allocations: 122.6 kB / 387.3 MB, free: 6.012 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007742/0.3732, allocations: 159.9 kB / 387.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3732, allocations: 3.938 kB / 387.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001009/0.3742, allocations: 323.7 kB / 387.7 MB, free: 5.531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3742, allocations: 4 kB / 387.7 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3743, allocations: 4.156 kB / 387.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3743, allocations: 4 kB / 387.7 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.3746, allocations: 71.89 kB / 387.8 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.3746, allocations: 4 kB / 387.8 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.3747, allocations: 13.02 kB / 387.8 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.261e-05/0.3748, allocations: 12 kB / 387.8 MB, free: 5.422 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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 0.000172/0.375, allocations: 112.9 kB / 387.9 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009139/0.3759, allocations: 266 kB / 388.2 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.376, allocations: 19.81 kB / 388.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008769/0.3769, allocations: 299.4 kB / 388.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3769, allocations: 0 / 388.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3769, allocations: 7.984 kB / 388.5 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3769, allocations: 0 / 388.5 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.3782, allocations: 0.6406 MB / 389.2 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3782, allocations: 0 / 389.2 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.3785, allocations: 63.95 kB / 389.2 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3785, allocations: 8.031 kB / 389.2 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.3785, allocations: 0 / 389.2 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3785, allocations: 0 / 389.2 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3786, allocations: 7.938 kB / 389.2 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009713/0.3795, allocations: 457.6 kB / 389.7 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3796, allocations: 120.8 kB / 389.8 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3797, allocations: 4 kB / 389.8 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.3798, allocations: 11.98 kB / 389.8 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.3799, allocations: 27.95 kB / 389.9 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.38, allocations: 8.062 kB / 389.9 MB, free: 3.293 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.3801, allocations: 139.2 kB / 390 MB, free: 3.156 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3801, allocations: 0 / 390 MB, free: 3.156 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000522/0.3806, allocations: 127.9 kB / 390.1 MB, free: 3.031 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.001457/0.3821, allocations: 1.146 MB / 391.3 MB, free: 1.852 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.3824, allocations: 164 kB / 391.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3824, allocations: 0 / 391.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3826, allocations: 80.48 kB / 391.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.3831, allocations: 70.92 kB / 391.6 MB, free: 1.547 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3842, allocations: 0.4968 MB / 392.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.3846, allocations: 0.7672 MB / 392.8 MB, free: 216 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.3847, allocations: 39 kB / 392.9 MB, free: 180 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.3849, allocations: 87.39 kB / 393 MB, free: 92 kB / 266.7 MB Notification: Performance of SimCode: time 3e-07/0.3849, allocations: 0 / 393 MB, free: 92 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.4193, allocations: 5.672 MB / 398.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.4196, allocations: 157.5 kB / 398.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.299, allocations: 0 / 398.8 MB, free: 10.25 MB / 282.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)