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.00096/0.00096, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.0009622/0.0009622, allocations: 173.7 kB / 23.27 MB, free: 1.227 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.8859/0.8859, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.04596/0.04596, allocations: 8.716 MB / 269 MB, free: 4.402 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.844e-06/1.844e-06, allocations: 0 / 341.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.498e-05, allocations: 5.266 kB / 341.3 MB, free: 7.801 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.00187/0.001884, allocations: 1.994 MB / 343.3 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006868/0.002571, allocations: 0.5843 MB / 343.9 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.002651, allocations: 0 / 343.9 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.449e-05/0.002695, allocations: 19.84 kB / 343.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.002979, allocations: 79.41 kB / 344 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.415e-05/0.003053, allocations: 15.97 kB / 344 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.003206, allocations: 143.1 kB / 344.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.003297, allocations: 23.92 kB / 344.2 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.003438, allocations: 75.81 kB / 344.2 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.003531, allocations: 43.83 kB / 344.3 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.003547, allocations: 8 kB / 344.3 MB, free: 4.801 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.665e-05/0.003593, allocations: 15.94 kB / 344.3 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.003608, allocations: 19.91 kB / 344.3 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.003635, allocations: 35.92 kB / 344.3 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003739, allocations: 67.77 kB / 344.4 MB, free: 4.664 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003741, allocations: 8 kB / 344.4 MB, free: 4.656 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003742, allocations: 4 kB / 344.4 MB, free: 4.652 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.975e-06/0.003745, allocations: 0 / 344.4 MB, free: 4.652 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.0002502/0.003995, allocations: 453.8 kB / 344.9 MB, free: 4.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.004024, allocations: 8.031 kB / 344.9 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.004053, allocations: 12.89 kB / 344.9 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.376e-05/0.004147, allocations: 152.4 kB / 345 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.004163, allocations: 8.375 kB / 345 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.004172, allocations: 4.375 kB / 345.1 MB, free: 3.961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.874e-05/0.00425, allocations: 94.42 kB / 345.1 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.004256, allocations: 3.938 kB / 345.1 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.004263, allocations: 4 kB / 345.2 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.004268, allocations: 4 kB / 345.2 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.396e-05/0.004302, allocations: 57.61 kB / 345.2 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.004583, allocations: 336 kB / 345.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.17e-05/0.004624, allocations: 72.67 kB / 345.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.004639, allocations: 37.39 kB / 345.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.004648, allocations: 0 / 345.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.00466, allocations: 37.39 kB / 345.7 MB, free: 3.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.004661, allocations: 0 / 345.7 MB, free: 3.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001125/0.004774, allocations: 150.8 kB / 345.8 MB, free: 3.074 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.5e-05/0.004789, allocations: 81.11 kB / 345.9 MB, free: 2.977 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.354e-05/0.004842, allocations: 197.9 kB / 346.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.004848, allocations: 25.7 kB / 346.1 MB, free: 2.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.004878, allocations: 158.7 kB / 346.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.004885, allocations: 15.89 kB / 346.3 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.00491, allocations: 31.36 kB / 346.3 MB, free: 2.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.767e-05/0.004948, allocations: 0.4883 MB / 346.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.004963, allocations: 37.69 kB / 346.9 MB, free: 1.977 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/0.004978, allocations: 33.69 kB / 346.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/0.005014, allocations: 83.23 kB / 347 MB, free: 1.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.005016, allocations: 8 kB / 347 MB, free: 1.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.279e-05/0.005079, allocations: 125 kB / 347.1 MB, free: 1.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.005101, allocations: 36.98 kB / 347.1 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.005105, allocations: 0 / 347.1 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.005113, allocations: 0 / 347.1 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.005171, allocations: 11.98 kB / 347.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.005173, allocations: 0 / 347.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.611e-05/0.005199, allocations: 19.83 kB / 347.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.005203, allocations: 0 / 347.2 MB, free: 1.621 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 4.002e-05/0.005243, allocations: 186.3 kB / 347.3 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.005259, allocations: 11.95 kB / 347.4 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.973e-05/0.005339, allocations: 129.5 kB / 347.5 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.005341, allocations: 4 kB / 347.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.005342, allocations: 0 / 347.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.005345, allocations: 0 / 347.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.005491, allocations: 373.3 kB / 347.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.005493, allocations: 3.984 kB / 347.9 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.005513, allocations: 8 kB / 347.9 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.005514, allocations: 0 / 347.9 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.005519, allocations: 3.938 kB / 347.9 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.00552, allocations: 4 kB / 347.9 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.005521, allocations: 4.031 kB / 347.9 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.309e-05/0.005584, allocations: 274.9 kB / 348.1 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.005604, allocations: 23.88 kB / 348.2 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.005615, allocations: 0 / 348.2 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.408e-05/0.005649, allocations: 3.938 kB / 348.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.005662, allocations: 11.92 kB / 348.2 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.005665, allocations: 0 / 348.2 MB, free: 492 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.663e-05/0.005691, allocations: 153.9 kB / 348.3 MB, free: 340 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005691, allocations: 0 / 348.3 MB, free: 340 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.005837, allocations: 24 kB / 348.4 MB, free: 316 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 6.963e-05/0.005906, allocations: 107.2 kB / 348.5 MB, free: 200 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.79e-05/0.005984, allocations: 146.4 kB / 348.6 MB, free: 24 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.005985, allocations: 0 / 348.6 MB, free: 24 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.588e-05/0.006041, allocations: 100.8 kB / 348.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.006216, allocations: 20.23 kB / 348.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.006717, allocations: 279.4 kB / 349 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.048e-05/0.006758, allocations: 67.28 kB / 349.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.886e-05/0.006797, allocations: 20.7 kB / 349.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.006866, allocations: 94.19 kB / 349.2 MB, free: 15.37 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.006866, allocations: 0 / 349.2 MB, free: 15.37 MB / 282.7 MB Notification: Performance of Templates: time 0.002546/0.009412, allocations: 1.523 MB / 350.7 MB, free: 13.89 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: 2.4994995277374983]