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: translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.001437/0.001437, allocations: 146.4 kB / 12.7 MB, free: 2.617 MB / 13.93 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.121/1.121, allocations: 150.5 MB / 163.7 MB, free: 2.316 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001402/0.001402, allocations: 74.36 kB / 198.8 MB, free: 12.97 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1539/0.1539, allocations: 11.71 MB / 245.5 MB, free: 34.09 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.761e-05, allocations: 4 kB / 290.5 MB, free: 11.42 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0767/0.07674, allocations: 37.14 MB / 327.7 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/0.317, allocations: 50.21 MB / 377.9 MB, free: 24.3 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.3172, allocations: 61.25 kB / 377.9 MB, free: 24.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01296/0.3302, allocations: 4.565 MB / 382.5 MB, free: 23.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3302, allocations: 0 / 382.5 MB, free: 23.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.3302, allocations: 7.828 kB / 382.5 MB, free: 23.48 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.0005454/0.3308, allocations: 469.4 kB / 383 MB, free: 23.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.3308, allocations: 9 kB / 383 MB, free: 23.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.331, allocations: 26.59 kB / 383 MB, free: 23.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3312, allocations: 219.7 kB / 383.2 MB, free: 22.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.3312, allocations: 17.42 kB / 383.2 MB, free: 22.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.3313, allocations: 15.56 kB / 383.2 MB, free: 22.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.3316, allocations: 181 kB / 383.4 MB, free: 22.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3316, allocations: 1.25 kB / 383.4 MB, free: 22.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.3317, allocations: 4.875 kB / 383.4 MB, free: 22.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3317, allocations: 3.719 kB / 383.4 MB, free: 22.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.3319, allocations: 119.8 kB / 383.5 MB, free: 22.76 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.0009288/0.3328, allocations: 0.9597 MB / 384.5 MB, free: 22.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.3332, allocations: 156.2 kB / 384.7 MB, free: 21.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.3333, allocations: 59.39 kB / 384.7 MB, free: 21.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3333, allocations: 2.625 kB / 384.7 MB, free: 21.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.3333, allocations: 31.97 kB / 384.7 MB, free: 21.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.3333, allocations: 0 / 384.7 MB, free: 21.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001359/0.3347, allocations: 0.6666 MB / 385.4 MB, free: 21.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.3347, allocations: 87.77 kB / 385.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.3349, allocations: 156.9 kB / 385.7 MB, free: 21.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3349, allocations: 29.89 kB / 385.7 MB, free: 21.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.335, allocations: 125.7 kB / 385.8 MB, free: 21.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.335, allocations: 67.23 kB / 385.9 MB, free: 21.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.335, allocations: 4 kB / 385.9 MB, free: 21.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.3351, allocations: 328.9 kB / 386.2 MB, free: 20.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.3352, allocations: 58.5 kB / 386.3 MB, free: 20.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.692e-05/0.3353, allocations: 82.33 kB / 386.3 MB, free: 20.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.3354, allocations: 84.28 kB / 386.4 MB, free: 20.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3354, allocations: 0 / 386.4 MB, free: 20.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002549/0.3357, allocations: 221.5 kB / 386.6 MB, free: 20.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.3357, allocations: 33.8 kB / 386.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3357, allocations: 2.281 kB / 386.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3357, allocations: 4 kB / 386.7 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.336, allocations: 62.56 kB / 386.7 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.336, allocations: 4 kB / 386.7 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.3361, allocations: 12.34 kB / 386.7 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.3362, allocations: 6.25 kB / 386.8 MB, free: 20.39 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.0001179/0.3363, allocations: 146.4 kB / 386.9 MB, free: 20.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.3363, allocations: 23.77 kB / 386.9 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.3367, allocations: 231 kB / 387.1 MB, free: 20.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3367, allocations: 5.766 kB / 387.2 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3367, allocations: 4 kB / 387.2 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3367, allocations: 0 / 387.2 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005368/0.3373, allocations: 0.5573 MB / 387.7 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3373, allocations: 0 / 387.7 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.3376, allocations: 54.45 kB / 387.8 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3376, allocations: 0 / 387.8 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3376, allocations: 7.625 kB / 387.8 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3376, allocations: 0 / 387.8 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3376, allocations: 5.406 kB / 387.8 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.338, allocations: 380.7 kB / 388.1 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.3381, allocations: 107.1 kB / 388.3 MB, free: 19.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.3381, allocations: 3.062 kB / 388.3 MB, free: 19.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.3383, allocations: 12.81 kB / 388.3 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.3383, allocations: 14.28 kB / 388.3 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3383, allocations: 7.125 kB / 388.3 MB, free: 19.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.255e-05/0.3384, allocations: 130.1 kB / 388.4 MB, free: 19 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3384, allocations: 0 / 388.4 MB, free: 19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002893/0.3387, allocations: 62.19 kB / 388.5 MB, free: 18.94 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.0001268/0.3389, allocations: 113.3 kB / 388.6 MB, free: 18.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.3391, allocations: 185.7 kB / 388.8 MB, free: 18.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3391, allocations: 0 / 388.8 MB, free: 18.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.3392, allocations: 136.2 kB / 388.9 MB, free: 18.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.3397, allocations: 81.27 kB / 389 MB, free: 18.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.3403, allocations: 292.1 kB / 389.3 MB, free: 18.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.3404, allocations: 0.7428 MB / 390 MB, free: 17.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.3406, allocations: 27.67 kB / 390 MB, free: 17.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.3407, allocations: 22.25 kB / 390.1 MB, free: 17.47 MB / 266.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3407, allocations: 7.938 kB / 390.1 MB, free: 17.46 MB / 266.7 MB Notification: Performance of Templates: time 0.005101/0.3458, allocations: 2.791 MB / 392.9 MB, free: 15.25 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile (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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)