Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.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.000995/0.000995, allocations: 88.22 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.0009853/0.0009853, allocations: 169 kB / 23.02 MB, free: 1.547 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.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.03464/0.03464, allocations: 8.712 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.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 340.8 MB, free: 8.078 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.547e-05/3.74e-05, allocations: 6.25 kB / 340.9 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.003467/0.003505, allocations: 1.999 MB / 342.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.00458, allocations: 0.5921 MB / 343.4 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.556e-05/0.004675, allocations: 3.938 kB / 343.4 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.993e-05/0.004735, allocations: 7.922 kB / 343.5 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.005121, allocations: 87.33 kB / 343.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.005235, allocations: 23.97 kB / 343.6 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.005466, allocations: 139.1 kB / 343.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.005605, allocations: 15.98 kB / 343.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.005831, allocations: 75.81 kB / 343.8 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.005948, allocations: 39.89 kB / 343.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.00597, allocations: 4 kB / 343.8 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/0.006041, allocations: 23.92 kB / 343.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.006062, allocations: 19.88 kB / 343.9 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.006116, allocations: 43.86 kB / 343.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.006323, allocations: 75.73 kB / 344 MB, free: 4.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.006327, allocations: 0 / 344 MB, free: 4.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006328, allocations: 0 / 344 MB, free: 4.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.006334, allocations: 0 / 344 MB, free: 4.906 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004885/0.006822, allocations: 449.9 kB / 344.4 MB, free: 4.426 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.006874, allocations: 16.02 kB / 344.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.006932, allocations: 12.89 kB / 344.5 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.007128, allocations: 143.5 kB / 344.6 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.007143, allocations: 8.375 kB / 344.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.007161, allocations: 12.31 kB / 344.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.00732, allocations: 91.92 kB / 344.7 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.007333, allocations: 3.938 kB / 344.7 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.007353, allocations: 11.98 kB / 344.7 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.007363, allocations: 0 / 344.7 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.565e-05/0.007449, allocations: 55.41 kB / 344.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.008017, allocations: 367.4 kB / 345.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.736e-05/0.008105, allocations: 64.75 kB / 345.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.00814, allocations: 37.39 kB / 345.2 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.00816, allocations: 8 kB / 345.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.008185, allocations: 37.45 kB / 345.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.774e-06/0.008187, allocations: 0 / 345.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002428/0.008429, allocations: 150.7 kB / 345.4 MB, free: 3.289 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.008456, allocations: 77.11 kB / 345.5 MB, free: 3.195 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.008568, allocations: 204.7 kB / 345.7 MB, free: 2.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.008579, allocations: 29.7 kB / 345.7 MB, free: 2.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.008638, allocations: 154.7 kB / 345.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.008653, allocations: 19.83 kB / 345.9 MB, free: 2.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.008697, allocations: 31.36 kB / 345.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.008758, allocations: 496.1 kB / 346.4 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.008798, allocations: 41.69 kB / 346.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/0.008833, allocations: 41.69 kB / 346.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.138e-05/0.008915, allocations: 87.19 kB / 346.6 MB, free: 2.039 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.008917, allocations: 256 / 346.6 MB, free: 2.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001454/0.009063, allocations: 129 kB / 346.7 MB, free: 1.895 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.009095, allocations: 29.7 kB / 346.7 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.009101, allocations: 4 kB / 346.7 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.00912, allocations: 0 / 346.7 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.009243, allocations: 15.98 kB / 346.8 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.009251, allocations: 3.938 kB / 346.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.009301, allocations: 11.89 kB / 346.8 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.009312, allocations: 7.938 kB / 346.8 MB, free: 1.816 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 6.901e-05/0.009381, allocations: 190.3 kB / 347 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.009416, allocations: 7.953 kB / 347 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.009602, allocations: 129.5 kB / 347.1 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.009606, allocations: 4 kB / 347.1 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.009609, allocations: 0 / 347.1 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.009614, allocations: 3.938 kB / 347.1 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.00993, allocations: 392.4 kB / 347.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.009932, allocations: 0 / 347.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.009986, allocations: 20.02 kB / 347.5 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.00999, allocations: 0 / 347.5 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.009999, allocations: 0 / 347.5 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01, allocations: 7.938 kB / 347.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01, allocations: 0 / 347.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.01015, allocations: 274.9 kB / 347.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.0102, allocations: 19.88 kB / 347.8 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.01022, allocations: 0 / 347.8 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.01031, allocations: 11.94 kB / 347.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.01034, allocations: 4.172 kB / 347.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.01034, allocations: 8 kB / 347.8 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.907e-05/0.0104, allocations: 149.9 kB / 348 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0104, allocations: 0 / 348 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003283/0.01073, allocations: 35.92 kB / 348 MB, free: 468 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001713/0.0109, allocations: 107.1 kB / 348.1 MB, free: 352 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.01107, allocations: 146.5 kB / 348.3 MB, free: 176 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01108, allocations: 0 / 348.3 MB, free: 176 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.01113, allocations: 108.7 kB / 348.4 MB, free: 44 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.01151, allocations: 20.05 kB / 348.4 MB, free: 24 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.01254, allocations: 275.3 kB / 348.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.532e-05/0.0126, allocations: 67.34 kB / 348.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.462e-05/0.01266, allocations: 12.7 kB / 348.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.0127, allocations: 12.5 kB / 348.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0127, allocations: 4 kB / 348.8 MB, free: 15.6 MB / 282.7 MB Notification: Performance of Templates: time 0.005101/0.0178, allocations: 1.395 MB / 350.1 MB, free: 14.24 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1573081370443106]