Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.0007622/0.0007622, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0007785/0.0007785, allocations: 211.6 kB / 22.25 MB, free: 3.574 MB / 13.93 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.8779/0.8779, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.03502/0.03502, allocations: 11.32 MB / 323.8 MB, free: 6.781 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.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008952/0.0008952, allocations: 75.88 kB / 450.7 MB, free: 35.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06629/0.06718, allocations: 55.95 MB / 0.4948 GB, free: 11.68 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.003047/0.07023, allocations: 3.053 MB / 0.4978 GB, free: 8.605 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.07216, allocations: 2.033 MB / 0.4998 GB, free: 6.566 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.07229, allocations: 7.938 kB / 0.4998 GB, free: 6.559 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.07261, allocations: 103.3 kB / 0.4999 GB, free: 6.457 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003909/0.073, allocations: 250.5 kB / 0.5001 GB, free: 6.211 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.07351, allocations: 374 kB / 0.5005 GB, free: 5.848 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.0739, allocations: 0.5172 MB / 0.501 GB, free: 5.328 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.07404, allocations: 64.78 kB / 0.501 GB, free: 5.266 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.07424, allocations: 191.3 kB / 0.5012 GB, free: 5.078 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.07444, allocations: 191 kB / 0.5014 GB, free: 4.891 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.07448, allocations: 35.94 kB / 0.5014 GB, free: 4.855 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.07474, allocations: 247.8 kB / 0.5017 GB, free: 4.613 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.07481, allocations: 91.61 kB / 0.5018 GB, free: 4.523 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.731e-05/0.07491, allocations: 159.2 kB / 0.5019 GB, free: 4.367 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.0754, allocations: 0.615 MB / 0.5025 GB, free: 3.746 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.07541, allocations: 4 kB / 0.5025 GB, free: 3.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.07541, allocations: 4 kB / 0.5025 GB, free: 3.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.07541, allocations: 0 / 0.5025 GB, free: 3.738 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0007332/0.07615, allocations: 0.6369 MB / 0.5032 GB, free: 3.066 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.07618, allocations: 15.98 kB / 0.5032 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.07623, allocations: 66.66 kB / 0.5032 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.07636, allocations: 56.64 kB / 0.5033 GB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.07666, allocations: 297.9 kB / 0.5036 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.07668, allocations: 20.66 kB / 0.5036 GB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.07671, allocations: 24 kB / 0.5036 GB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.07708, allocations: 350.7 kB / 0.5039 GB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.07709, allocations: 0 / 0.5039 GB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.07711, allocations: 12 kB / 0.504 GB, free: 2.191 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.07712, allocations: 4 kB / 0.504 GB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.07743, allocations: 262.5 kB / 0.5042 GB, free: 1.934 MB / 362.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.00112/0.07855, allocations: 0.9712 MB / 0.5052 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.07885, allocations: 210.5 kB / 0.5054 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.07895, allocations: 88.81 kB / 0.5054 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.07899, allocations: 8 kB / 0.5055 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.07901, allocations: 42.42 kB / 0.5055 GB, free: 0.543 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.242e-06/0.07901, allocations: 0 / 0.5055 GB, free: 0.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001223/0.08024, allocations: 0.798 MB / 0.5063 GB, free: 15.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.08026, allocations: 59.64 kB / 0.5063 GB, free: 15.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.08054, allocations: 389.6 kB / 0.5067 GB, free: 15.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.08056, allocations: 29.64 kB / 0.5067 GB, free: 15.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.08065, allocations: 200.7 kB / 0.5069 GB, free: 15.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.0807, allocations: 99.16 kB / 0.507 GB, free: 14.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.08076, allocations: 57.97 kB / 0.5071 GB, free: 14.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.08084, allocations: 343.2 kB / 0.5074 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.08098, allocations: 106 kB / 0.5075 GB, free: 14.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.08112, allocations: 148.7 kB / 0.5076 GB, free: 14.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.08138, allocations: 254.8 kB / 0.5079 GB, free: 13.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.08139, allocations: 7.938 kB / 0.5079 GB, free: 13.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003561/0.08174, allocations: 317 kB / 0.5082 GB, free: 13.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.08175, allocations: 8.875 kB / 0.5082 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.08176, allocations: 7.938 kB / 0.5082 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.08177, allocations: 4.047 kB / 0.5082 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.08196, allocations: 83.86 kB / 0.5083 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.08196, allocations: 4 kB / 0.5083 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.433e-05/0.08205, allocations: 20.16 kB / 0.5083 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.08206, allocations: 15.98 kB / 0.5083 GB, free: 13.5 MB / 378.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: 9 * Number of states: 0 () * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001521/0.08222, allocations: 165.8 kB / 0.5085 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.08226, allocations: 39.7 kB / 0.5085 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/0.08266, allocations: 321.6 kB / 0.5088 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.08266, allocations: 4 kB / 0.5088 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.08266, allocations: 0 / 0.5088 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.08267, allocations: 3.984 kB / 0.5088 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006596/0.08333, allocations: 0.6697 MB / 0.5095 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.08333, allocations: 0 / 0.5095 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.08351, allocations: 79.88 kB / 0.5096 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.08351, allocations: 4 kB / 0.5096 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.08353, allocations: 8 kB / 0.5096 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.08353, allocations: 4 kB / 0.5096 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.08353, allocations: 0 / 0.5096 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.08402, allocations: 0.4928 MB / 0.5101 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.0841, allocations: 67.66 kB / 0.5101 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.08413, allocations: 8 kB / 0.5101 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.08422, allocations: 15.98 kB / 0.5102 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.08426, allocations: 23.95 kB / 0.5102 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.08428, allocations: 12 kB / 0.5102 GB, free: 11.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000195/0.08447, allocations: 287.2 kB / 0.5105 GB, free: 11.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.08447, allocations: 0 / 0.5105 GB, free: 11.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002769/0.08475, allocations: 115.8 kB / 0.5106 GB, free: 11.12 MB / 378.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 (30): * Single equations (assignments): 30 * 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.001243/0.08599, allocations: 1.372 MB / 0.5119 GB, free: 9.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.0863, allocations: 219.8 kB / 0.5121 GB, free: 9.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0863, allocations: 448 / 0.5121 GB, free: 9.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.08643, allocations: 111.9 kB / 0.5122 GB, free: 9.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.0868, allocations: 107.6 kB / 0.5123 GB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.08967, allocations: 3.565 MB / 0.5158 GB, free: 5.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.08979, allocations: 194.5 kB / 0.516 GB, free: 5.543 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.08992, allocations: 59.23 kB / 0.5161 GB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.09005, allocations: 127.3 kB / 0.5162 GB, free: 5.359 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.09005, allocations: 0 / 0.5162 GB, free: 5.359 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07954/0.1696, allocations: 11.22 MB / 0.5271 GB, free: 10.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/6.872, allocations: 2.812 kB / 0.5271 GB, free: 10.27 MB / 394.7 MB " [Timeout remaining time 653] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.055808299221098]