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.001805/0.001805, allocations: 85.48 kB / 19.44 MB, free: 336 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.002016/0.002016, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.06141/0.06141, allocations: 8.699 MB / 268.3 MB, free: 4.578 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 2.164e-06/2.164e-06, allocations: 0 / 340.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.165e-05, allocations: 2.312 kB / 340.1 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.003907/0.003938, allocations: 1.974 MB / 342.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.005387, allocations: 0.588 MB / 342.7 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.653e-05/0.005483, allocations: 0 / 342.7 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.788e-05/0.005541, allocations: 19.84 kB / 342.7 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.005997, allocations: 79.41 kB / 342.8 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.006125, allocations: 19.97 kB / 342.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.006385, allocations: 143.1 kB / 342.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.006507, allocations: 15.98 kB / 342.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.006769, allocations: 79.8 kB / 343 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.006916, allocations: 35.91 kB / 343.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.006943, allocations: 8 kB / 343.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-05/0.00703, allocations: 16 kB / 343.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.007055, allocations: 15.91 kB / 343.1 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.933e-05/0.007125, allocations: 39.88 kB / 343.1 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.007365, allocations: 107.6 kB / 343.2 MB, free: 5.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.007369, allocations: 0 / 343.2 MB, free: 5.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00737, allocations: 3.938 kB / 343.2 MB, free: 5.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.007376, allocations: 0 / 343.2 MB, free: 5.277 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.0005603/0.007936, allocations: 453.5 kB / 343.7 MB, free: 4.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.007976, allocations: 12.03 kB / 343.7 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.319e-05/0.00806, allocations: 12.89 kB / 343.7 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.008292, allocations: 148.4 kB / 343.9 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.008312, allocations: 8.375 kB / 343.9 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.008332, allocations: 4.375 kB / 343.9 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.008567, allocations: 115.9 kB / 344 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.008583, allocations: 7.875 kB / 344 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.008601, allocations: 4 kB / 344 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.008607, allocations: 0 / 344 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.00878, allocations: 77.67 kB / 344.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008026/0.009583, allocations: 371.5 kB / 344.4 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.009716, allocations: 68.75 kB / 344.5 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.445e-05/0.00978, allocations: 53.5 kB / 344.6 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.009805, allocations: 0 / 344.6 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.009827, allocations: 37.39 kB / 344.6 MB, free: 3.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.009828, allocations: 4 kB / 344.6 MB, free: 3.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003601/0.01019, allocations: 158.7 kB / 344.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.01022, allocations: 77.11 kB / 344.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.01039, allocations: 220.6 kB / 345 MB, free: 3.266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.0104, allocations: 29.7 kB / 345.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.01046, allocations: 166.6 kB / 345.2 MB, free: 3.062 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.01048, allocations: 11.91 kB / 345.2 MB, free: 3.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.01055, allocations: 35.36 kB / 345.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.01062, allocations: 0.4923 MB / 345.8 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.701e-05/0.01069, allocations: 37.7 kB / 345.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.297e-05/0.01075, allocations: 45.69 kB / 345.9 MB, free: 2.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.01089, allocations: 103.2 kB / 346 MB, free: 2.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01089, allocations: 256 / 346 MB, free: 2.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002321/0.01112, allocations: 145 kB / 346.1 MB, free: 2.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.01115, allocations: 33.69 kB / 346.1 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.01117, allocations: 4 kB / 346.1 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.01119, allocations: 3.984 kB / 346.1 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.01135, allocations: 12 kB / 346.1 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.01135, allocations: 3.938 kB / 346.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.01145, allocations: 7.891 kB / 346.2 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.01147, allocations: 11.98 kB / 346.2 MB, free: 2.051 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 9.063e-05/0.01156, allocations: 190.3 kB / 346.4 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.01162, allocations: 11.89 kB / 346.4 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.01185, allocations: 137.5 kB / 346.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01186, allocations: 0 / 346.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01186, allocations: 0 / 346.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01187, allocations: 3.938 kB / 346.5 MB, free: 1.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.01232, allocations: 424.4 kB / 346.9 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01232, allocations: 0 / 346.9 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.998e-05/0.0124, allocations: 8 kB / 346.9 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01241, allocations: 0 / 346.9 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01242, allocations: 8.031 kB / 346.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.01243, allocations: 3.938 kB / 346.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.01243, allocations: 0 / 346.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.01267, allocations: 286.9 kB / 347.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.01273, allocations: 19.94 kB / 347.2 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.01276, allocations: 3.984 kB / 347.2 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.01291, allocations: 3.938 kB / 347.2 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.01295, allocations: 8.188 kB / 347.3 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.01296, allocations: 4 kB / 347.3 MB, free: 0.832 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.01307, allocations: 161.9 kB / 347.4 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.01307, allocations: 7.938 kB / 347.4 MB, free: 0.668 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004674/0.01353, allocations: 31.94 kB / 347.5 MB, free: 0.6367 MB / 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.0001754/0.01371, allocations: 103.2 kB / 347.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.01397, allocations: 162.4 kB / 347.7 MB, free: 348 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.01397, allocations: 0 / 347.7 MB, free: 348 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/0.01406, allocations: 108.8 kB / 347.8 MB, free: 216 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.01455, allocations: 19.94 kB / 347.8 MB, free: 196 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.01525, allocations: 269.3 kB / 348.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.01539, allocations: 80.28 kB / 348.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.0155, allocations: 20.7 kB / 348.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.01555, allocations: 12.5 kB / 348.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01556, allocations: 0 / 348.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of Templates: time 0.008301/0.02386, allocations: 1.397 MB / 349.6 MB, free: 14.4 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: 4.531085564987734]