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.0009755/0.0009755, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002407, allocations: 440 kB / 10.41 MB, free: 284 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.0007218/0.0007218, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001742, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9901/0.9901, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08582/1.076, allocations: 53.68 MB / 243.4 MB, free: 15.49 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.03766/0.03766, allocations: 8.716 MB / 252.9 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005372/0.04304, allocations: 3.02 MB / 255.9 MB, free: 3.27 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.403e-06/1.403e-06, allocations: 0 / 257.2 MB, free: 1.957 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.304e-05, allocations: 6.312 kB / 257.2 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.005739/0.005762, allocations: 4.385 MB / 261.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004623/0.01039, allocations: 2.551 MB / 264.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005881/0.01097, allocations: 15.88 kB / 264.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.01159, allocations: 182.6 kB / 264.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.01271, allocations: 425.2 kB / 264.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.01412, allocations: 490.3 kB / 265.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.0156, allocations: 1.096 MB / 266.3 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.016, allocations: 174.4 kB / 266.5 MB, free: 8.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.01712, allocations: 0.6403 MB / 267.1 MB, free: 7.961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006964/0.01781, allocations: 359 kB / 267.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.01794, allocations: 64 kB / 267.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007565/0.0187, allocations: 303.6 kB / 267.8 MB, free: 7.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.01887, allocations: 155.5 kB / 268 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.01918, allocations: 235.6 kB / 268.2 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.02038, allocations: 0.7435 MB / 269 MB, free: 6.121 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.755e-05/0.0204, allocations: 4 kB / 269 MB, free: 6.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.0204, allocations: 0 / 269 MB, free: 6.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.199e-05/0.02043, allocations: 0 / 269 MB, free: 6.117 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.001753/0.02218, allocations: 1.137 MB / 270.1 MB, free: 4.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.02222, allocations: 8.031 kB / 270.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.02261, allocations: 197.9 kB / 270.3 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006295/0.02324, allocations: 377.5 kB / 270.7 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.0233, allocations: 41.69 kB / 270.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.024e-05/0.02339, allocations: 64.06 kB / 270.8 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.02402, allocations: 387.6 kB / 271.2 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.02404, allocations: 7.984 kB / 271.2 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.02408, allocations: 20 kB / 271.2 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.0241, allocations: 12 kB / 271.2 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.02445, allocations: 174.3 kB / 271.4 MB, free: 3.629 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.002122/0.02657, allocations: 1.085 MB / 272.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.02708, allocations: 219.6 kB / 272.7 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.02721, allocations: 72.83 kB / 272.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.697e-05/0.02729, allocations: 15.98 kB / 272.8 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.02732, allocations: 38.56 kB / 272.8 MB, free: 2.148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.194e-06/0.02732, allocations: 0 / 272.8 MB, free: 2.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.002139/0.02946, allocations: 0.756 MB / 273.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.02949, allocations: 59.34 kB / 273.6 MB, free: 1.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.02995, allocations: 452.8 kB / 274 MB, free: 0.832 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.02998, allocations: 33.7 kB / 274.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.03015, allocations: 278.1 kB / 274.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.03026, allocations: 158.6 kB / 274.5 MB, free: 368 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.03039, allocations: 86.11 kB / 274.6 MB, free: 276 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.1311/0.1615, allocations: 374.6 kB / 275 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.1617, allocations: 45.69 kB / 275 MB, free: 11.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1619, allocations: 140.1 kB / 275.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.1623, allocations: 310.1 kB / 275.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1623, allocations: 0.9375 kB / 275.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004986/0.1628, allocations: 257.3 kB / 275.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1628, allocations: 7.75 kB / 275.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1628, allocations: 3.969 kB / 275.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.1629, allocations: 7.688 kB / 275.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.1634, allocations: 145.9 kB / 275.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1634, allocations: 7.016 kB / 275.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.1636, allocations: 20.53 kB / 275.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.1637, allocations: 18.02 kB / 275.9 MB, free: 11.33 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.0002607/0.1639, allocations: 148.6 kB / 276 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/0.164, allocations: 51.78 kB / 276.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/0.1646, allocations: 298 kB / 276.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1646, allocations: 5.75 kB / 276.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1646, allocations: 0.5 kB / 276.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.1646, allocations: 4.141 kB / 276.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.1656, allocations: 0.5901 MB / 277 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1656, allocations: 1.031 kB / 277 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.1661, allocations: 137.6 kB / 277.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.1662, allocations: 66.22 kB / 277.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1662, allocations: 3.391 kB / 277.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.1663, allocations: 12.08 kB / 277.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.289e-06/0.1663, allocations: 3.094 kB / 277.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1663, allocations: 0 / 277.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.1668, allocations: 413.7 kB / 277.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.1669, allocations: 10.62 kB / 277.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.1671, allocations: 14.5 kB / 277.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.1671, allocations: 30.39 kB / 277.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.1672, allocations: 11.36 kB / 277.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002605/0.1674, allocations: 203.4 kB / 277.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.1674, allocations: 1.031 kB / 277.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005844/0.168, allocations: 181.6 kB / 278 MB, free: 10.8 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.001479/0.1695, allocations: 0.5511 MB / 278.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003969/0.1699, allocations: 211.2 kB / 278.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.58e-05/0.1699, allocations: 9.719 kB / 278.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.1701, allocations: 152.8 kB / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008743/0.171, allocations: 1.455 MB / 280.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.1846, allocations: 1.194 MB / 281.6 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.1848, allocations: 159.7 kB / 281.8 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004988/0.1853, allocations: 94.08 kB / 281.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/0.1857, allocations: 199.9 kB / 282.1 MB, free: 8.527 MB / 266.7 MB Notification: Performance of SimCode: time 2.054e-06/0.1857, allocations: 0 / 282.1 MB, free: 8.527 MB / 266.7 MB Notification: Performance of Templates: time 0.01781/0.2035, allocations: 10.33 MB / 292.4 MB, free: 5.273 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.9099390720948577]