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.000978/0.000978, 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.001566/0.001566, allocations: 169 kB / 23.02 MB, free: 1.551 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.9794/0.9794, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.04352/0.04352, allocations: 8.714 MB / 268.7 MB, free: 4.527 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 2.064e-06/2.064e-06, allocations: 0 / 340.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.391e-05, allocations: 6.141 kB / 340.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004716/0.00475, allocations: 3.293 MB / 344.2 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.007893, allocations: 2.127 MB / 346.3 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.008158, allocations: 11.88 kB / 346.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004547/0.008612, allocations: 103.2 kB / 346.4 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006579/0.00927, allocations: 262.3 kB / 346.6 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008801/0.01015, allocations: 358.6 kB / 347 MB, free: 1.871 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.0107, allocations: 0.5326 MB / 347.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.01089, allocations: 72.31 kB / 347.6 MB, free: 1.266 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.01137, allocations: 275.3 kB / 347.9 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.01172, allocations: 175.5 kB / 348 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.01176, allocations: 35.94 kB / 348.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.01204, allocations: 235.7 kB / 348.3 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.01211, allocations: 95.61 kB / 348.4 MB, free: 476 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.222e-05/0.01221, allocations: 143.6 kB / 348.5 MB, free: 332 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005504/0.01276, allocations: 0.4905 MB / 349 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.01276, allocations: 0 / 349 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01276, allocations: 0 / 349 MB, free: 15.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.01277, allocations: 0 / 349 MB, free: 15.83 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.0008005/0.01357, allocations: 0.7368 MB / 349.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.0136, allocations: 12.02 kB / 349.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.01379, allocations: 80.59 kB / 349.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.01409, allocations: 288.4 kB / 350.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.01412, allocations: 21.03 kB / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.01416, allocations: 32.12 kB / 350.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.01451, allocations: 285.1 kB / 350.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.01452, allocations: 0 / 350.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.01455, allocations: 12 kB / 350.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.01456, allocations: 8 kB / 350.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.01477, allocations: 131.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.001165/0.01594, allocations: 0.9546 MB / 351.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.01619, allocations: 147 kB / 351.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.01627, allocations: 58.08 kB / 351.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.01632, allocations: 11.98 kB / 351.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.01634, allocations: 41.39 kB / 351.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.283e-06/0.01634, allocations: 0 / 351.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.001073/0.01742, allocations: 0.585 MB / 352.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.01744, allocations: 55.64 kB / 352.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.01767, allocations: 338.3 kB / 352.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.01769, allocations: 29.7 kB / 352.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.01782, allocations: 259.2 kB / 353.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.01787, allocations: 91.67 kB / 353.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.01794, allocations: 59.64 kB / 353.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.01806, allocations: 0.5195 MB / 353.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.572e-05/0.01816, allocations: 64.8 kB / 353.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.01827, allocations: 138.1 kB / 353.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.01848, allocations: 188.1 kB / 354.1 MB, free: 10.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01848, allocations: 0 / 354.1 MB, free: 10.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002925/0.01877, allocations: 233.1 kB / 354.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.01879, allocations: 8.609 kB / 354.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.0188, allocations: 4 kB / 354.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.01881, allocations: 0 / 354.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.01902, allocations: 84.11 kB / 354.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.01903, allocations: 11.88 kB / 354.5 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.01911, allocations: 15.95 kB / 354.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.01912, allocations: 11.98 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.0001367/0.01926, allocations: 176.5 kB / 354.7 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.01931, allocations: 35.81 kB / 354.7 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.01964, allocations: 241.2 kB / 354.9 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01964, allocations: 0 / 354.9 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01964, allocations: 4 kB / 354.9 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01965, allocations: 7.922 kB / 354.9 MB, free: 9.555 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006074/0.02025, allocations: 0.5914 MB / 355.5 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02026, allocations: 0 / 355.5 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.02044, allocations: 79.88 kB / 355.6 MB, free: 8.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.02045, allocations: 0 / 355.6 MB, free: 8.844 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.02046, allocations: 12 kB / 355.6 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.02047, allocations: 7.938 kB / 355.6 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02047, allocations: 4 kB / 355.6 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.02085, allocations: 396.6 kB / 356 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.02093, allocations: 59.7 kB / 356.1 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.02096, allocations: 4 kB / 356.1 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.02104, allocations: 11.94 kB / 356.1 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.02109, allocations: 23.95 kB / 356.1 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.0211, allocations: 8 kB / 356.1 MB, free: 8.309 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.02124, allocations: 242.9 kB / 356.4 MB, free: 8.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02124, allocations: 0 / 356.4 MB, free: 8.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003048/0.02155, allocations: 115.8 kB / 356.5 MB, free: 7.957 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.0008588/0.02241, allocations: 416.2 kB / 356.9 MB, free: 7.664 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.02266, allocations: 158.7 kB / 357 MB, free: 7.508 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.02266, allocations: 0 / 357 MB, free: 7.508 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.02276, allocations: 91.52 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.0003261/0.02309, allocations: 85.77 kB / 357.2 MB, free: 7.332 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.02429, allocations: 0.6985 MB / 357.9 MB, free: 6.605 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.085e-05/0.02435, allocations: 104.6 kB / 358 MB, free: 6.484 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.02447, allocations: 50.94 kB / 358.1 MB, free: 6.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.02455, allocations: 36.48 kB / 358.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02455, allocations: 0 / 358.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of Templates: time 0.007192/0.03174, allocations: 5.224 MB / 363.3 MB, free: 1.258 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: 3.0456089628860354]