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.0006545/0.0006545, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008733/0.001528, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006666/0.0006666, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008504/0.001517, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8948/0.8948, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08184/0.9767, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.03367/0.03367, allocations: 8.735 MB / 252.7 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006954/0.04062, allocations: 2.998 MB / 255.7 MB, free: 3.387 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-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: translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 257 MB, free: 2.105 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.643e-05, allocations: 6.25 kB / 257 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.005663/0.005689, allocations: 4.396 MB / 261.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004241/0.00993, allocations: 2.543 MB / 263.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.01033, allocations: 15.88 kB / 263.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.01073, allocations: 178.7 kB / 264.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008467/0.01157, allocations: 429.2 kB / 264.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.01266, allocations: 482.4 kB / 265 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.01375, allocations: 1.096 MB / 266.1 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.01404, allocations: 182.4 kB / 266.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008957/0.01493, allocations: 0.6325 MB / 266.9 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.01545, allocations: 359 kB / 267.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.01556, allocations: 64 kB / 267.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006253/0.01619, allocations: 303.6 kB / 267.6 MB, free: 7.406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.01635, allocations: 155.5 kB / 267.8 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.01663, allocations: 235.6 kB / 268 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.01764, allocations: 0.7435 MB / 268.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.537e-05/0.01765, allocations: 0 / 268.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01765, allocations: 4 kB / 268.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.01768, allocations: 0 / 268.7 MB, free: 6.273 MB / 266.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.001477/0.01915, allocations: 1.133 MB / 269.9 MB, free: 5.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.01918, allocations: 8.031 kB / 269.9 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.01949, allocations: 197.9 kB / 270.1 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.02007, allocations: 381.5 kB / 270.5 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.333e-05/0.02013, allocations: 53.67 kB / 270.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.847e-05/0.0202, allocations: 60.06 kB / 270.6 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/0.02077, allocations: 387.6 kB / 270.9 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.02079, allocations: 0 / 270.9 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.02083, allocations: 20 kB / 271 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.02084, allocations: 12 kB / 271 MB, free: 3.957 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.02118, allocations: 182.3 kB / 271.2 MB, free: 3.777 MB / 266.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.001963/0.02314, allocations: 1.077 MB / 272.2 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.02359, allocations: 219.7 kB / 272.4 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.02372, allocations: 68.83 kB / 272.5 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.02378, allocations: 15.98 kB / 272.5 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.02381, allocations: 38.56 kB / 272.6 MB, free: 2.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.02381, allocations: 0 / 272.6 MB, free: 2.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001284/0.02509, allocations: 0.6078 MB / 273.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.02513, allocations: 63.34 kB / 273.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.02555, allocations: 452.8 kB / 273.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.02558, allocations: 37.7 kB / 273.7 MB, free: 1.098 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.02573, allocations: 278.1 kB / 274 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.02584, allocations: 150.6 kB / 274.1 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.02596, allocations: 94.08 kB / 274.2 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.02609, allocations: 370.7 kB / 274.6 MB, free: 208 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.02619, allocations: 44.97 kB / 274.6 MB, free: 160 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1163/0.1425, allocations: 143.6 kB / 274.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/0.143, allocations: 295 kB / 275.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.143, allocations: 1.406 kB / 275.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003736/0.1434, allocations: 258.2 kB / 275.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1434, allocations: 6.297 kB / 275.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1434, allocations: 3.438 kB / 275.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1434, allocations: 4.188 kB / 275.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.1439, allocations: 148.1 kB / 275.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1439, allocations: 10.61 kB / 275.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.144, allocations: 19.08 kB / 275.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.1441, allocations: 16.17 kB / 275.5 MB, free: 11.46 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = idealPump.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 (checkValve.variableRestriction.data.zetaLaminarKnown,checkValve1.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.0002344/0.1443, allocations: 142.9 kB / 275.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/0.1444, allocations: 50.83 kB / 275.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.1448, allocations: 300 kB / 276 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1448, allocations: 6.031 kB / 276 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1448, allocations: 1.328 kB / 276 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1448, allocations: 5.672 kB / 276 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008057/0.1456, allocations: 0.5872 MB / 276.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1456, allocations: 1.812 kB / 276.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.1459, allocations: 132.6 kB / 276.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.1461, allocations: 69.05 kB / 276.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1461, allocations: 3.844 kB / 276.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.1461, allocations: 12.47 kB / 276.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1461, allocations: 4.75 kB / 276.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1461, allocations: 0.7031 kB / 276.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.1465, allocations: 408 kB / 277.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.1465, allocations: 14.47 kB / 277.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.1467, allocations: 12.44 kB / 277.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.1467, allocations: 33.75 kB / 277.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.1467, allocations: 11.64 kB / 277.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002013/0.1469, allocations: 205.1 kB / 277.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1469, allocations: 0 / 277.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004372/0.1474, allocations: 182.2 kB / 277.7 MB, free: 10.94 MB / 266.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.001138/0.1485, allocations: 0.5489 MB / 278.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.1488, allocations: 202.2 kB / 278.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.849e-05/0.1488, allocations: 7.812 kB / 278.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1489, allocations: 124.4 kB / 278.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.1494, allocations: 215.6 kB / 278.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009855/0.1592, allocations: 1.198 MB / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.1594, allocations: 158.8 kB / 280.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003/0.1597, allocations: 93.23 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/0.16, allocations: 193.6 kB / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of SimCode: time 1.373e-06/0.16, allocations: 0 / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of Templates: time 0.01304/0.173, allocations: 10.12 MB / 290.5 MB, free: 6.988 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.makefile [Timeout 660] (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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.678477785550058]