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.001033/0.001033, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 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.001252/0.001252, allocations: 169 kB / 23.49 MB, free: 1.055 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.9289/0.9289, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.03598/0.03598, allocations: 8.717 MB / 269 MB, free: 4.586 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.974e-06/1.974e-06, allocations: 0 / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.722e-05/3.919e-05, allocations: 8.5 kB / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.005363/0.005402, allocations: 4.364 MB / 345.2 MB, free: 4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003077/0.00848, allocations: 2.474 MB / 347.7 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.008788, allocations: 15.88 kB / 347.7 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.009221, allocations: 174.7 kB / 347.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006549/0.009875, allocations: 437.1 kB / 348.3 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008195/0.01069, allocations: 498.5 kB / 348.8 MB, free: 424 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008542/0.01155, allocations: 1.096 MB / 349.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.01184, allocations: 176.3 kB / 350.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006346/0.01247, allocations: 0.5456 MB / 350.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.01293, allocations: 363 kB / 351 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.961e-05/0.01301, allocations: 68 kB / 351 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.01343, allocations: 271.7 kB / 351.3 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.01357, allocations: 203.2 kB / 351.5 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.01379, allocations: 279.3 kB / 351.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008736/0.01466, allocations: 0.8098 MB / 352.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.01467, allocations: 7.938 kB / 352.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01467, allocations: 0 / 352.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.01468, allocations: 0 / 352.6 MB, free: 12.61 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.001243/0.01593, allocations: 1.106 MB / 353.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.01596, allocations: 8.031 kB / 353.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.01622, allocations: 148.3 kB / 353.9 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.01675, allocations: 478.9 kB / 354.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.01679, allocations: 41.69 kB / 354.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.01686, allocations: 60.12 kB / 354.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/0.01743, allocations: 408.8 kB / 354.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.01745, allocations: 0 / 354.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.01748, allocations: 24 kB / 354.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.0175, allocations: 16 kB / 354.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.01791, allocations: 251.7 kB / 355.1 MB, free: 10.02 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.001883/0.01979, allocations: 1.495 MB / 356.6 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.02031, allocations: 265.5 kB / 356.9 MB, free: 8.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.02046, allocations: 95.64 kB / 357 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.069e-05/0.02052, allocations: 19.98 kB / 357 MB, free: 8.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.02055, allocations: 37.39 kB / 357 MB, free: 8.031 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.02055, allocations: 0 / 357 MB, free: 8.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.001348/0.0219, allocations: 0.8364 MB / 357.8 MB, free: 7.152 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.02193, allocations: 59.39 kB / 357.9 MB, free: 7.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.02234, allocations: 0.5065 MB / 358.4 MB, free: 6.562 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.02236, allocations: 41.64 kB / 358.5 MB, free: 6.516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.02254, allocations: 391.6 kB / 358.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/0.02263, allocations: 158.6 kB / 359 MB, free: 5.969 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.02273, allocations: 103.7 kB / 359.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.02288, allocations: 0.543 MB / 359.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.02302, allocations: 72.95 kB / 359.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.02321, allocations: 201.5 kB / 359.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.02368, allocations: 379.6 kB / 360.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.02368, allocations: 0 / 360.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004849/0.02417, allocations: 384.5 kB / 360.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.02418, allocations: 7.938 kB / 360.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.02419, allocations: 4 kB / 360.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.0242, allocations: 4 kB / 360.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.02448, allocations: 120.2 kB / 360.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.02449, allocations: 11.98 kB / 360.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.02462, allocations: 12 kB / 360.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.02464, allocations: 23.98 kB / 360.8 MB, free: 4.008 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.0002096/0.02485, allocations: 186.4 kB / 361 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.02493, allocations: 75.62 kB / 361.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.02546, allocations: 391.4 kB / 361.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.02547, allocations: 4 kB / 361.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.02547, allocations: 0 / 361.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.02548, allocations: 3.984 kB / 361.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.02651, allocations: 0.9252 MB / 362.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.02652, allocations: 3.938 kB / 362.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.02679, allocations: 103.9 kB / 362.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.02679, allocations: 4 kB / 362.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.02682, allocations: 12 kB / 362.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.02682, allocations: 3.984 kB / 362.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02682, allocations: 0 / 362.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006268/0.02745, allocations: 0.5759 MB / 363.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.02757, allocations: 99.52 kB / 363.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.02763, allocations: 15.98 kB / 363.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.02774, allocations: 12 kB / 363.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.0278, allocations: 28.44 kB / 363.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.02782, allocations: 19.98 kB / 363.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002599/0.02808, allocations: 338.8 kB / 363.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02808, allocations: 0 / 363.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.02849, allocations: 183.7 kB / 363.8 MB, free: 0.9805 MB / 282.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.00088/0.02937, allocations: 421.7 kB / 364.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000414/0.02978, allocations: 264.2 kB / 364.4 MB, free: 424 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02978, allocations: 0 / 364.4 MB, free: 424 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.02995, allocations: 147.4 kB / 364.6 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.03042, allocations: 169.2 kB / 364.8 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.03221, allocations: 1.225 MB / 366 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.03232, allocations: 161.9 kB / 366.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.03256, allocations: 100.6 kB / 366.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.03267, allocations: 64.47 kB / 366.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.03267, allocations: 0 / 366.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of Templates: time 0.01108/0.04374, allocations: 8.637 MB / 374.9 MB, free: 6.031 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: 2.9285556918475777]