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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 103.2 kB / 16.4 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 192.7 kB / 17.34 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 223.2 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06174/0.06174, allocations: 11.84 MB / 282.4 MB, free: 212 kB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 79.14 kB / 393 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06648/0.06869, allocations: 49.23 MB / 442.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003191/0.07188, allocations: 2.719 MB / 445 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.07423, allocations: 1.504 MB / 446.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.07435, allocations: 4 kB / 446.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.07449, allocations: 31.64 kB / 446.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.07482, allocations: 115.1 kB / 446.6 MB, free: 13.67 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: Re was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0006669/0.07549, allocations: 325.9 kB / 446.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.07589, allocations: 314.5 kB / 447.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.07606, allocations: 69.08 kB / 447.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.07621, allocations: 107.6 kB / 447.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.07641, allocations: 131.5 kB / 447.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.07645, allocations: 20 kB / 447.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.07682, allocations: 215.6 kB / 447.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.07688, allocations: 51.84 kB / 447.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.07702, allocations: 135.3 kB / 447.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005308/0.07755, allocations: 382.7 kB / 448.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.07756, allocations: 0 / 448.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.07756, allocations: 0 / 448.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.07757, allocations: 0 / 448.3 MB, free: 11.95 MB / 334.1 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.0008767/0.07845, allocations: 0.5451 MB / 448.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.07848, allocations: 11.89 kB / 448.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.07859, allocations: 32.8 kB / 448.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.07891, allocations: 255.7 kB / 449.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.07894, allocations: 16.38 kB / 449.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.07899, allocations: 19.98 kB / 449.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.0794, allocations: 214.6 kB / 449.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.07941, allocations: 0 / 449.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.07944, allocations: 4 kB / 449.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.07944, allocations: 4 kB / 449.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.07975, allocations: 147.3 kB / 449.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.08127, allocations: 1.103 MB / 450.7 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.08163, allocations: 142.5 kB / 450.8 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.08182, allocations: 56.83 kB / 450.9 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004379/0.08226, allocations: 332.7 kB / 451.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.0823, allocations: 38.5 kB / 451.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/0.0823, allocations: 0 / 451.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.002061/0.08436, allocations: 0.6654 MB / 451.9 MB, free: 8.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.08441, allocations: 55.41 kB / 451.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.08472, allocations: 223.1 kB / 452.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.08475, allocations: 33.7 kB / 452.2 MB, free: 7.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.939e-05/0.08485, allocations: 132.5 kB / 452.3 MB, free: 7.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.08491, allocations: 67.44 kB / 452.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.088e-05/0.08498, allocations: 37.7 kB / 452.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.08514, allocations: 330.8 kB / 452.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.08531, allocations: 72.77 kB / 452.8 MB, free: 7.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.08549, allocations: 103.7 kB / 452.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.08588, allocations: 181.1 kB / 453.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.08588, allocations: 0 / 453.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004392/0.08632, allocations: 209.5 kB / 453.3 MB, free: 6.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.08634, allocations: 4 kB / 453.3 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.08634, allocations: 4 kB / 453.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.08636, allocations: 0 / 453.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.08662, allocations: 63.89 kB / 453.4 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.08663, allocations: 4 kB / 453.4 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.08683, allocations: 7.938 kB / 453.4 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.08686, allocations: 15.94 kB / 453.4 MB, free: 6.398 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.08706, allocations: 149 kB / 453.5 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.08712, allocations: 19.86 kB / 453.6 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.08763, allocations: 219.3 kB / 453.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.08763, allocations: 0 / 453.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.08763, allocations: 0 / 453.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.08764, allocations: 4 kB / 453.8 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008799/0.08852, allocations: 0.5607 MB / 454.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.08852, allocations: 0 / 454.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.08881, allocations: 51.91 kB / 454.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.08881, allocations: 4 kB / 454.4 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.08884, allocations: 7.984 kB / 454.4 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.08885, allocations: 3.938 kB / 454.4 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.08885, allocations: 0 / 454.4 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.08946, allocations: 359.1 kB / 454.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.08957, allocations: 108.9 kB / 454.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.08961, allocations: 11.98 kB / 454.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.08977, allocations: 11.97 kB / 454.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.08983, allocations: 15.98 kB / 454.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.08986, allocations: 4 kB / 454.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.09003, allocations: 167.1 kB / 455.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09003, allocations: 4.062 kB / 455.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003878/0.09041, allocations: 91.75 kB / 455.2 MB, free: 4.527 MB / 334.1 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 (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.0002606/0.09067, allocations: 174.9 kB / 455.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000436/0.09111, allocations: 131.9 kB / 455.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.09111, allocations: 4 kB / 455.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.09128, allocations: 76.14 kB / 455.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.0917, allocations: 59.47 kB / 455.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.09277, allocations: 0.5548 MB / 456.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.09321, allocations: 0.7441 MB / 456.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.09333, allocations: 30.27 kB / 456.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.09339, allocations: 27.38 kB / 456.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.09339, allocations: 3.938 kB / 457 MB, free: 2.672 MB / 334.1 MB Notification: Performance of Templates: time 0.008405/0.1018, allocations: 3.823 MB / 460.8 MB, free: 14.88 MB / 350.1 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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)