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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009173/0.0009173, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9427/0.9427, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.03374/0.03374, allocations: 8.713 MB / 267.9 MB, free: 4.734 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 394.9 MB, free: 1.242 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.172e-05, allocations: 2.281 kB / 394.9 MB, free: 1.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.002812/0.002833, allocations: 2.561 MB / 397.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.004832, allocations: 1.484 MB / 399 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.00495, allocations: 7.938 kB / 399 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.005087, allocations: 31.7 kB / 399 MB, free: 13.13 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.005386, allocations: 119 kB / 399.1 MB, free: 13.01 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/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.0005079/0.005894, allocations: 350.6 kB / 399.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.006179, allocations: 330.1 kB / 399.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.006342, allocations: 61.27 kB / 399.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.006544, allocations: 167.6 kB / 400 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.006693, allocations: 95.7 kB / 400.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.006719, allocations: 20 kB / 400.1 MB, free: 12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.006928, allocations: 167.7 kB / 400.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.006976, allocations: 51.77 kB / 400.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.007052, allocations: 95.77 kB / 400.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.007427, allocations: 386.9 kB / 400.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.007431, allocations: 8 kB / 400.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007432, allocations: 3.938 kB / 400.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.007438, allocations: 0 / 400.8 MB, free: 11.3 MB / 330.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.0005705/0.008009, allocations: 477.1 kB / 401.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.008049, allocations: 12.03 kB / 401.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.008095, allocations: 54.73 kB / 401.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.008221, allocations: 40.73 kB / 401.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.008447, allocations: 185.9 kB / 401.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.008463, allocations: 20.75 kB / 401.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.008493, allocations: 24.12 kB / 401.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.008776, allocations: 244.9 kB / 401.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.008791, allocations: 3.953 kB / 401.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.008806, allocations: 4 kB / 401.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.008812, allocations: 4 kB / 401.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.008995, allocations: 151.2 kB / 402 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008602/0.009855, allocations: 0.7054 MB / 402.7 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.01009, allocations: 138.4 kB / 402.9 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.658e-05/0.01016, allocations: 60.77 kB / 402.9 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.958e-05/0.01025, allocations: 20 kB / 403 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.01028, allocations: 38.55 kB / 403 MB, free: 8.988 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.01028, allocations: 0 / 403 MB, free: 8.988 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.001066/0.01134, allocations: 0.5887 MB / 403.6 MB, free: 8.371 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.01137, allocations: 55.41 kB / 403.6 MB, free: 8.305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.01154, allocations: 219.2 kB / 403.9 MB, free: 8.082 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.01155, allocations: 29.7 kB / 403.9 MB, free: 8.047 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.01163, allocations: 140.4 kB / 404 MB, free: 7.906 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.01167, allocations: 63.44 kB / 404.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.01172, allocations: 41.69 kB / 404.1 MB, free: 7.797 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.01181, allocations: 326.8 kB / 404.4 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.643e-05/0.01191, allocations: 76.75 kB / 404.5 MB, free: 7.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.01201, allocations: 108.9 kB / 404.6 MB, free: 7.266 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.01221, allocations: 165.9 kB / 404.8 MB, free: 7.082 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01222, allocations: 4 kB / 404.8 MB, free: 7.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002622/0.01248, allocations: 221.3 kB / 405 MB, free: 6.855 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.01249, allocations: 4 kB / 405 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.0125, allocations: 4 kB / 405 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.01251, allocations: 0 / 405 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.01264, allocations: 55.95 kB / 405.1 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01265, allocations: 7.938 kB / 405.1 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.01271, allocations: 12.16 kB / 405.1 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.01273, allocations: 11.98 kB / 405.1 MB, free: 6.762 MB / 330.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.01287, allocations: 141.7 kB / 405.2 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.0129, allocations: 19.86 kB / 405.3 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.01322, allocations: 224.8 kB / 405.5 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01323, allocations: 0 / 405.5 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.01323, allocations: 4 kB / 405.5 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01324, allocations: 0 / 405.5 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008507/0.01409, allocations: 0.4962 MB / 406 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01409, allocations: 0 / 406 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.01423, allocations: 55.97 kB / 406 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.01423, allocations: 7.922 kB / 406 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.01424, allocations: 4 kB / 406 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.01425, allocations: 4 kB / 406 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01425, allocations: 0 / 406 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.01462, allocations: 362.9 kB / 406.4 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.01468, allocations: 39.86 kB / 406.4 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.0147, allocations: 0 / 406.4 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.01477, allocations: 15.98 kB / 406.5 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.01482, allocations: 11.92 kB / 406.5 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.01483, allocations: 11.98 kB / 406.5 MB, free: 5.305 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.01494, allocations: 163.1 kB / 406.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01494, allocations: 0 / 406.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.0152, allocations: 103.7 kB / 406.7 MB, free: 5.043 MB / 330.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 (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.0007344/0.01594, allocations: 0.957 MB / 407.7 MB, free: 4.059 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.01621, allocations: 143.6 kB / 407.8 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01621, allocations: 0 / 407.8 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.19e-05/0.0163, allocations: 71.84 kB / 407.9 MB, free: 3.852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.01661, allocations: 69.08 kB / 408 MB, free: 3.785 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.01912, allocations: 2.5 MB / 410.5 MB, free: 1.164 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.513e-05/0.01922, allocations: 146.4 kB / 410.6 MB, free: 1.004 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.02e-05/0.0193, allocations: 26.28 kB / 410.6 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/0.0194, allocations: 72.47 kB / 410.7 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0194, allocations: 0 / 410.7 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2509/0.2702, allocations: 7.26 MB / 418 MB, free: 27.45 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/8.18, allocations: 12.36 kB / 418 MB, free: 27.45 MB / 330.7 MB " [Timeout remaining time 652] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-08 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.420743915252388]