Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.0007742/0.0007742, 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.0007953/0.0007953, allocations: 216.7 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.8901/0.8901, allocations: 230.6 MB / 256 MB, free: 9.613 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.03573/0.03573, allocations: 11.34 MB / 323.8 MB, free: 6.863 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.CheckValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2",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.0009061/0.0009061, allocations: 67.91 kB / 450.7 MB, free: 35.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0681/0.069, allocations: 55.96 MB / 0.4948 GB, free: 11.69 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.003705/0.07271, allocations: 3.993 MB / 0.4987 GB, free: 7.668 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.07499, allocations: 2.388 MB / 0.5011 GB, free: 5.273 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.07517, allocations: 15.88 kB / 0.5011 GB, free: 5.258 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.07554, allocations: 178.7 kB / 0.5012 GB, free: 5.082 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005125/0.07605, allocations: 421.5 kB / 0.5016 GB, free: 4.668 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.07665, allocations: 489.7 kB / 0.5021 GB, free: 4.191 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006624/0.07731, allocations: 1.05 MB / 0.5031 GB, free: 3.133 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.07754, allocations: 180.2 kB / 0.5033 GB, free: 2.953 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.07784, allocations: 382.6 kB / 0.5037 GB, free: 2.578 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.07819, allocations: 398.2 kB / 0.504 GB, free: 2.188 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.07825, allocations: 64 kB / 0.5041 GB, free: 2.125 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.07856, allocations: 283.7 kB / 0.5044 GB, free: 1.848 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.07868, allocations: 187.3 kB / 0.5046 GB, free: 1.664 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.07887, allocations: 338.4 kB / 0.5049 GB, free: 1.332 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007814/0.07965, allocations: 1.098 MB / 0.506 GB, free: 236 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.07966, allocations: 0 / 0.506 GB, free: 236 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.07966, allocations: 11.92 kB / 0.506 GB, free: 224 kB / 362.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.07967, allocations: 0 / 0.506 GB, free: 224 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001076/0.08074, allocations: 1.007 MB / 0.5069 GB, free: 15.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.08078, allocations: 11.98 kB / 0.507 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.704e-05/0.08086, allocations: 98.7 kB / 0.5071 GB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.08102, allocations: 96.41 kB / 0.5071 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.08159, allocations: 492.3 kB / 0.5076 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.08163, allocations: 41.31 kB / 0.5077 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.08169, allocations: 55.94 kB / 0.5077 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/0.08231, allocations: 0.5821 MB / 0.5083 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.08234, allocations: 7.953 kB / 0.5083 GB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.08237, allocations: 20 kB / 0.5083 GB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.08237, allocations: 12 kB / 0.5083 GB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005979/0.08297, allocations: 0.5322 MB / 0.5088 GB, free: 13.2 MB / 378.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.001856/0.08483, allocations: 1.69 MB / 0.5105 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.08542, allocations: 451.9 kB / 0.5109 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.08563, allocations: 184.8 kB / 0.5111 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.08568, allocations: 19.98 kB / 0.5111 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.08569, allocations: 38.5 kB / 0.5111 GB, free: 10.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.493e-06/0.08569, allocations: 0 / 0.5111 GB, free: 10.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001495/0.08719, allocations: 1.18 MB / 0.5123 GB, free: 9.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.08721, allocations: 59.41 kB / 0.5124 GB, free: 9.461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.08772, allocations: 0.6681 MB / 0.513 GB, free: 8.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.08775, allocations: 33.64 kB / 0.513 GB, free: 8.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.08791, allocations: 340.5 kB / 0.5134 GB, free: 8.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/0.08798, allocations: 158.6 kB / 0.5135 GB, free: 8.254 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.866e-05/0.08808, allocations: 94.12 kB / 0.5136 GB, free: 8.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.08819, allocations: 378.8 kB / 0.514 GB, free: 7.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.08838, allocations: 160.9 kB / 0.5141 GB, free: 7.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.08861, allocations: 247.6 kB / 0.5144 GB, free: 7.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.0903, allocations: 0.9456 MB / 0.5153 GB, free: 6.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.0903, allocations: 0 / 0.5153 GB, free: 6.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005763/0.09087, allocations: 0.5352 MB / 0.5158 GB, free: 5.816 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.09089, allocations: 8.344 kB / 0.5158 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.09089, allocations: 8 kB / 0.5158 GB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.09091, allocations: 8 kB / 0.5158 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.09116, allocations: 119.8 kB / 0.5159 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.09117, allocations: 4 kB / 0.5159 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.0913, allocations: 15.98 kB / 0.516 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.09132, allocations: 20 kB / 0.516 GB, free: 5.637 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = j1.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.000236/0.09156, allocations: 245.6 kB / 0.5162 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.09162, allocations: 67.53 kB / 0.5163 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006456/0.09227, allocations: 0.5301 MB / 0.5168 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.09227, allocations: 12 kB / 0.5168 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.09228, allocations: 0 / 0.5168 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.09228, allocations: 0 / 0.5168 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.09342, allocations: 1.115 MB / 0.5179 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.09342, allocations: 0 / 0.5179 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.09367, allocations: 107.9 kB / 0.518 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.09368, allocations: 0 / 0.518 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.0937, allocations: 15.98 kB / 0.518 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.0937, allocations: 8 kB / 0.518 GB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.0937, allocations: 3.984 kB / 0.518 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007863/0.09449, allocations: 0.792 MB / 0.5188 GB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.09463, allocations: 107.6 kB / 0.5189 GB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.09468, allocations: 15.98 kB / 0.5189 GB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.09481, allocations: 12 kB / 0.5189 GB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.09486, allocations: 32.38 kB / 0.519 GB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.09488, allocations: 19.92 kB / 0.519 GB, free: 2.477 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003784/0.09526, allocations: 483 kB / 0.5194 GB, free: 2.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.09526, allocations: 4 kB / 0.5194 GB, free: 2.008 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003579/0.09562, allocations: 191.7 kB / 0.5196 GB, free: 1.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,speed.phi,speed.w,j1.volumeClosed.port[2].p) * 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 (49): * Single equations (assignments): 49 * 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.001566/0.09719, allocations: 1.669 MB / 0.5213 GB, free: 288 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004948/0.09768, allocations: 394.2 kB / 0.5216 GB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.09768, allocations: 0 / 0.5216 GB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.09797, allocations: 199.1 kB / 0.5218 GB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.09848, allocations: 223.5 kB / 0.522 GB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004974/0.1035, allocations: 5.805 MB / 0.5277 GB, free: 9.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.1037, allocations: 341.3 kB / 0.528 GB, free: 9.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.1039, allocations: 133.3 kB / 0.5282 GB, free: 9.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.1042, allocations: 259.3 kB / 0.5284 GB, free: 8.773 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1042, allocations: 0 / 0.5284 GB, free: 8.773 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08568/0.1899, allocations: 19.12 MB / 0.5471 GB, free: 5.902 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.315, allocations: 0 / 0.5471 GB, free: 5.902 MB / 410.7 MB " [Timeout remaining time 653] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_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_CheckValveTest2.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 9.60944209806621]