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.0009398/0.0009398, 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.001126/0.001126, allocations: 169 kB / 23.02 MB, free: 1.543 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.9412/0.9412, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.04384/0.04384, allocations: 8.719 MB / 268.7 MB, free: 4.551 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.894e-06/1.894e-06, allocations: 0 / 340.9 MB, free: 8.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.443e-05, allocations: 2.312 kB / 340.9 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.003024/0.003048, allocations: 3.293 MB / 344.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.005197, allocations: 2.131 MB / 346.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.005387, allocations: 4 kB / 346.3 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.005741, allocations: 107.2 kB / 346.4 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.006209, allocations: 262.3 kB / 346.6 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.006849, allocations: 370.6 kB / 347 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.007254, allocations: 0.5248 MB / 347.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.007408, allocations: 72.31 kB / 347.6 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.007703, allocations: 279.3 kB / 347.9 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.00792, allocations: 171.5 kB / 348 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.007957, allocations: 32 kB / 348.1 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.008252, allocations: 243.7 kB / 348.3 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.008322, allocations: 95.61 kB / 348.4 MB, free: 476 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.773e-05/0.008419, allocations: 139.6 kB / 348.5 MB, free: 336 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005843/0.009004, allocations: 0.4905 MB / 349 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.009008, allocations: 0 / 349 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009009, allocations: 0 / 349 MB, free: 15.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.009019, allocations: 0 / 349 MB, free: 15.84 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001015/0.01003, allocations: 0.7329 MB / 349.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.01007, allocations: 16.03 kB / 349.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.01028, allocations: 80.58 kB / 349.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.0106, allocations: 288.4 kB / 350.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.01063, allocations: 21.03 kB / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.01067, allocations: 36.12 kB / 350.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.01103, allocations: 285.1 kB / 350.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.01104, allocations: 3.984 kB / 350.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.01106, allocations: 8 kB / 350.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.01107, allocations: 12 kB / 350.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.01128, allocations: 123.8 kB / 350.6 MB, free: 14.16 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.001185/0.01247, allocations: 0.9545 MB / 351.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.01271, allocations: 135.7 kB / 351.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/0.01279, allocations: 64.47 kB / 351.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.078e-05/0.01284, allocations: 8 kB / 351.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.01286, allocations: 41.38 kB / 351.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 2.374e-06/0.01286, allocations: 4 kB / 351.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.001045/0.01391, allocations: 0.5943 MB / 352.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.01394, allocations: 55.64 kB / 352.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.01416, allocations: 334.8 kB / 352.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.01418, allocations: 29.7 kB / 352.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.01429, allocations: 263.2 kB / 353.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.01434, allocations: 91.23 kB / 353.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.01442, allocations: 59.58 kB / 353.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.01454, allocations: 0.5195 MB / 353.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.01463, allocations: 60.8 kB / 353.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.01475, allocations: 138.2 kB / 353.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.01494, allocations: 188.1 kB / 354.1 MB, free: 10.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01494, allocations: 0 / 354.1 MB, free: 10.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002852/0.01522, allocations: 237 kB / 354.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.01524, allocations: 8 kB / 354.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.01525, allocations: 0 / 354.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.01526, allocations: 4 kB / 354.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.01546, allocations: 79.88 kB / 354.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.01547, allocations: 7.938 kB / 354.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.01554, allocations: 11.95 kB / 354.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.01556, allocations: 24.2 kB / 354.5 MB, free: 10.03 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.0001361/0.01569, allocations: 172.5 kB / 354.7 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.01574, allocations: 39.81 kB / 354.7 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.01606, allocations: 237.1 kB / 354.9 MB, free: 9.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01606, allocations: 4 kB / 354.9 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01606, allocations: 4 kB / 354.9 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.01607, allocations: 7.922 kB / 354.9 MB, free: 9.555 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.01665, allocations: 0.5915 MB / 355.5 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.01666, allocations: 4 kB / 355.5 MB, free: 8.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.01683, allocations: 75.89 kB / 355.6 MB, free: 8.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01684, allocations: 0 / 355.6 MB, free: 8.844 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.01685, allocations: 11.98 kB / 355.6 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.01686, allocations: 3.938 kB / 355.6 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01686, allocations: 0 / 355.6 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.01725, allocations: 408.6 kB / 356 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.01732, allocations: 51.72 kB / 356.1 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.01735, allocations: 15.98 kB / 356.1 MB, free: 8.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.01743, allocations: 11.94 kB / 356.1 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.01747, allocations: 23.95 kB / 356.1 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.01748, allocations: 4 kB / 356.1 MB, free: 8.305 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.01762, allocations: 235 kB / 356.4 MB, free: 8.074 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01762, allocations: 0 / 356.4 MB, free: 8.074 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003172/0.01794, allocations: 123.7 kB / 356.5 MB, free: 7.953 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.0008269/0.01877, allocations: 419.3 kB / 356.9 MB, free: 7.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.01902, allocations: 155 kB / 357 MB, free: 7.508 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01902, allocations: 4.062 kB / 357 MB, free: 7.504 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.977e-05/0.01912, allocations: 87.58 kB / 357.1 MB, free: 7.414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.01944, allocations: 83.84 kB / 357.2 MB, free: 7.336 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.02071, allocations: 0.6947 MB / 357.9 MB, free: 6.613 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.071e-05/0.02077, allocations: 104.6 kB / 358 MB, free: 6.492 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.0209, allocations: 54.92 kB / 358.1 MB, free: 6.434 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.02097, allocations: 40.48 kB / 358.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02097, allocations: 0 / 358.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of Templates: time 0.008216/0.02918, allocations: 5.766 MB / 363.9 MB, free: 0.7188 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.694068804848939]