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.001346/0.001346, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.001245/0.001245, allocations: 165 kB / 23.02 MB, free: 1.551 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.9757/0.9757, allocations: 177.1 MB / 203.4 MB, free: 5.168 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.03459/0.03459, allocations: 8.725 MB / 268.7 MB, free: 4.383 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: 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.293e-06/1.293e-06, allocations: 0 / 340.8 MB, free: 9.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.56e-05, allocations: 2.312 kB / 340.9 MB, free: 9.094 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.00404/0.004055, allocations: 4.372 MB / 345.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002873/0.006928, allocations: 2.485 MB / 347.7 MB, free: 2.199 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.007255, allocations: 15.88 kB / 347.7 MB, free: 2.184 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004589/0.007713, allocations: 170.7 kB / 347.9 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000679/0.008392, allocations: 437.1 kB / 348.3 MB, free: 1.586 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008352/0.009228, allocations: 494.5 kB / 348.8 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.01032, allocations: 1.096 MB / 349.9 MB, free: 0 / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.01058, allocations: 172.4 kB / 350.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005034/0.01108, allocations: 0.5455 MB / 350.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.01144, allocations: 367 kB / 351 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.01151, allocations: 68 kB / 351 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.01187, allocations: 267.8 kB / 351.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.01201, allocations: 207.2 kB / 351.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.0122, allocations: 287.2 kB / 351.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008477/0.01305, allocations: 0.8059 MB / 352.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.01305, allocations: 4 kB / 352.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01305, allocations: 0 / 352.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.01307, allocations: 0 / 352.6 MB, free: 13.3 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.001106/0.01417, allocations: 1.11 MB / 353.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.01421, allocations: 8.031 kB / 353.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.01444, allocations: 144.3 kB / 353.8 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.01492, allocations: 490.9 kB / 354.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.01496, allocations: 45.69 kB / 354.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.01502, allocations: 56.12 kB / 354.4 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.01553, allocations: 404.8 kB / 354.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.01554, allocations: 7.953 kB / 354.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.01558, allocations: 24 kB / 354.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.01559, allocations: 16 kB / 354.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.01598, allocations: 251.6 kB / 355.1 MB, free: 10.69 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.001987/0.01797, allocations: 1.499 MB / 356.6 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.01844, allocations: 267 kB / 356.9 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.01859, allocations: 99.64 kB / 357 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.718e-05/0.01864, allocations: 15.98 kB / 357 MB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.01866, allocations: 37.39 kB / 357 MB, free: 8.703 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.452e-06/0.01867, allocations: 4 kB / 357 MB, free: 8.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.00124/0.01991, allocations: 0.8285 MB / 357.9 MB, free: 7.828 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.01993, allocations: 55.41 kB / 357.9 MB, free: 7.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.02031, allocations: 0.5142 MB / 358.4 MB, free: 7.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.02033, allocations: 41.7 kB / 358.5 MB, free: 7.184 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.0205, allocations: 387.6 kB / 358.8 MB, free: 6.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/0.02058, allocations: 158.6 kB / 359 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.02068, allocations: 103.8 kB / 359.1 MB, free: 6.535 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.02083, allocations: 0.543 MB / 359.6 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.02095, allocations: 64.95 kB / 359.7 MB, free: 5.914 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.02113, allocations: 205.5 kB / 359.9 MB, free: 5.668 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.02156, allocations: 375.7 kB / 360.3 MB, free: 5.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.02156, allocations: 0 / 360.3 MB, free: 5.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004469/0.02201, allocations: 384.4 kB / 360.6 MB, free: 4.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.02202, allocations: 11.92 kB / 360.7 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.02203, allocations: 7.984 kB / 360.7 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.02205, allocations: 4 kB / 360.7 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.02231, allocations: 116.2 kB / 360.8 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.02232, allocations: 15.92 kB / 360.8 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.02243, allocations: 12 kB / 360.8 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.02246, allocations: 23.98 kB / 360.8 MB, free: 4.684 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 = 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 (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.0001735/0.02263, allocations: 186 kB / 361 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.02271, allocations: 83.52 kB / 361.1 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005007/0.02321, allocations: 383.5 kB / 361.5 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.02322, allocations: 4 kB / 361.5 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.02322, allocations: 0 / 361.5 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.02322, allocations: 7.984 kB / 361.5 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009637/0.02419, allocations: 0.9174 MB / 362.4 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.02419, allocations: 3.938 kB / 362.4 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.02445, allocations: 103.9 kB / 362.5 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.02446, allocations: 4 kB / 362.5 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.02448, allocations: 15.94 kB / 362.5 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.02448, allocations: 0 / 362.5 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.02448, allocations: 7.984 kB / 362.5 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.02534, allocations: 0.5721 MB / 363.1 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.02546, allocations: 107.5 kB / 363.2 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.0255, allocations: 8 kB / 363.2 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.02562, allocations: 15.98 kB / 363.2 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.02568, allocations: 32.44 kB / 363.3 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.02569, allocations: 15.98 kB / 363.3 MB, free: 2.156 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000236/0.02593, allocations: 338.8 kB / 363.6 MB, free: 1.828 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02593, allocations: 0 / 363.6 MB, free: 1.828 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003476/0.02628, allocations: 187.7 kB / 363.8 MB, free: 1.645 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.0007944/0.02707, allocations: 420 kB / 364.2 MB, free: 1.348 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.02744, allocations: 264 kB / 364.5 MB, free: 1.082 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.02744, allocations: 0 / 364.5 MB, free: 1.082 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.02761, allocations: 147.4 kB / 364.6 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.02806, allocations: 169.1 kB / 364.8 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.02969, allocations: 1.226 MB / 366 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.859e-05/0.02979, allocations: 157.9 kB / 366.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001938/0.02998, allocations: 96.61 kB / 366.2 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.0301, allocations: 64.47 kB / 366.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0301, allocations: 0 / 366.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of Templates: time 0.01062/0.04072, allocations: 8.633 MB / 374.9 MB, free: 6.707 MB / 346.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: 3.086432214360684]