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.0008031/0.0008034, allocations: 147.8 kB / 16.09 MB, free: 5.594 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. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 1.006/1.006, allocations: 150.7 MB / 167.5 MB, free: 5.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001361/0.001361, allocations: 89.88 kB / 202.8 MB, free: 2.516 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04844/0.04844, allocations: 11.83 MB / 249.9 MB, free: 480 kB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004772, allocations: 9.328 kB / 297.7 MB, free: 26.62 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07476/0.07526, allocations: 37.14 MB / 334.8 MB, free: 5.734 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08735/0.1627, allocations: 50.34 MB / 385.1 MB, free: 3.324 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.1629, allocations: 63.97 kB / 385.2 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1566/0.3195, allocations: 4.584 MB / 389.8 MB, free: 56.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3196, allocations: 0 / 389.8 MB, free: 56.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.3196, allocations: 3.594 kB / 389.8 MB, free: 56.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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006092/0.3202, allocations: 487.6 kB / 390.3 MB, free: 55.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3203, allocations: 9.469 kB / 390.3 MB, free: 55.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.3204, allocations: 26.02 kB / 390.3 MB, free: 55.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.3206, allocations: 221 kB / 390.5 MB, free: 55.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3207, allocations: 12.88 kB / 390.5 MB, free: 55.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.3207, allocations: 16.78 kB / 390.5 MB, free: 55.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.3211, allocations: 199 kB / 390.7 MB, free: 55.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3211, allocations: 0 / 390.7 MB, free: 55.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.3211, allocations: 9.5 kB / 390.7 MB, free: 55.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3211, allocations: 4.812 kB / 390.8 MB, free: 55.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.3214, allocations: 128.9 kB / 390.9 MB, free: 55.3 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.001032/0.3225, allocations: 0.9541 MB / 391.8 MB, free: 54.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.3228, allocations: 153.4 kB / 392 MB, free: 54.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.3229, allocations: 75.25 kB / 392.1 MB, free: 54.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3229, allocations: 2.812 kB / 392.1 MB, free: 54.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.3229, allocations: 35.97 kB / 392.1 MB, free: 54.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.323, allocations: 1.094 kB / 392.1 MB, free: 54.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001761/0.3247, allocations: 0.791 MB / 392.9 MB, free: 54.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.3248, allocations: 87.02 kB / 393 MB, free: 54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3249, allocations: 171.9 kB / 393.1 MB, free: 53.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3249, allocations: 28.39 kB / 393.2 MB, free: 53.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.325, allocations: 127.1 kB / 393.3 MB, free: 53.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.3251, allocations: 70.56 kB / 393.4 MB, free: 53.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.3251, allocations: 8.188 kB / 393.4 MB, free: 53.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.3251, allocations: 328 kB / 393.7 MB, free: 53.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.3253, allocations: 70.39 kB / 393.8 MB, free: 53.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.3255, allocations: 97.92 kB / 393.9 MB, free: 53.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.3258, allocations: 219.5 kB / 394.1 MB, free: 53.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3258, allocations: 1.5 kB / 394.1 MB, free: 53.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004032/0.3262, allocations: 249.6 kB / 394.3 MB, free: 53.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.3262, allocations: 32.59 kB / 394.3 MB, free: 53.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3262, allocations: 1.281 kB / 394.3 MB, free: 53.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3263, allocations: 2.656 kB / 394.3 MB, free: 53.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.3265, allocations: 60.33 kB / 394.4 MB, free: 53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3266, allocations: 6.375 kB / 394.4 MB, free: 53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.3267, allocations: 18.53 kB / 394.4 MB, free: 52.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.3267, allocations: 7.828 kB / 394.4 MB, free: 52.99 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.0001495/0.3269, allocations: 162.1 kB / 394.6 MB, free: 52.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.3269, allocations: 17.08 kB / 394.6 MB, free: 52.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004736/0.3274, allocations: 262 kB / 394.9 MB, free: 52.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3274, allocations: 2.438 kB / 394.9 MB, free: 52.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3274, allocations: 0 / 394.9 MB, free: 52.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3275, allocations: 6.312 kB / 394.9 MB, free: 52.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007246/0.3282, allocations: 0.5748 MB / 395.5 MB, free: 52.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3282, allocations: 2.141 kB / 395.5 MB, free: 52.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.3285, allocations: 58.94 kB / 395.5 MB, free: 52.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3285, allocations: 2.219 kB / 395.5 MB, free: 52.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.3285, allocations: 6.516 kB / 395.5 MB, free: 52.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.3285, allocations: 1.188 kB / 395.5 MB, free: 52.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3285, allocations: 1.672 kB / 395.5 MB, free: 52.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.3291, allocations: 416.3 kB / 395.9 MB, free: 51.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/0.3292, allocations: 114.6 kB / 396 MB, free: 51.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.3292, allocations: 5.875 kB / 396 MB, free: 51.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.3294, allocations: 16.05 kB / 396.1 MB, free: 51.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.3294, allocations: 16.22 kB / 396.1 MB, free: 51.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3295, allocations: 4.031 kB / 396.1 MB, free: 51.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001131/0.3296, allocations: 141.4 kB / 396.2 MB, free: 51.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3296, allocations: 0 / 396.2 MB, free: 51.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003188/0.3299, allocations: 56.88 kB / 396.3 MB, free: 51.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 () * 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.0001412/0.3301, allocations: 109.4 kB / 396.4 MB, free: 51.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003935/0.3305, allocations: 225.6 kB / 396.6 MB, free: 51.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3305, allocations: 1.156 kB / 396.6 MB, free: 51.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.3306, allocations: 142.6 kB / 396.7 MB, free: 51.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.3313, allocations: 85.05 kB / 396.8 MB, free: 51.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009342/0.3322, allocations: 0.5778 MB / 397.4 MB, free: 51.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.3324, allocations: 0.7413 MB / 398.1 MB, free: 50.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.3326, allocations: 28.45 kB / 398.2 MB, free: 50.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.3327, allocations: 22.62 kB / 398.2 MB, free: 50.34 MB / 266.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3327, allocations: 4 kB / 398.2 MB, free: 50.34 MB / 266.7 MB Notification: Performance of Templates: time 0.006868/0.3395, allocations: 2.834 MB / 401 MB, free: 50.12 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)