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.001775/0.001775, allocations: 85.48 kB / 19.44 MB, free: 344 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.001967/0.001967, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.619/1.619, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.06278/0.06278, allocations: 8.703 MB / 268.3 MB, free: 4.578 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.172e-06/1.172e-06, allocations: 0 / 340.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.368e-05, allocations: 8.703 kB / 340.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.004191/0.004215, allocations: 4.321 MB / 344.5 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003141/0.007356, allocations: 2.464 MB / 346.9 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.007628, allocations: 15.88 kB / 346.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004612/0.008089, allocations: 170.7 kB / 347.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007181/0.008807, allocations: 437.2 kB / 347.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008949/0.009702, allocations: 0.4906 MB / 348 MB, free: 488 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.01083, allocations: 1.092 MB / 349.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.01121, allocations: 180.4 kB / 349.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008692/0.01208, allocations: 0.5455 MB / 349.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006158/0.01269, allocations: 363 kB / 350.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.01283, allocations: 72 kB / 350.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006018/0.01343, allocations: 279.6 kB / 350.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.01367, allocations: 195.3 kB / 350.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.01407, allocations: 287.2 kB / 351 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.01568, allocations: 1.114 MB / 352.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.01569, allocations: 7.984 kB / 352.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01569, allocations: 0 / 352.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.01571, allocations: 0 / 352.1 MB, free: 12.36 MB / 282.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.002383/0.01809, allocations: 1.176 MB / 353.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.01813, allocations: 8.031 kB / 353.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004117/0.01854, allocations: 148.3 kB / 353.5 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000966/0.01951, allocations: 486.8 kB / 353.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/0.01957, allocations: 45.69 kB / 354 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.01968, allocations: 60.12 kB / 354 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.02076, allocations: 0.5196 MB / 354.5 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.02078, allocations: 0 / 354.5 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.02084, allocations: 24 kB / 354.6 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.02086, allocations: 12 kB / 354.6 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.02189, allocations: 448.9 kB / 355 MB, free: 9.379 MB / 282.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.003764/0.02566, allocations: 1.832 MB / 356.9 MB, free: 7.488 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.0267, allocations: 440.6 kB / 357.3 MB, free: 7.047 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003842/0.02708, allocations: 179.6 kB / 357.5 MB, free: 6.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-05/0.02718, allocations: 27.77 kB / 357.5 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.02722, allocations: 37.39 kB / 357.5 MB, free: 6.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 2.103e-06/0.02722, allocations: 4 kB / 357.5 MB, free: 6.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.002813/0.03004, allocations: 1.149 MB / 358.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.03009, allocations: 55.41 kB / 358.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009208/0.03101, allocations: 0.6627 MB / 359.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/0.03106, allocations: 37.7 kB / 359.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006203/0.03168, allocations: 419.6 kB / 359.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.03186, allocations: 170.7 kB / 360 MB, free: 4.227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.03205, allocations: 115.8 kB / 360.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004038/0.03246, allocations: 0.586 MB / 360.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.0328, allocations: 140.9 kB / 360.8 MB, free: 3.371 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.03329, allocations: 301.5 kB / 361.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.03447, allocations: 0.5934 MB / 361.7 MB, free: 2.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.03447, allocations: 0 / 361.7 MB, free: 2.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001115/0.03558, allocations: 0.5319 MB / 362.3 MB, free: 1.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.03561, allocations: 11.94 kB / 362.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.03561, allocations: 0 / 362.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.03564, allocations: 8 kB / 362.3 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/0.03616, allocations: 111.9 kB / 362.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.03618, allocations: 15.91 kB / 362.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.03643, allocations: 19.94 kB / 362.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/0.03648, allocations: 19.98 kB / 362.4 MB, free: 1.664 MB / 282.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.0004211/0.0369, allocations: 269.3 kB / 362.7 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.03705, allocations: 71.62 kB / 362.8 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.0382, allocations: 0.5072 MB / 363.3 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.03821, allocations: 4 kB / 363.3 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.03821, allocations: 0 / 363.3 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.03822, allocations: 3.984 kB / 363.3 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.04061, allocations: 1.206 MB / 364.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.04062, allocations: 3.938 kB / 364.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.04117, allocations: 103.9 kB / 364.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.04118, allocations: 7.938 kB / 364.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.04122, allocations: 20 kB / 364.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.04123, allocations: 0 / 364.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.04123, allocations: 7.984 kB / 364.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.04277, allocations: 0.8064 MB / 365.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.04304, allocations: 99.5 kB / 365.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/0.04312, allocations: 12 kB / 365.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.04336, allocations: 12 kB / 365.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.04345, allocations: 28.44 kB / 365.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.04349, allocations: 15.98 kB / 365.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005834/0.04407, allocations: 422.8 kB / 366 MB, free: 14.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.04407, allocations: 4 kB / 366 MB, free: 14.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006907/0.04476, allocations: 183.8 kB / 366.2 MB, free: 13.83 MB / 298.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.002752/0.04751, allocations: 455.8 kB / 366.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.04874, allocations: 423.9 kB / 367.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.04874, allocations: 3.938 kB / 367.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.04918, allocations: 227.4 kB / 367.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008642/0.05004, allocations: 171 kB / 367.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.05259, allocations: 1.304 MB / 368.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.053, allocations: 336.9 kB / 369.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003706/0.05337, allocations: 100.6 kB / 369.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.05354, allocations: 60.47 kB / 369.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.05354, allocations: 0 / 369.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of Templates: time 0.01895/0.07249, allocations: 8.622 MB / 377.9 MB, free: 2.41 MB / 298.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: 4.809882262954488]