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.001272/0.001271, allocations: 155.2 kB / 15.95 MB, free: 5.793 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.014/1.014, allocations: 150.5 MB / 167.2 MB, free: 2.184 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001578/0.001578, allocations: 97.25 kB / 201.8 MB, free: 12.35 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1872/0.1872, allocations: 11.82 MB / 248.2 MB, free: 33.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.88 kB / 295.4 MB, free: 8.457 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08361/0.08488, allocations: 36.44 MB / 331.9 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.004376/0.0893, allocations: 3.523 MB / 335.4 MB, free: 452 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.09224, allocations: 2.138 MB / 337.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.0925, allocations: 8 kB / 337.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.09278, allocations: 43.69 kB / 337.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.09312, allocations: 123.1 kB / 337.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007135/0.09385, allocations: 295.1 kB / 338 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.09416, allocations: 330 kB / 338.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.09435, allocations: 86.11 kB / 338.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.09452, allocations: 119.5 kB / 338.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.09469, allocations: 115.5 kB / 338.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.09473, allocations: 16 kB / 338.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.09506, allocations: 195.8 kB / 338.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.09511, allocations: 35.73 kB / 338.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.09524, allocations: 135.3 kB / 339 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.09566, allocations: 363.2 kB / 339.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.09567, allocations: 0 / 339.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.09568, allocations: 0 / 339.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.09569, allocations: 0 / 339.4 MB, free: 12.46 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007518/0.09645, allocations: 0.5724 MB / 339.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.09649, allocations: 8.031 kB / 339.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.917e-05/0.09657, allocations: 32.56 kB / 340 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.09685, allocations: 257.4 kB / 340.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.09687, allocations: 16.31 kB / 340.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.0969, allocations: 19.94 kB / 340.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.09726, allocations: 215.7 kB / 340.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.09728, allocations: 4 kB / 340.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.09731, allocations: 8 kB / 340.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.09733, allocations: 4 kB / 340.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.09765, allocations: 155.7 kB / 340.6 MB, free: 11.08 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.001382/0.09904, allocations: 1.388 MB / 342 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.09941, allocations: 114.5 kB / 342.1 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.09953, allocations: 44.83 kB / 342.2 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.73e-05/0.09963, allocations: 93.25 kB / 342.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.09966, allocations: 34.5 kB / 342.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.09967, allocations: 0 / 342.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.002138/0.1018, allocations: 0.508 MB / 342.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1019, allocations: 59.41 kB / 342.9 MB, free: 8.578 MB / 266.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.0003593/0.1022, allocations: 266.6 kB / 343.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1023, allocations: 29.64 kB / 343.2 MB, free: 8.277 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1024, allocations: 167.9 kB / 343.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.1024, allocations: 39.44 kB / 343.4 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.1025, allocations: 37.7 kB / 343.4 MB, free: 8.027 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1026, allocations: 334.8 kB / 343.7 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.1028, allocations: 63.95 kB / 343.8 MB, free: 7.629 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.103, allocations: 104.1 kB / 343.9 MB, free: 7.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.1034, allocations: 176 kB / 344.1 MB, free: 7.328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1034, allocations: 0 / 344.1 MB, free: 7.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004812/0.1039, allocations: 237.2 kB / 344.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1039, allocations: 4 kB / 344.3 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1039, allocations: 0 / 344.3 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.104, allocations: 4 kB / 344.3 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.1041, allocations: 43.95 kB / 344.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1042, allocations: 0 / 344.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.1043, allocations: 31.95 kB / 344.4 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.1044, allocations: 7.984 kB / 344.4 MB, free: 7 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.1045, allocations: 141.7 kB / 344.5 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.1046, allocations: 27.72 kB / 344.5 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004786/0.105, allocations: 196.2 kB / 344.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.105, allocations: 0 / 344.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1051, allocations: 0 / 344.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1051, allocations: 0 / 344.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.1054, allocations: 285.4 kB / 345 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1054, allocations: 0 / 345 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.1055, allocations: 31.97 kB / 345 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1055, allocations: 0 / 345 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1056, allocations: 4 kB / 345 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1056, allocations: 4 kB / 345.1 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1056, allocations: 4 kB / 345.1 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008765/0.1065, allocations: 0.9267 MB / 346 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1066, allocations: 112.8 kB / 346.1 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.1066, allocations: 8 kB / 346.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1068, allocations: 15.97 kB / 346.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.1068, allocations: 7.984 kB / 346.1 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1069, allocations: 7.938 kB / 346.1 MB, free: 5.105 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.107, allocations: 190 kB / 346.3 MB, free: 4.926 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.107, allocations: 0 / 346.3 MB, free: 4.926 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000454/0.1075, allocations: 96 kB / 346.4 MB, free: 4.832 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002683/0.1078, allocations: 163 kB / 346.6 MB, free: 4.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004266/0.1082, allocations: 156 kB / 346.7 MB, free: 4.508 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1082, allocations: 0 / 346.7 MB, free: 4.508 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.1084, allocations: 75.89 kB / 346.8 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007158/0.1091, allocations: 108.8 kB / 346.9 MB, free: 4.328 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/0.1101, allocations: 0.6302 MB / 347.5 MB, free: 3.656 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.1103, allocations: 0.7443 MB / 348.3 MB, free: 2.883 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.1105, allocations: 29.94 kB / 348.3 MB, free: 2.855 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.1106, allocations: 23.42 kB / 348.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1106, allocations: 0 / 348.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of Templates: time 0.146/0.2566, allocations: 4.119 MB / 352.4 MB, free: 44.62 MB / 266.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)