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.0009451/0.0009451, 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.0009186/0.0009186, 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.9582/0.9582, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.03372/0.03372, allocations: 8.707 MB / 267.9 MB, free: 4.73 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: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 395 MB, free: 1.234 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.401e-05, allocations: 2.281 kB / 395 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.003921/0.003945, allocations: 3.047 MB / 398 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.006368, allocations: 2.041 MB / 400 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.00658, allocations: 7.938 kB / 400.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.00704, allocations: 115.2 kB / 400.2 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005227/0.007563, allocations: 250.3 kB / 400.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.008176, allocations: 366.6 kB / 400.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.008627, allocations: 0.5324 MB / 401.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.008814, allocations: 76.25 kB / 401.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003281/0.009142, allocations: 271.3 kB / 401.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.00939, allocations: 163.5 kB / 401.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.009432, allocations: 32 kB / 401.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.009736, allocations: 247.7 kB / 402.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.709e-05/0.009833, allocations: 91.61 kB / 402.2 MB, free: 9.988 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.00995, allocations: 143.6 kB / 402.3 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006358/0.01059, allocations: 0.6271 MB / 402.9 MB, free: 9.219 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01059, allocations: 4 kB / 402.9 MB, free: 9.215 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01059, allocations: 0 / 402.9 MB, free: 9.215 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.0106, allocations: 0 / 402.9 MB, free: 9.215 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001277/0.01188, allocations: 0.6368 MB / 403.6 MB, free: 8.547 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.01192, allocations: 16.03 kB / 403.6 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.01198, allocations: 66.72 kB / 403.6 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.01214, allocations: 56.64 kB / 403.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.01249, allocations: 281.6 kB / 404 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.01251, allocations: 25.03 kB / 404 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.01255, allocations: 27.94 kB / 404 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.01298, allocations: 350.7 kB / 404.4 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.01299, allocations: 0 / 404.4 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.01301, allocations: 16 kB / 404.4 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.01302, allocations: 4 kB / 404.4 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.01335, allocations: 262.5 kB / 404.6 MB, free: 7.41 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.001273/0.01462, allocations: 0.9598 MB / 405.6 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.01493, allocations: 214.4 kB / 405.8 MB, free: 6.176 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.01504, allocations: 88.81 kB / 405.9 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.118e-05/0.01509, allocations: 15.94 kB / 405.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.01512, allocations: 38.56 kB / 406 MB, free: 6.023 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 3.106e-06/0.01513, allocations: 4.422 kB / 406 MB, free: 6.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.001337/0.01646, allocations: 0.7858 MB / 406.7 MB, free: 5.199 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.01649, allocations: 59.62 kB / 406.8 MB, free: 5.129 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.01681, allocations: 397.5 kB / 407.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.01683, allocations: 29.7 kB / 407.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.01695, allocations: 196.7 kB / 407.4 MB, free: 4.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.017, allocations: 99.16 kB / 407.5 MB, free: 4.406 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.01707, allocations: 57.97 kB / 407.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.01717, allocations: 346.8 kB / 407.9 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.01732, allocations: 102 kB / 408 MB, free: 3.895 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.01747, allocations: 157.5 kB / 408.2 MB, free: 3.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.01778, allocations: 258.5 kB / 408.4 MB, free: 3.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.01778, allocations: 0 / 408.4 MB, free: 3.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003732/0.01815, allocations: 319.3 kB / 408.7 MB, free: 3.121 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.01817, allocations: 4 kB / 408.7 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01817, allocations: 4 kB / 408.7 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.01819, allocations: 8.156 kB / 408.7 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.0184, allocations: 83.89 kB / 408.8 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.01841, allocations: 7.984 kB / 408.8 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.932e-05/0.0185, allocations: 15.98 kB / 408.8 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.01853, allocations: 12 kB / 408.9 MB, free: 2.988 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: 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.0001933/0.01872, allocations: 165.8 kB / 409 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.01877, allocations: 35.77 kB / 409.1 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/0.01922, allocations: 330.1 kB / 409.4 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01922, allocations: 7.938 kB / 409.4 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01923, allocations: 0 / 409.4 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01923, allocations: 0 / 409.4 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.0203, allocations: 0.6737 MB / 410.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.0203, allocations: 0 / 410.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.02047, allocations: 79.83 kB / 410.1 MB, free: 1.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.02048, allocations: 4 kB / 410.1 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.0205, allocations: 7.984 kB / 410.1 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.0205, allocations: 4 kB / 410.2 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.0205, allocations: 0 / 410.2 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005425/0.02105, allocations: 0.4928 MB / 410.6 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.638e-05/0.02113, allocations: 67.69 kB / 410.7 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.02117, allocations: 12.06 kB / 410.7 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.02126, allocations: 8 kB / 410.7 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.02131, allocations: 27.83 kB / 410.8 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.02133, allocations: 12 kB / 410.8 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002258/0.02155, allocations: 279.2 kB / 411 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02155, allocations: 0 / 411 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.0219, allocations: 119.8 kB / 411.2 MB, free: 0.6094 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 (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.1939/0.2158, allocations: 1.377 MB / 412.5 MB, free: 27.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005959/0.2164, allocations: 227.1 kB / 412.8 MB, free: 27.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2164, allocations: 0 / 412.8 MB, free: 27.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.2166, allocations: 109.5 kB / 412.9 MB, free: 27.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.2171, allocations: 106.4 kB / 413 MB, free: 27.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.2209, allocations: 3.519 MB / 416.5 MB, free: 26.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.2211, allocations: 202.1 kB / 416.7 MB, free: 26.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.2213, allocations: 56.06 kB / 416.7 MB, free: 26.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.2214, allocations: 126.1 kB / 416.9 MB, free: 25.94 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2214, allocations: 1.156 kB / 416.9 MB, free: 25.94 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09066/0.3121, allocations: 11.32 MB / 428.2 MB, free: 22.05 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.448, allocations: 1.094 kB / 428.2 MB, free: 22.05 MB / 330.7 MB " [Timeout remaining time 651] (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: 10.724931516684592]