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.001052/0.001052, 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.001403/0.001403, allocations: 165.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 1.041/1.041, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.03559/0.03559, allocations: 8.706 MB / 267.9 MB, free: 4.742 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: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 395 MB, free: 1.242 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.904e-05, allocations: 2.281 kB / 395 MB, free: 1.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.005269/0.005298, allocations: 3.99 MB / 399 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003962/0.00926, allocations: 2.388 MB / 401.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005433/0.009803, allocations: 19.88 kB / 401.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005749/0.01038, allocations: 170.7 kB / 401.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.01161, allocations: 425.2 kB / 401.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.01305, allocations: 0.501 MB / 402.4 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.01434, allocations: 1.096 MB / 403.5 MB, free: 8.617 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003943/0.01473, allocations: 172.4 kB / 403.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009846/0.01572, allocations: 0.5456 MB / 404.3 MB, free: 7.898 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006224/0.01634, allocations: 347 kB / 404.6 MB, free: 7.559 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.01645, allocations: 64 kB / 404.7 MB, free: 7.496 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007218/0.01717, allocations: 283.6 kB / 404.9 MB, free: 7.219 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.01739, allocations: 187.3 kB / 405.1 MB, free: 7.035 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.01771, allocations: 287.2 kB / 405.4 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.01949, allocations: 1.11 MB / 406.5 MB, free: 5.641 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.0195, allocations: 4 kB / 406.5 MB, free: 5.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.0195, allocations: 0 / 406.5 MB, free: 5.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.749e-05/0.01953, allocations: 0 / 406.5 MB, free: 5.637 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001819/0.02135, allocations: 1.01 MB / 407.5 MB, free: 4.594 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.02141, allocations: 12.03 kB / 407.5 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.02151, allocations: 94.7 kB / 407.6 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.02179, allocations: 100.4 kB / 407.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007321/0.02252, allocations: 480 kB / 408.2 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.02259, allocations: 45.69 kB / 408.2 MB, free: 3.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/0.02266, allocations: 59.94 kB / 408.3 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008099/0.02347, allocations: 0.5782 MB / 408.9 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.02349, allocations: 3.953 kB / 408.9 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.02353, allocations: 24 kB / 408.9 MB, free: 3.164 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.02354, allocations: 12 kB / 408.9 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006818/0.02423, allocations: 0.5282 MB / 409.4 MB, free: 2.625 MB / 330.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.00262/0.02685, allocations: 1.694 MB / 411.1 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007608/0.02761, allocations: 440.5 kB / 411.6 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.02784, allocations: 180.8 kB / 411.7 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/0.02791, allocations: 16.17 kB / 411.8 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.02795, allocations: 38.5 kB / 411.8 MB, free: 192 kB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.856e-06/0.02795, allocations: 4 kB / 411.8 MB, free: 188 kB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.2137/0.2417, allocations: 1.182 MB / 413 MB, free: 28.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.2417, allocations: 55.91 kB / 413 MB, free: 28.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008333/0.2426, allocations: 0.6684 MB / 413.7 MB, free: 28.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.2426, allocations: 35.5 kB / 413.7 MB, free: 28.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.2428, allocations: 335.2 kB / 414.1 MB, free: 27.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.916e-05/0.2429, allocations: 155.8 kB / 414.2 MB, free: 27.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.243, allocations: 93.78 kB / 414.3 MB, free: 27.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2431, allocations: 376.1 kB / 414.7 MB, free: 27.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.2433, allocations: 158.5 kB / 414.8 MB, free: 27.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.2436, allocations: 256.5 kB / 415.1 MB, free: 27.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.2457, allocations: 0.9563 MB / 416 MB, free: 26.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2457, allocations: 0 / 416 MB, free: 26.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008691/0.2466, allocations: 0.5403 MB / 416.6 MB, free: 26.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.2466, allocations: 7.219 kB / 416.6 MB, free: 26.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.2466, allocations: 4.719 kB / 416.6 MB, free: 26.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/0.2466, allocations: 5.25 kB / 416.6 MB, free: 26.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.247, allocations: 115 kB / 416.7 MB, free: 26.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.247, allocations: 9.641 kB / 416.7 MB, free: 26.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.2472, allocations: 17 kB / 416.7 MB, free: 26.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.2473, allocations: 26.25 kB / 416.8 MB, free: 26.64 MB / 330.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.0004004/0.2477, allocations: 230.9 kB / 417 MB, free: 26.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.645e-05/0.2477, allocations: 83.11 kB / 417.1 MB, free: 26.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000845/0.2486, allocations: 0.5262 MB / 417.6 MB, free: 26.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.2486, allocations: 6.172 kB / 417.6 MB, free: 26.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2486, allocations: 0 / 417.6 MB, free: 26.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2486, allocations: 3.719 kB / 417.6 MB, free: 26.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.2503, allocations: 1.119 MB / 418.7 MB, free: 25.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2503, allocations: 0.75 kB / 418.7 MB, free: 25.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.2506, allocations: 112.2 kB / 418.8 MB, free: 25.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.2506, allocations: 3.578 kB / 418.8 MB, free: 25.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.2506, allocations: 13.31 kB / 418.8 MB, free: 25.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.2506, allocations: 6.875 kB / 418.9 MB, free: 25.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2506, allocations: 0 / 418.9 MB, free: 25.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009373/0.2516, allocations: 0.7883 MB / 419.6 MB, free: 25.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.2518, allocations: 112.4 kB / 419.8 MB, free: 25.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.2518, allocations: 11.41 kB / 419.8 MB, free: 25.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.252, allocations: 13.55 kB / 419.8 MB, free: 25.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.2521, allocations: 39.38 kB / 419.8 MB, free: 25.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.2521, allocations: 17.2 kB / 419.8 MB, free: 25.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005307/0.2526, allocations: 482.1 kB / 420.3 MB, free: 24.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2526, allocations: 0 / 420.3 MB, free: 24.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006073/0.2532, allocations: 189.8 kB / 420.5 MB, free: 24.86 MB / 330.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.002227/0.2555, allocations: 1.672 MB / 422.2 MB, free: 23.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007344/0.2562, allocations: 396.9 kB / 422.5 MB, free: 23.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2562, allocations: 4.25 kB / 422.5 MB, free: 23.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.2565, allocations: 199.3 kB / 422.7 MB, free: 23.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007605/0.2572, allocations: 215.9 kB / 423 MB, free: 23.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007494/0.2647, allocations: 5.744 MB / 428.7 MB, free: 20.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.2651, allocations: 346.7 kB / 429 MB, free: 20.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005491/0.2657, allocations: 124.9 kB / 429.2 MB, free: 20.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.2659, allocations: 256.3 kB / 429.4 MB, free: 20.18 MB / 330.7 MB Notification: Performance of SimCode: time 2.414e-06/0.2659, allocations: 0 / 429.4 MB, free: 20.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/0.3819, allocations: 19.18 MB / 448.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/8.939, allocations: 3.094 kB / 448.6 MB, free: 4.68 MB / 330.7 MB " [Timeout remaining time 651] (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: 11.349745036102831]