Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0007392/0.0007392, allocations: 147.2 kB / 15.75 MB, free: 6.055 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.8318/0.8318, 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.00119/0.00119, allocations: 74.03 kB / 202.5 MB, free: 2.633 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04538/0.04538, allocations: 11.85 MB / 249.5 MB, free: 0.5703 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003005, allocations: 18.2 kB / 297.1 MB, free: 26.83 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04886/0.04917, allocations: 37.13 MB / 334.2 MB, free: 5.992 MB / 218.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.002574/0.05177, allocations: 2.806 MB / 337 MB, free: 3.164 MB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.05341, allocations: 1.419 MB / 338.5 MB, free: 1.742 MB / 218.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.05353, allocations: 4 kB / 338.5 MB, free: 1.738 MB / 218.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.05365, allocations: 35.77 kB / 338.5 MB, free: 1.703 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.0002919/0.05395, allocations: 154.8 kB / 338.7 MB, free: 1.551 MB / 218.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.05441, allocations: 275.2 kB / 338.9 MB, free: 1.281 MB / 218.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.0547, allocations: 338.2 kB / 339.3 MB, free: 0.9492 MB / 218.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.05484, allocations: 72.52 kB / 339.3 MB, free: 0.875 MB / 218.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.05496, allocations: 103.6 kB / 339.4 MB, free: 0.7734 MB / 218.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.05512, allocations: 119.5 kB / 339.5 MB, free: 0.6562 MB / 218.7 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.05515, allocations: 12 kB / 339.6 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.05544, allocations: 195.6 kB / 339.7 MB, free: 464 kB / 218.7 MB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.05548, allocations: 35.84 kB / 339.8 MB, free: 428 kB / 218.7 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.05554, allocations: 73.58 kB / 339.9 MB, free: 348 kB / 218.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.05582, allocations: 271.7 kB / 340.1 MB, free: 76 kB / 218.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.05583, allocations: 0 / 340.1 MB, free: 76 kB / 218.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.05584, allocations: 4 kB / 340.1 MB, free: 72 kB / 218.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.05585, allocations: 0 / 340.1 MB, free: 72 kB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005936/0.05645, allocations: 0.5027 MB / 340.6 MB, free: 15.52 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.615e-05/0.05648, allocations: 8.031 kB / 340.6 MB, free: 15.51 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.433e-05/0.05658, allocations: 27.72 kB / 340.7 MB, free: 15.48 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.0568, allocations: 246.6 kB / 340.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.05683, allocations: 16.38 kB / 340.9 MB, free: 15.18 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.05686, allocations: 20 kB / 340.9 MB, free: 15.16 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.0572, allocations: 214.7 kB / 341.1 MB, free: 14.94 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.05722, allocations: 0 / 341.1 MB, free: 14.94 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.05725, allocations: 12 kB / 341.2 MB, free: 14.93 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.05726, allocations: 4 kB / 341.2 MB, free: 14.93 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.05752, allocations: 151.2 kB / 341.3 MB, free: 14.78 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.05868, allocations: 1.126 MB / 342.4 MB, free: 13.51 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.05895, allocations: 142.5 kB / 342.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.05907, allocations: 60.84 kB / 342.6 MB, free: 13.3 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.05928, allocations: 336.3 kB / 343 MB, free: 12.9 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.05931, allocations: 38.52 kB / 343 MB, free: 12.85 MB / 234.7 MB Notification: Performance of pre-optimization done (n=15): time 1.173e-06/0.05932, allocations: 0 / 343 MB, free: 12.85 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.001489/0.06081, allocations: 0.6927 MB / 343.7 MB, free: 12.11 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.06085, allocations: 55.41 kB / 343.7 MB, free: 12.04 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.06103, allocations: 219.1 kB / 344 MB, free: 11.82 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.06106, allocations: 33.7 kB / 344 MB, free: 11.78 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.06112, allocations: 136.3 kB / 344.1 MB, free: 11.64 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.06117, allocations: 59.11 kB / 344.2 MB, free: 11.58 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.06119, allocations: 8 kB / 344.2 MB, free: 11.57 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.06128, allocations: 330.8 kB / 344.5 MB, free: 11.24 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.06142, allocations: 65.2 kB / 344.6 MB, free: 11.18 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.06158, allocations: 114.6 kB / 344.7 MB, free: 11.04 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.06173, allocations: 74.55 kB / 344.8 MB, free: 10.97 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.06174, allocations: 0 / 344.8 MB, free: 10.97 MB / 234.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000368/0.06211, allocations: 225.2 kB / 345 MB, free: 10.75 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.06213, allocations: 8.156 kB / 345 MB, free: 10.74 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.06214, allocations: 0 / 345 MB, free: 10.74 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.06216, allocations: 7.984 kB / 345 MB, free: 10.73 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.06239, allocations: 59.91 kB / 345.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.06241, allocations: 0 / 345.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.06254, allocations: 15.98 kB / 345.1 MB, free: 10.66 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.06257, allocations: 8 kB / 345.1 MB, free: 10.65 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: 7 * 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 (22): * Single equations (assignments): 22 * 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.0001439/0.06272, allocations: 145.8 kB / 345.2 MB, free: 10.5 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.06276, allocations: 19.77 kB / 345.2 MB, free: 10.48 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000409/0.06318, allocations: 219.3 kB / 345.5 MB, free: 10.26 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.0632, allocations: 15.89 kB / 345.5 MB, free: 10.25 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.0632, allocations: 0 / 345.5 MB, free: 10.25 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.06321, allocations: 3.984 kB / 345.5 MB, free: 10.24 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/0.06388, allocations: 0.5553 MB / 346 MB, free: 9.633 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.06389, allocations: 0 / 346 MB, free: 9.633 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.06414, allocations: 67.84 kB / 346.1 MB, free: 9.566 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.06415, allocations: 4 kB / 346.1 MB, free: 9.562 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.06417, allocations: 3.953 kB / 346.1 MB, free: 9.559 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.06417, allocations: 0 / 346.1 MB, free: 9.559 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.06418, allocations: 0 / 346.1 MB, free: 9.559 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.06467, allocations: 367.5 kB / 346.5 MB, free: 9.184 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.413e-05/0.06476, allocations: 116.8 kB / 346.6 MB, free: 9.051 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.0648, allocations: 4.047 kB / 346.6 MB, free: 9.047 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.06497, allocations: 27.92 kB / 346.6 MB, free: 9.02 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.06502, allocations: 12.05 kB / 346.6 MB, free: 9.008 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.06503, allocations: 11.94 kB / 346.6 MB, free: 8.996 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.06516, allocations: 167.1 kB / 346.8 MB, free: 8.832 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.06517, allocations: 0 / 346.8 MB, free: 8.832 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00032/0.06549, allocations: 103.9 kB / 346.9 MB, free: 8.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001975/0.0657, allocations: 155 kB / 347.1 MB, free: 8.566 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.066, allocations: 155.8 kB / 347.2 MB, free: 8.414 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.06602, allocations: 0 / 347.2 MB, free: 8.414 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.06616, allocations: 84.88 kB / 347.3 MB, free: 8.332 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006485/0.06682, allocations: 113 kB / 347.4 MB, free: 8.223 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008093/0.06764, allocations: 0.6876 MB / 348.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.06789, allocations: 0.7482 MB / 348.8 MB, free: 6.723 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.06796, allocations: 31.36 kB / 348.9 MB, free: 6.691 MB / 234.7 MB Notification: Performance of SimCode: time 2.21e-07/0.06797, allocations: 0 / 348.9 MB, free: 6.691 MB / 234.7 MB Notification: Performance of Templates: time 0.004699/0.07267, allocations: 3.693 MB / 352.6 MB, free: 3.012 MB / 234.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)