Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0007064/0.0007067, 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.8534/0.8534, allocations: 150.7 MB / 167.2 MB, free: 5.977 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001239/0.001239, allocations: 74.03 kB / 202.4 MB, free: 2.629 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04696/0.04696, allocations: 11.86 MB / 249.5 MB, free: 0.5742 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003392, allocations: 14.17 kB / 297.1 MB, free: 26.82 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06241/0.06277, allocations: 37.14 MB / 334.2 MB, free: 6.004 MB / 218.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.002086/0.06489, allocations: 2.046 MB / 336.3 MB, free: 3.938 MB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007334/0.06564, allocations: 0.5692 MB / 336.9 MB, free: 3.367 MB / 218.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.06571, allocations: 0 / 336.9 MB, free: 3.367 MB / 218.7 MB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.06576, allocations: 19.84 kB / 336.9 MB, free: 3.348 MB / 218.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.066, allocations: 119.1 kB / 337 MB, free: 3.23 MB / 218.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.418e-05/0.06608, allocations: 23.98 kB / 337 MB, free: 3.207 MB / 218.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.06622, allocations: 147.1 kB / 337.2 MB, free: 3.062 MB / 218.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.573e-05/0.0663, allocations: 41.02 kB / 337.2 MB, free: 3.023 MB / 218.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.06639, allocations: 47.84 kB / 337.3 MB, free: 2.977 MB / 218.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.06648, allocations: 55.77 kB / 337.3 MB, free: 2.922 MB / 218.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.0665, allocations: 8 kB / 337.3 MB, free: 2.914 MB / 218.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.107e-05/0.06656, allocations: 15.94 kB / 337.3 MB, free: 2.898 MB / 218.7 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.06659, allocations: 15.92 kB / 337.3 MB, free: 2.883 MB / 218.7 MB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.06663, allocations: 45.64 kB / 337.4 MB, free: 2.832 MB / 218.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.06675, allocations: 80.09 kB / 337.5 MB, free: 2.754 MB / 218.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.06677, allocations: 4 kB / 337.5 MB, free: 2.75 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.06677, allocations: 0 / 337.5 MB, free: 2.75 MB / 218.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.06678, allocations: 0 / 337.5 MB, free: 2.75 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004925/0.06728, allocations: 436.6 kB / 337.9 MB, free: 2.27 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.06732, allocations: 11.97 kB / 337.9 MB, free: 2.258 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.06737, allocations: 15.81 kB / 337.9 MB, free: 2.242 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.06757, allocations: 202.8 kB / 338.1 MB, free: 2.004 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.06759, allocations: 11.95 kB / 338.1 MB, free: 1.992 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.06761, allocations: 8 kB / 338.1 MB, free: 1.984 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.06786, allocations: 113.6 kB / 338.3 MB, free: 1.867 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.06787, allocations: 0 / 338.3 MB, free: 1.867 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.06789, allocations: 0 / 338.3 MB, free: 1.867 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.0679, allocations: 0 / 338.3 MB, free: 1.867 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.06815, allocations: 99.89 kB / 338.4 MB, free: 1.77 MB / 218.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.0007115/0.06887, allocations: 0.5786 MB / 338.9 MB, free: 1.098 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.06909, allocations: 94.52 kB / 339 MB, free: 0.9961 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.06922, allocations: 52.83 kB / 339.1 MB, free: 0.9414 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.06925, allocations: 7.984 kB / 339.1 MB, free: 0.9336 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.06929, allocations: 34.69 kB / 339.1 MB, free: 0.8906 MB / 218.7 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.06929, allocations: 0 / 339.1 MB, free: 0.8906 MB / 218.7 MB Notification: Performance of matching and sorting (n=10): time 0.001415/0.07071, allocations: 472.4 kB / 339.6 MB, free: 420 kB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.07077, allocations: 89.09 kB / 339.7 MB, free: 312 kB / 218.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.07088, allocations: 154.3 kB / 339.8 MB, free: 148 kB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.0709, allocations: 29.64 kB / 339.8 MB, free: 112 kB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.07095, allocations: 100.1 kB / 339.9 MB, free: 8 kB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.071, allocations: 31.55 kB / 340 MB, free: 15.97 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.07101, allocations: 4 kB / 340 MB, free: 15.97 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.07111, allocations: 326.8 kB / 340.3 MB, free: 15.64 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.0713, allocations: 60.55 kB / 340.4 MB, free: 15.58 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.07149, allocations: 73.61 kB / 340.4 MB, free: 15.5 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.07168, allocations: 89.66 kB / 340.5 MB, free: 15.41 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.07169, allocations: 4 kB / 340.5 MB, free: 15.41 MB / 234.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004253/0.07212, allocations: 191.2 kB / 340.7 MB, free: 15.21 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.07217, allocations: 41.69 kB / 340.7 MB, free: 15.16 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.07218, allocations: 0 / 340.7 MB, free: 15.16 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.0722, allocations: 4.031 kB / 340.8 MB, free: 15.16 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.07239, allocations: 35.91 kB / 340.8 MB, free: 15.12 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.07241, allocations: 0 / 340.8 MB, free: 15.12 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.07254, allocations: 15.98 kB / 340.8 MB, free: 15.11 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.07256, allocations: 4 kB / 340.8 MB, free: 15.1 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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 9.974e-05/0.07266, allocations: 151.5 kB / 341 MB, free: 14.94 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.07271, allocations: 15.89 kB / 341 MB, free: 14.92 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.07322, allocations: 232.1 kB / 341.2 MB, free: 14.68 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.07323, allocations: 7.938 kB / 341.2 MB, free: 14.67 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.07324, allocations: 0 / 341.2 MB, free: 14.67 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.07325, allocations: 0 / 341.2 MB, free: 14.67 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.07347, allocations: 225.4 kB / 341.4 MB, free: 14.41 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.07348, allocations: 4 kB / 341.4 MB, free: 14.4 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.07364, allocations: 35.97 kB / 341.5 MB, free: 14.37 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.07365, allocations: 0 / 341.5 MB, free: 14.37 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.07367, allocations: 8 kB / 341.5 MB, free: 14.36 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.07369, allocations: 4 kB / 341.5 MB, free: 14.36 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.07369, allocations: 0 / 341.5 MB, free: 14.36 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.07417, allocations: 309 kB / 341.8 MB, free: 14.03 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.07425, allocations: 104.9 kB / 341.9 MB, free: 13.91 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.07429, allocations: 4 kB / 341.9 MB, free: 13.91 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.07445, allocations: 23.97 kB / 341.9 MB, free: 13.88 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.07451, allocations: 7.984 kB / 341.9 MB, free: 13.88 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.07452, allocations: 4 kB / 341.9 MB, free: 13.87 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.985e-05/0.07461, allocations: 122.9 kB / 342 MB, free: 13.75 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.07461, allocations: 0 / 342 MB, free: 13.75 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.07485, allocations: 36 kB / 342.1 MB, free: 13.71 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 (13): * Single equations (assignments): 12 * 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.000133/0.07499, allocations: 115 kB / 342.2 MB, free: 13.59 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.07546, allocations: 197.8 kB / 342.4 MB, free: 13.39 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.07547, allocations: 0 / 342.4 MB, free: 13.39 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.0757, allocations: 131.3 kB / 342.5 MB, free: 13.25 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.0762, allocations: 59.97 kB / 342.6 MB, free: 13.19 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.0767, allocations: 361.1 kB / 342.9 MB, free: 12.8 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.07696, allocations: 0.7164 MB / 343.6 MB, free: 12.06 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.07702, allocations: 15.44 kB / 343.6 MB, free: 12.05 MB / 234.7 MB Notification: Performance of SimCode: time 2.5e-07/0.07702, allocations: 0 / 343.6 MB, free: 12.05 MB / 234.7 MB Notification: Performance of Templates: time 0.003237/0.08027, allocations: 1.932 MB / 345.6 MB, free: 10.12 MB / 234.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1)