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.0008853/0.0008853, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005555/0.005555, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.386/1.386, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05392/0.05392, allocations: 11.84 MB / 282.6 MB, free: 9.371 MB / 238.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.0006374/0.0006376, allocations: 19.14 kB / 343.5 MB, free: 22.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08215/0.0828, allocations: 50.21 MB / 393.7 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003044/0.08588, allocations: 2.802 MB / 396.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.08819, allocations: 1.547 MB / 398.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.08841, allocations: 7.938 kB / 398.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.08855, allocations: 31.77 kB / 398.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.08888, allocations: 99.28 kB / 398.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.08954, allocations: 271.3 kB / 398.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.08991, allocations: 318.4 kB / 398.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.09009, allocations: 68.59 kB / 398.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.09026, allocations: 99.64 kB / 399 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.09046, allocations: 119.4 kB / 399.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.09049, allocations: 8 kB / 399.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.09084, allocations: 207.6 kB / 399.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.0909, allocations: 39.84 kB / 399.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.09104, allocations: 145.1 kB / 399.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.09148, allocations: 371 kB / 399.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.09149, allocations: 0 / 399.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09151, allocations: 0 / 399.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.09152, allocations: 0 / 399.8 MB, free: 13.71 MB / 302.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.0007598/0.09228, allocations: 0.5029 MB / 400.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.09232, allocations: 12.02 kB / 400.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.09245, allocations: 32.66 kB / 400.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.09274, allocations: 243.6 kB / 400.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.09277, allocations: 12.38 kB / 400.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.09281, allocations: 20 kB / 400.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.09321, allocations: 218.6 kB / 400.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.09323, allocations: 0 / 400.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.09326, allocations: 8 kB / 400.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.09328, allocations: 8 kB / 400.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.09357, allocations: 147.3 kB / 401 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.09495, allocations: 1.118 MB / 402.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.09526, allocations: 146.5 kB / 402.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.09539, allocations: 56.84 kB / 402.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.09565, allocations: 336.4 kB / 402.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.09568, allocations: 34.5 kB / 402.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.09569, allocations: 0 / 402.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001672/0.09737, allocations: 0.7076 MB / 403.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.09742, allocations: 55.41 kB / 403.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.09763, allocations: 215.2 kB / 403.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.09766, allocations: 33.64 kB / 403.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.09776, allocations: 140.3 kB / 403.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.09781, allocations: 59.11 kB / 403.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.09785, allocations: 25.7 kB / 403.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.09797, allocations: 330.8 kB / 404.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.09813, allocations: 72.81 kB / 404.3 MB, free: 8.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.09829, allocations: 109.9 kB / 404.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.09861, allocations: 177.9 kB / 404.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.09863, allocations: 4 kB / 404.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004207/0.09905, allocations: 213.3 kB / 404.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.09908, allocations: 7.984 kB / 404.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.09909, allocations: 4 kB / 404.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.09911, allocations: 8.156 kB / 404.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.09935, allocations: 55.91 kB / 404.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.09937, allocations: 7.984 kB / 404.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.0995, allocations: 15.98 kB / 404.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.09954, allocations: 8 kB / 404.9 MB, free: 8.137 MB / 302.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.0001844/0.09973, allocations: 150.6 kB / 405.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.09979, allocations: 23.72 kB / 405.1 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.1003, allocations: 215.4 kB / 405.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1003, allocations: 0 / 405.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1003, allocations: 0 / 405.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.1003, allocations: 16.02 kB / 405.3 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008008/0.1011, allocations: 0.5606 MB / 405.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1011, allocations: 0 / 405.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.1014, allocations: 59.91 kB / 405.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1014, allocations: 4 kB / 405.9 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.1014, allocations: 4 kB / 406 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1014, allocations: 3.938 kB / 406 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1014, allocations: 0 / 406 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.102, allocations: 367 kB / 406.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.1021, allocations: 116.8 kB / 406.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.1022, allocations: 3.938 kB / 406.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.1023, allocations: 15.98 kB / 406.4 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.1024, allocations: 11.98 kB / 406.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1024, allocations: 8 kB / 406.5 MB, free: 6.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.1026, allocations: 171.1 kB / 406.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1026, allocations: 4 kB / 406.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.1029, allocations: 95.94 kB / 406.7 MB, free: 6.23 MB / 302.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.0002603/0.1032, allocations: 159.1 kB / 406.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.1036, allocations: 159.6 kB / 407 MB, free: 5.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1036, allocations: 0 / 407 MB, free: 5.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.1037, allocations: 87.83 kB / 407.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.1042, allocations: 56.7 kB / 407.2 MB, free: 5.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1052, allocations: 0.6936 MB / 407.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.1056, allocations: 0.7404 MB / 408.6 MB, free: 4.289 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.1057, allocations: 34.27 kB / 408.7 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.1058, allocations: 19.44 kB / 408.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1058, allocations: 4 kB / 408.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of Templates: time 0.007235/0.113, allocations: 3.572 MB / 412.2 MB, free: 0.6914 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: