Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0006655/0.0006656, allocations: 146.4 kB / 15.75 MB, free: 6.375 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 0.8273/0.8273, allocations: 150.7 MB / 167.2 MB, free: 6.066 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001189/0.001189, allocations: 77.98 kB / 202.4 MB, free: 2.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04618/0.04618, allocations: 11.85 MB / 249.5 MB, free: 0.6094 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003016, allocations: 8.688 kB / 297.1 MB, free: 26.88 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0494/0.04972, allocations: 37.14 MB / 334.2 MB, free: 6.02 MB / 218.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.00314/0.0529, allocations: 3.34 MB / 337.6 MB, free: 2.652 MB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.05471, allocations: 1.559 MB / 339.1 MB, free: 1.09 MB / 218.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.05485, allocations: 4 kB / 339.1 MB, free: 1.086 MB / 218.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.05509, allocations: 83.5 kB / 339.2 MB, free: 1.004 MB / 218.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.05544, allocations: 218.4 kB / 339.4 MB, free: 0.7891 MB / 218.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.05585, allocations: 211.4 kB / 339.7 MB, free: 0.582 MB / 218.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.05626, allocations: 0.4896 MB / 340.1 MB, free: 92 kB / 218.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.05642, allocations: 94.22 kB / 340.2 MB, free: 0 / 218.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.05662, allocations: 155.4 kB / 340.4 MB, free: 15.85 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.05685, allocations: 183.2 kB / 340.6 MB, free: 15.67 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.05689, allocations: 16 kB / 340.6 MB, free: 15.65 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.05719, allocations: 187.8 kB / 340.8 MB, free: 15.47 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.05727, allocations: 63.69 kB / 340.8 MB, free: 15.41 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.05736, allocations: 101.5 kB / 340.9 MB, free: 15.3 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.05776, allocations: 415.3 kB / 341.3 MB, free: 14.89 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.05777, allocations: 0 / 341.3 MB, free: 14.89 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.05778, allocations: 0 / 341.3 MB, free: 14.89 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.05779, allocations: 3.938 kB / 341.3 MB, free: 14.89 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008694/0.05866, allocations: 0.6132 MB / 341.9 MB, free: 14.23 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.0587, allocations: 8.031 kB / 342 MB, free: 14.22 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.05881, allocations: 47.44 kB / 342 MB, free: 14.18 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.05914, allocations: 318.3 kB / 342.3 MB, free: 13.83 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.05918, allocations: 20.56 kB / 342.3 MB, free: 13.8 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.05923, allocations: 28 kB / 342.4 MB, free: 13.78 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.05975, allocations: 331.6 kB / 342.7 MB, free: 13.44 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.05978, allocations: 4 kB / 342.7 MB, free: 13.44 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.05981, allocations: 8 kB / 342.7 MB, free: 13.43 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.05982, allocations: 8 kB / 342.7 MB, free: 13.42 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.06029, allocations: 266.1 kB / 343 MB, free: 13.16 MB / 234.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.001701/0.062, allocations: 1.485 MB / 344.4 MB, free: 11.51 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.0624, allocations: 238.6 kB / 344.7 MB, free: 11.27 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.0626, allocations: 104.8 kB / 344.8 MB, free: 11.16 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.204e-05/0.06269, allocations: 85.09 kB / 344.9 MB, free: 11.06 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.06272, allocations: 42.56 kB / 344.9 MB, free: 11.01 MB / 234.7 MB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.06273, allocations: 0 / 344.9 MB, free: 11.01 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.002008/0.06474, allocations: 0.9458 MB / 345.9 MB, free: 10.01 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.06479, allocations: 55.64 kB / 345.9 MB, free: 9.945 MB / 234.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Blocks/Sources.mo:583:9-583:77:writable] Warning: Parameter sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.06514, allocations: 344.3 kB / 346.2 MB, free: 9.598 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.06517, allocations: 33.7 kB / 346.3 MB, free: 9.559 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.06529, allocations: 184.7 kB / 346.5 MB, free: 9.371 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.06537, allocations: 98.56 kB / 346.6 MB, free: 9.273 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.06539, allocations: 4 kB / 346.6 MB, free: 9.27 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.06551, allocations: 342.8 kB / 346.9 MB, free: 8.926 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.06574, allocations: 117 kB / 347 MB, free: 8.809 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.06599, allocations: 159.7 kB / 347.2 MB, free: 8.625 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.06623, allocations: 119.8 kB / 347.3 MB, free: 8.508 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.06624, allocations: 0 / 347.3 MB, free: 8.508 MB / 234.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005801/0.06683, allocations: 337 kB / 347.6 MB, free: 8.172 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.06685, allocations: 8 kB / 347.6 MB, free: 8.164 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.06686, allocations: 3.938 kB / 347.6 MB, free: 8.16 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.06688, allocations: 4 kB / 347.6 MB, free: 8.156 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.06723, allocations: 79.89 kB / 347.7 MB, free: 8.078 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.06725, allocations: 7.984 kB / 347.7 MB, free: 8.07 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.06744, allocations: 16.06 kB / 347.7 MB, free: 8.055 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.06748, allocations: 23.94 kB / 347.7 MB, free: 8.031 MB / 234.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: 9 * Number of states: 0 () * Number of discrete variables: 2 (checkValve.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001893/0.06767, allocations: 176.6 kB / 347.9 MB, free: 7.852 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.06773, allocations: 31.62 kB / 348 MB, free: 7.82 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006648/0.0684, allocations: 352 kB / 348.3 MB, free: 7.473 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.06842, allocations: 4 kB / 348.3 MB, free: 7.469 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.06843, allocations: 3.984 kB / 348.3 MB, free: 7.465 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.06844, allocations: 0 / 348.3 MB, free: 7.465 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.06947, allocations: 0.7793 MB / 349.1 MB, free: 6.629 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.06948, allocations: 0 / 349.1 MB, free: 6.629 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.06984, allocations: 83.89 kB / 349.2 MB, free: 6.547 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/0.06987, allocations: 0 / 349.2 MB, free: 6.547 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.0699, allocations: 11.98 kB / 349.2 MB, free: 6.535 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.0699, allocations: 4 kB / 349.2 MB, free: 6.531 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.06991, allocations: 7.953 kB / 349.2 MB, free: 6.523 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/0.07072, allocations: 0.539 MB / 349.7 MB, free: 5.969 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.07086, allocations: 144.7 kB / 349.9 MB, free: 5.809 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.07092, allocations: 12.03 kB / 349.9 MB, free: 5.797 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.07113, allocations: 23.97 kB / 349.9 MB, free: 5.773 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.07118, allocations: 19.98 kB / 349.9 MB, free: 5.754 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.07121, allocations: 11.94 kB / 349.9 MB, free: 5.742 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002202/0.07144, allocations: 243 kB / 350.2 MB, free: 5.508 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.07144, allocations: 0 / 350.2 MB, free: 5.508 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003822/0.07183, allocations: 131.9 kB / 350.3 MB, free: 5.379 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * Number of discrete variables: 1 (checkValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000347/0.07218, allocations: 195.7 kB / 350.5 MB, free: 5.191 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004846/0.07268, allocations: 259.8 kB / 350.7 MB, free: 4.938 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.07269, allocations: 0 / 350.7 MB, free: 4.938 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.07293, allocations: 135.8 kB / 350.9 MB, free: 4.805 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/0.07382, allocations: 173.2 kB / 351 MB, free: 4.641 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.07498, allocations: 0.9461 MB / 352 MB, free: 3.664 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.07531, allocations: 0.7915 MB / 352.8 MB, free: 2.848 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.07542, allocations: 39.42 kB / 352.8 MB, free: 2.809 MB / 234.7 MB Notification: Performance of SimCode: time 2.61e-07/0.07543, allocations: 0 / 352.8 MB, free: 2.809 MB / 234.7 MB Notification: Performance of Templates: time 0.1326/0.208, allocations: 5.785 MB / 358.6 MB, free: 13.04 MB / 250.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1)