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.001233/0.001233, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001395/0.001395, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.93/0.93, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.03564/0.03564, allocations: 8.715 MB / 269.8 MB, free: 4.375 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.864e-06/1.864e-06, allocations: 0 / 342.1 MB, free: 7.777 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.722e-05, allocations: 10.25 kB / 342.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002088/0.002116, allocations: 1.987 MB / 344.1 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.002842, allocations: 0.5921 MB / 344.7 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.002923, allocations: 4 kB / 344.7 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.191e-05/0.002965, allocations: 11.86 kB / 344.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.003232, allocations: 79.41 kB / 344.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.508e-05/0.003307, allocations: 19.97 kB / 344.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.003461, allocations: 147 kB / 344.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.003553, allocations: 16 kB / 344.9 MB, free: 4.891 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.003705, allocations: 75.86 kB / 345 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.591e-05/0.003791, allocations: 39.84 kB / 345.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.003806, allocations: 8 kB / 345.1 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.714e-05/0.003853, allocations: 19.94 kB / 345.1 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.003869, allocations: 19.91 kB / 345.1 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.003901, allocations: 39.92 kB / 345.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.004027, allocations: 67.77 kB / 345.2 MB, free: 4.625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.00403, allocations: 0 / 345.2 MB, free: 4.625 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.004031, allocations: 0 / 345.2 MB, free: 4.625 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.004035, allocations: 4 kB / 345.2 MB, free: 4.621 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.0002913/0.004327, allocations: 453.8 kB / 345.7 MB, free: 4.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.00436, allocations: 11.97 kB / 345.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.004397, allocations: 20.89 kB / 345.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.004517, allocations: 143.2 kB / 345.8 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.004526, allocations: 8.375 kB / 345.8 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.004534, allocations: 4.375 kB / 345.8 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.848e-05/0.004623, allocations: 95.91 kB / 345.9 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.00463, allocations: 3.938 kB / 345.9 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.004638, allocations: 7.938 kB / 345.9 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004644, allocations: 4 kB / 345.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.505e-05/0.004679, allocations: 53.61 kB / 346 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.004987, allocations: 336 kB / 346.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.015e-05/0.005037, allocations: 72.75 kB / 346.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.005054, allocations: 37.39 kB / 346.4 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.005064, allocations: 0 / 346.4 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.005077, allocations: 33.39 kB / 346.5 MB, free: 3.215 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.005078, allocations: 0 / 346.5 MB, free: 3.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001416/0.005219, allocations: 150.8 kB / 346.6 MB, free: 3.043 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.005239, allocations: 77.11 kB / 346.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.233e-05/0.005302, allocations: 200.9 kB / 346.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-06/0.005307, allocations: 25.7 kB / 346.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.005348, allocations: 158.6 kB / 347.1 MB, free: 2.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/0.005356, allocations: 19.89 kB / 347.1 MB, free: 2.527 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.005385, allocations: 31.34 kB / 347.1 MB, free: 2.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.005422, allocations: 0.4922 MB / 347.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.00544, allocations: 33.69 kB / 347.6 MB, free: 1.945 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.005457, allocations: 41.94 kB / 347.7 MB, free: 1.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/0.005496, allocations: 75.25 kB / 347.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005498, allocations: 4 kB / 347.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.097e-05/0.005579, allocations: 129 kB / 347.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.005601, allocations: 29.7 kB / 347.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.005605, allocations: 0 / 347.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.005614, allocations: 4 kB / 347.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.283e-05/0.005687, allocations: 19.98 kB / 347.9 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.005689, allocations: 0 / 347.9 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.005721, allocations: 15.83 kB / 348 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.005727, allocations: 0 / 348 MB, free: 1.586 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 5.126e-05/0.005778, allocations: 194.2 kB / 348.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.005798, allocations: 7.953 kB / 348.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.005904, allocations: 121.5 kB / 348.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.005906, allocations: 0 / 348.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.005908, allocations: 0 / 348.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.005912, allocations: 4 kB / 348.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.006088, allocations: 377 kB / 348.6 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006089, allocations: 3.938 kB / 348.6 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.006121, allocations: 11.98 kB / 348.7 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.006124, allocations: 0 / 348.7 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.006129, allocations: 0 / 348.7 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.00613, allocations: 0 / 348.7 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.006132, allocations: 4 kB / 348.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.584e-05/0.006218, allocations: 274.9 kB / 348.9 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.006247, allocations: 19.88 kB / 348.9 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.006265, allocations: 4.188 kB / 349 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.22e-05/0.006307, allocations: 8.031 kB / 349 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.006326, allocations: 11.92 kB / 349 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.006332, allocations: 4 kB / 349 MB, free: 452 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.408e-05/0.006366, allocations: 143.2 kB / 349.1 MB, free: 308 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006366, allocations: 0 / 349.1 MB, free: 308 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.006541, allocations: 27.98 kB / 349.1 MB, free: 280 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 9.808e-05/0.006639, allocations: 103.2 kB / 349.2 MB, free: 168 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.006773, allocations: 150.4 kB / 349.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.006776, allocations: 0 / 349.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.006819, allocations: 100.8 kB / 349.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.007031, allocations: 19.98 kB / 349.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.007623, allocations: 279.3 kB / 349.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.007665, allocations: 63.34 kB / 349.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.751e-05/0.007713, allocations: 16.69 kB / 349.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.007798, allocations: 94.19 kB / 350 MB, free: 15.34 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.007799, allocations: 0 / 350 MB, free: 15.34 MB / 282.7 MB Notification: Performance of Templates: time 0.00325/0.01105, allocations: 1.555 MB / 351.5 MB, free: 13.84 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.6858191192150116]