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.001472/0.001472, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001828/0.001828, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9746/0.9746, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.03507/0.03507, allocations: 8.713 MB / 269 MB, free: 4.613 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.253e-06/1.253e-06, allocations: 0 / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.64e-05, allocations: 2.312 kB / 340.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.005123/0.00514, allocations: 2.001 MB / 342.9 MB, free: 6.383 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000722/0.005862, allocations: 0.5882 MB / 343.5 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.005934, allocations: 7.938 kB / 343.5 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.005976, allocations: 15.84 kB / 343.5 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.006249, allocations: 75.41 kB / 343.5 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.218e-05/0.006321, allocations: 23.97 kB / 343.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.006487, allocations: 143.1 kB / 343.7 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.006585, allocations: 15.97 kB / 343.7 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.00673, allocations: 71.88 kB / 343.8 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.385e-05/0.006824, allocations: 43.83 kB / 343.8 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.006842, allocations: 8 kB / 343.8 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.706e-05/0.006889, allocations: 23.88 kB / 343.9 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.006905, allocations: 15.91 kB / 343.9 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.006946, allocations: 39.92 kB / 343.9 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.007085, allocations: 75.77 kB / 344 MB, free: 5.242 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.007087, allocations: 0 / 344 MB, free: 5.242 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.007087, allocations: 0 / 344 MB, free: 5.242 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.007091, allocations: 0 / 344 MB, free: 5.242 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.000331/0.007422, allocations: 449.9 kB / 344.4 MB, free: 4.762 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.007455, allocations: 8.031 kB / 344.4 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.007502, allocations: 16.89 kB / 344.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.01066, allocations: 144.4 kB / 344.6 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.01067, allocations: 8.312 kB / 344.6 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.01068, allocations: 8.375 kB / 344.6 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.01081, allocations: 95.92 kB / 344.7 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.01082, allocations: 7.938 kB / 344.7 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.01083, allocations: 4 kB / 344.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.01083, allocations: 3.938 kB / 344.7 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.582e-05/0.0109, allocations: 57.67 kB / 344.8 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.0113, allocations: 367.4 kB / 345.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.521e-05/0.01135, allocations: 60.75 kB / 345.2 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.01138, allocations: 49.5 kB / 345.3 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.01139, allocations: 0 / 345.3 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.01141, allocations: 37.33 kB / 345.3 MB, free: 3.793 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.01141, allocations: 4 kB / 345.3 MB, free: 3.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001812/0.01159, allocations: 142.8 kB / 345.4 MB, free: 3.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.01161, allocations: 89.09 kB / 345.5 MB, free: 3.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.01169, allocations: 200.6 kB / 345.7 MB, free: 3.309 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.631e-06/0.0117, allocations: 25.7 kB / 345.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.01174, allocations: 158.7 kB / 345.9 MB, free: 3.117 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.031e-05/0.01175, allocations: 15.91 kB / 345.9 MB, free: 3.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.01178, allocations: 27.36 kB / 345.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.714e-05/0.01182, allocations: 0.4923 MB / 346.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.01184, allocations: 29.7 kB / 346.5 MB, free: 2.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.494e-05/0.01187, allocations: 41.62 kB / 346.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.518e-05/0.01193, allocations: 95.31 kB / 346.6 MB, free: 2.371 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01193, allocations: 0 / 346.6 MB, free: 2.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.634e-05/0.01202, allocations: 133 kB / 346.7 MB, free: 2.223 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.01204, allocations: 29.7 kB / 346.8 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.01204, allocations: 4 kB / 346.8 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.01206, allocations: 0 / 346.8 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.01213, allocations: 11.98 kB / 346.8 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.01214, allocations: 8.109 kB / 346.8 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.775e-05/0.01218, allocations: 11.89 kB / 346.8 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.01218, allocations: 0 / 346.8 MB, free: 2.152 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.726e-05/0.01223, allocations: 190.3 kB / 347 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.01226, allocations: 7.953 kB / 347 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.01237, allocations: 133.5 kB / 347.1 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01237, allocations: 0 / 347.1 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.01237, allocations: 0 / 347.1 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01237, allocations: 3.938 kB / 347.1 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.01258, allocations: 392.5 kB / 347.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01258, allocations: 4 kB / 347.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.01261, allocations: 7.938 kB / 347.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.01261, allocations: 0 / 347.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.01262, allocations: 12.03 kB / 347.5 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01262, allocations: 3.938 kB / 347.5 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01262, allocations: 3.938 kB / 347.5 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.855e-05/0.01271, allocations: 275 kB / 347.8 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.01274, allocations: 19.88 kB / 347.8 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.01276, allocations: 4 kB / 347.8 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.878e-05/0.01282, allocations: 4.125 kB / 347.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.01283, allocations: 8 kB / 347.8 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.01284, allocations: 4 kB / 347.8 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.106e-05/0.01288, allocations: 150.1 kB / 348 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01288, allocations: 0 / 348 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002319/0.01311, allocations: 32 kB / 348 MB, free: 0.7969 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 8.848e-05/0.0132, allocations: 111.1 kB / 348.1 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.01332, allocations: 150.5 kB / 348.3 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01332, allocations: 4 kB / 348.3 MB, free: 0.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.009e-05/0.01335, allocations: 100.7 kB / 348.4 MB, free: 388 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/0.01662, allocations: 23.92 kB / 348.4 MB, free: 364 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.01726, allocations: 275.4 kB / 348.7 MB, free: 48 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.437e-05/0.01731, allocations: 63.41 kB / 348.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.497e-05/0.01736, allocations: 12.5 kB / 348.7 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.01739, allocations: 16.48 kB / 348.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01739, allocations: 0 / 348.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of Templates: time 0.006224/0.02361, allocations: 1.397 MB / 350.2 MB, free: 14.58 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.867718643974513]