Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0008091/0.0008089, allocations: 144.8 kB / 15.74 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.9476/0.9476, allocations: 150.7 MB / 167.2 MB, free: 5.98 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001303/0.001303, allocations: 74.03 kB / 202.4 MB, free: 2.637 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04646/0.04646, allocations: 11.85 MB / 249.5 MB, free: 0.5781 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003203, allocations: 8.609 kB / 297.1 MB, free: 26.84 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05906/0.0594, allocations: 37.15 MB / 334.2 MB, free: 6.016 MB / 218.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003042/0.06249, allocations: 3.02 MB / 337.3 MB, free: 2.973 MB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.06507, allocations: 1.948 MB / 339.2 MB, free: 1.02 MB / 218.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.06526, allocations: 4 kB / 339.2 MB, free: 1.016 MB / 218.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.06547, allocations: 59.58 kB / 339.3 MB, free: 0.957 MB / 218.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.06583, allocations: 214.2 kB / 339.5 MB, free: 0.7461 MB / 218.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006614/0.0665, allocations: 291 kB / 339.8 MB, free: 472 kB / 218.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.0668, allocations: 318.1 kB / 340.1 MB, free: 152 kB / 218.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.06697, allocations: 77.39 kB / 340.2 MB, free: 76 kB / 218.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.06715, allocations: 103.6 kB / 340.3 MB, free: 15.97 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.06731, allocations: 111.6 kB / 340.4 MB, free: 15.86 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.06734, allocations: 8 kB / 340.4 MB, free: 15.86 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.06765, allocations: 179.8 kB / 340.6 MB, free: 15.68 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.06768, allocations: 27.86 kB / 340.6 MB, free: 15.65 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.06775, allocations: 85.56 kB / 340.7 MB, free: 15.56 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.06806, allocations: 259.7 kB / 340.9 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.06807, allocations: 0 / 340.9 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.06808, allocations: 0 / 340.9 MB, free: 15.31 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.06809, allocations: 0 / 340.9 MB, free: 15.31 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006655/0.06876, allocations: 0.5255 MB / 341.4 MB, free: 14.73 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.0688, allocations: 12.03 kB / 341.5 MB, free: 14.72 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.06886, allocations: 27.7 kB / 341.5 MB, free: 14.7 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.06911, allocations: 255.6 kB / 341.7 MB, free: 14.4 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.06914, allocations: 19.95 kB / 341.7 MB, free: 14.38 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.06917, allocations: 16 kB / 341.8 MB, free: 14.37 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.06955, allocations: 219.7 kB / 342 MB, free: 14.14 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.06957, allocations: 0 / 342 MB, free: 14.14 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.06959, allocations: 4 kB / 342 MB, free: 14.13 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.06961, allocations: 4 kB / 342 MB, free: 14.13 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.06995, allocations: 171.8 kB / 342.2 MB, free: 13.96 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.001377/0.07134, allocations: 1.395 MB / 343.5 MB, free: 12.36 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.07171, allocations: 114.5 kB / 343.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.07185, allocations: 48.84 kB / 343.7 MB, free: 12.18 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.466e-05/0.07193, allocations: 89.23 kB / 343.8 MB, free: 12.08 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.07196, allocations: 34.56 kB / 343.8 MB, free: 12.04 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.07197, allocations: 3.938 kB / 343.8 MB, free: 12.03 MB / 234.7 MB Notification: Performance of matching and sorting (n=11): time 0.0023/0.07427, allocations: 0.6252 MB / 344.5 MB, free: 11.4 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.07432, allocations: 55.41 kB / 344.5 MB, free: 11.33 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 sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Blocks/Sources.mo:583:9-583:77:writable] Warning: Parameter sine.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.0003136/0.07464, allocations: 266.6 kB / 344.8 MB, free: 11.06 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.07466, allocations: 29.64 kB / 344.8 MB, free: 11.03 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.07476, allocations: 163.9 kB / 345 MB, free: 10.86 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.0748, allocations: 43.44 kB / 345 MB, free: 10.82 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.07482, allocations: 4 kB / 345 MB, free: 10.81 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.07493, allocations: 334.8 kB / 345.3 MB, free: 10.48 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.07515, allocations: 79.89 kB / 345.4 MB, free: 10.4 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.07538, allocations: 112.2 kB / 345.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.07559, allocations: 83.97 kB / 345.6 MB, free: 10.19 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.0756, allocations: 0 / 345.6 MB, free: 10.19 MB / 234.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005018/0.07611, allocations: 243.7 kB / 345.8 MB, free: 9.949 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.07614, allocations: 8 kB / 345.9 MB, free: 9.941 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.07615, allocations: 0 / 345.9 MB, free: 9.941 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.07617, allocations: 7.953 kB / 345.9 MB, free: 9.934 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.07638, allocations: 48.09 kB / 345.9 MB, free: 9.887 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.0764, allocations: 7.922 kB / 345.9 MB, free: 9.879 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.07658, allocations: 23.89 kB / 345.9 MB, free: 9.855 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.07661, allocations: 8.938 kB / 345.9 MB, free: 9.848 MB / 234.7 MB 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 (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 prepare postOptimizeDAE: time 0.0001047/0.07672, allocations: 133.8 kB / 346.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.07677, allocations: 23.72 kB / 346.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.07728, allocations: 219.1 kB / 346.3 MB, free: 9.465 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.0773, allocations: 7.953 kB / 346.3 MB, free: 9.457 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.07731, allocations: 0 / 346.3 MB, free: 9.457 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.07732, allocations: 3.984 kB / 346.3 MB, free: 9.453 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.07761, allocations: 277.5 kB / 346.6 MB, free: 9.133 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.07762, allocations: 0 / 346.6 MB, free: 9.133 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.07779, allocations: 39.97 kB / 346.6 MB, free: 9.094 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.0778, allocations: 4 kB / 346.6 MB, free: 9.09 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.07782, allocations: 0 / 346.6 MB, free: 9.09 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.07782, allocations: 0 / 346.6 MB, free: 9.09 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.07783, allocations: 3.953 kB / 346.6 MB, free: 9.086 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.0783, allocations: 299.1 kB / 346.9 MB, free: 8.777 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.07841, allocations: 120.8 kB / 347.1 MB, free: 8.641 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.07845, allocations: 4 kB / 347.1 MB, free: 8.637 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.07864, allocations: 23.92 kB / 347.1 MB, free: 8.613 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.07869, allocations: 11.98 kB / 347.1 MB, free: 8.602 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.07871, allocations: 7.953 kB / 347.1 MB, free: 8.594 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.07886, allocations: 182 kB / 347.3 MB, free: 8.418 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07887, allocations: 0 / 347.3 MB, free: 8.418 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.07923, allocations: 103.9 kB / 347.4 MB, free: 8.316 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 11 * 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.0002414/0.07948, allocations: 159.1 kB / 347.5 MB, free: 8.152 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.07994, allocations: 175.8 kB / 347.7 MB, free: 7.98 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.07996, allocations: 0 / 347.7 MB, free: 7.98 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.08016, allocations: 88.14 kB / 347.8 MB, free: 7.895 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.08085, allocations: 104.8 kB / 347.9 MB, free: 7.793 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008066/0.08167, allocations: 0.5332 MB / 348.4 MB, free: 7.227 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.08193, allocations: 0.7443 MB / 349.2 MB, free: 6.453 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.08201, allocations: 31.42 kB / 349.2 MB, free: 6.422 MB / 234.7 MB Notification: Performance of SimCode: time 2.41e-07/0.08202, allocations: 0 / 349.2 MB, free: 6.422 MB / 234.7 MB Notification: Performance of Templates: time 0.005256/0.08728, allocations: 3.752 MB / 353 MB, free: 2.672 MB / 234.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)