Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.0009071/0.0009071, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001289/0.001289, allocations: 177 kB / 23.5 MB, free: 1.051 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.9175/0.9175, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.03522/0.03522, allocations: 8.709 MB / 269 MB, free: 4.602 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.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.263e-05, allocations: 2.312 kB / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004431/0.004463, allocations: 3.284 MB / 344.1 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003005/0.007468, allocations: 2.123 MB / 346.3 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.007682, allocations: 7.938 kB / 346.3 MB, free: 2.945 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.007991, allocations: 107.2 kB / 346.4 MB, free: 2.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004126/0.008404, allocations: 258.3 kB / 346.6 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.008898, allocations: 370.6 kB / 347 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.009213, allocations: 0.5287 MB / 347.5 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.009348, allocations: 76.31 kB / 347.6 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.009566, allocations: 275.3 kB / 347.9 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.009751, allocations: 167.5 kB / 348 MB, free: 1.184 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.009782, allocations: 35.94 kB / 348.1 MB, free: 1.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.009998, allocations: 239.7 kB / 348.3 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.01006, allocations: 99.59 kB / 348.4 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.968e-05/0.01014, allocations: 135.6 kB / 348.5 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.01053, allocations: 0.4905 MB / 349 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01053, allocations: 4 kB / 349 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01053, allocations: 0 / 349 MB, free: 192 kB / 266.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.01054, allocations: 0 / 349 MB, free: 192 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0007289/0.01127, allocations: 0.7408 MB / 349.8 MB, free: 15.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.01131, allocations: 12.03 kB / 349.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.01149, allocations: 76.59 kB / 349.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.01178, allocations: 288.4 kB / 350.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.0118, allocations: 25.03 kB / 350.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.01184, allocations: 32.12 kB / 350.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.01218, allocations: 285.1 kB / 350.5 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.01219, allocations: 0 / 350.5 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.01221, allocations: 8 kB / 350.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.01222, allocations: 8 kB / 350.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.01243, allocations: 127.8 kB / 350.6 MB, free: 14.51 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.001106/0.01354, allocations: 0.9545 MB / 351.6 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.01382, allocations: 143 kB / 351.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.01392, allocations: 56.47 kB / 351.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.01397, allocations: 15.98 kB / 351.8 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.01399, allocations: 33.39 kB / 351.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.014, allocations: 0 / 351.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.001288/0.01528, allocations: 0.5944 MB / 352.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.01532, allocations: 55.64 kB / 352.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.01562, allocations: 334.3 kB / 352.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.01564, allocations: 30.14 kB / 352.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.01577, allocations: 259.2 kB / 353.1 MB, free: 11.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-05/0.01584, allocations: 99.22 kB / 353.2 MB, free: 11.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.194e-05/0.01592, allocations: 55.64 kB / 353.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.01606, allocations: 0.5272 MB / 353.7 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.01618, allocations: 60.8 kB / 353.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.01632, allocations: 138.2 kB / 353.9 MB, free: 10.97 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.01658, allocations: 184.1 kB / 354.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01659, allocations: 3.984 kB / 354.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003732/0.01696, allocations: 233.1 kB / 354.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.01697, allocations: 11.98 kB / 354.4 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.01698, allocations: 4.219 kB / 354.4 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.01699, allocations: 4 kB / 354.4 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.01724, allocations: 75.89 kB / 354.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.01725, allocations: 11.88 kB / 354.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01735, allocations: 11.95 kB / 354.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.01738, allocations: 19.98 kB / 354.5 MB, free: 10.38 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001785/0.01756, allocations: 174.9 kB / 354.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.01762, allocations: 39.81 kB / 354.7 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.01801, allocations: 237.2 kB / 354.9 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01801, allocations: 4 kB / 354.9 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01802, allocations: 0 / 354.9 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.01802, allocations: 7.922 kB / 354.9 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007767/0.0188, allocations: 0.5954 MB / 355.5 MB, free: 9.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.0188, allocations: 0 / 355.5 MB, free: 9.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.01904, allocations: 87.88 kB / 355.6 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01904, allocations: 0 / 355.6 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.01906, allocations: 8 kB / 355.6 MB, free: 9.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.01906, allocations: 7.938 kB / 355.6 MB, free: 9.176 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01906, allocations: 0 / 355.6 MB, free: 9.176 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.01952, allocations: 396.6 kB / 356 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.723e-05/0.01961, allocations: 59.7 kB / 356.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.01964, allocations: 8 kB / 356.1 MB, free: 8.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.01976, allocations: 15.97 kB / 356.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.01982, allocations: 19.95 kB / 356.1 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.01983, allocations: 8 kB / 356.1 MB, free: 8.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.02001, allocations: 235 kB / 356.4 MB, free: 8.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02001, allocations: 0 / 356.4 MB, free: 8.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.02039, allocations: 119.8 kB / 356.5 MB, free: 8.312 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (30): * Single equations (assignments): 30 * 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.0009164/0.02131, allocations: 416.5 kB / 356.9 MB, free: 8.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.02163, allocations: 150.7 kB / 357 MB, free: 7.871 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02163, allocations: 0 / 357 MB, free: 7.871 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.02176, allocations: 91.52 kB / 357.1 MB, free: 7.777 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.02217, allocations: 90.28 kB / 357.2 MB, free: 7.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.02365, allocations: 0.6986 MB / 357.9 MB, free: 6.965 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.526e-05/0.02373, allocations: 108.6 kB / 358 MB, free: 6.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.02388, allocations: 46.94 kB / 358.1 MB, free: 6.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.02396, allocations: 36.48 kB / 358.1 MB, free: 6.754 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02396, allocations: 4 kB / 358.1 MB, free: 6.75 MB / 282.7 MB Notification: Performance of Templates: time 0.008397/0.03236, allocations: 5.223 MB / 363.3 MB, free: 1.617 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.824880480999127]