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.0006634/0.0006634, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008903/0.001554, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007124/0.0007124, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008457/0.001558, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9204/0.9204, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08709/1.007, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.03339/0.03339, allocations: 8.739 MB / 252.7 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004632/0.03802, allocations: 2.998 MB / 255.7 MB, free: 3.391 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-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.182e-06/1.182e-06, allocations: 0 / 257 MB, free: 2.113 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.184e-05, allocations: 2.312 kB / 257 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.00189/0.001902, allocations: 2.043 MB / 259 MB, free: 52 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006231/0.002525, allocations: 0.6116 MB / 259.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.002584, allocations: 0 / 259.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.002616, allocations: 11.86 kB / 259.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.002763, allocations: 75.45 kB / 259.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.416e-05/0.002827, allocations: 19.97 kB / 259.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.002978, allocations: 147.1 kB / 259.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.742e-05/0.003055, allocations: 27.86 kB / 259.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.003188, allocations: 87.8 kB / 260 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.468e-05/0.003272, allocations: 43.89 kB / 260 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.003287, allocations: 8 kB / 260 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.003343, allocations: 12 kB / 260.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.003359, allocations: 11.94 kB / 260.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.003391, allocations: 35.94 kB / 260.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.003517, allocations: 75.69 kB / 260.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.003528, allocations: 0 / 260.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003529, allocations: 0 / 260.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.003541, allocations: 4 kB / 260.2 MB, free: 14.89 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.0003537/0.003894, allocations: 337.9 kB / 260.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.62e-05/0.003921, allocations: 19.95 kB / 260.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.003952, allocations: 12.94 kB / 260.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.004076, allocations: 141.5 kB / 260.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.004084, allocations: 4.375 kB / 260.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.004096, allocations: 12.38 kB / 260.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.347e-05/0.004189, allocations: 87.91 kB / 260.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.004196, allocations: 3.938 kB / 260.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.004205, allocations: 8 kB / 260.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.004209, allocations: 3.938 kB / 260.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.006e-05/0.004249, allocations: 49.59 kB / 260.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.004548, allocations: 228 kB / 261.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.282e-05/0.004601, allocations: 60.25 kB / 261.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.887e-05/0.00462, allocations: 34.56 kB / 261.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.004631, allocations: 4 kB / 261.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.004651, allocations: 38.67 kB / 261.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.004652, allocations: 0 / 261.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001223/0.004774, allocations: 134.7 kB / 261.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.004797, allocations: 51.41 kB / 261.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.949e-05/0.004867, allocations: 145.7 kB / 261.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.004874, allocations: 29.7 kB / 261.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.004912, allocations: 111.8 kB / 261.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.004925, allocations: 19.89 kB / 261.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.004951, allocations: 21.7 kB / 261.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.532e-05/0.005017, allocations: 322.8 kB / 262 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.005035, allocations: 33.69 kB / 262.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.005054, allocations: 37.69 kB / 262.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.005099, allocations: 80.23 kB / 262.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.0051, allocations: 0 / 262.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.352e-05/0.005164, allocations: 109 kB / 262.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.00519, allocations: 33.69 kB / 262.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.005194, allocations: 4 kB / 262.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.005202, allocations: 4 kB / 262.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.759e-05/0.005269, allocations: 11.98 kB / 262.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-06/0.005272, allocations: 4 kB / 262.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.005297, allocations: 7.891 kB / 262.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.005304, allocations: 7.938 kB / 262.3 MB, free: 12.47 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.267e-05/0.005357, allocations: 139.5 kB / 262.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.005374, allocations: 7.984 kB / 262.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.675e-05/0.00547, allocations: 125.7 kB / 262.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.005472, allocations: 0 / 262.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.005473, allocations: 4 kB / 262.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.005475, allocations: 0 / 262.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.005648, allocations: 290.9 kB / 262.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.005649, allocations: 0 / 262.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.005675, allocations: 8 kB / 262.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.005696, allocations: 15.92 kB / 262.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.005698, allocations: 4 kB / 262.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.005707, allocations: 0 / 262.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.005708, allocations: 0 / 262.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.005711, allocations: 4.312 kB / 262.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.952e-05/0.0058, allocations: 223.8 kB / 263.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.005812, allocations: 3.984 kB / 263.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.483e-05/0.005847, allocations: 4 kB / 263.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.00587, allocations: 3.938 kB / 263.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.005873, allocations: 4 kB / 263.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.37e-05/0.005897, allocations: 36.81 kB / 263.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005897, allocations: 0 / 263.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001253/0.006022, allocations: 27.94 kB / 263.2 MB, free: 11.48 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 7.835e-05/0.006101, allocations: 84.34 kB / 263.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.265e-05/0.006193, allocations: 143.6 kB / 263.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.006197, allocations: 4 kB / 263.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/0.006229, allocations: 102 kB / 263.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.006401, allocations: 31.88 kB / 263.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.008753, allocations: 286.9 kB / 263.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.098e-05/0.008784, allocations: 63.34 kB / 263.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.008819, allocations: 4.5 kB / 263.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.008882, allocations: 79.34 kB / 264 MB, free: 10.58 MB / 266.7 MB Notification: Performance of SimCode: time 4.7e-07/0.008882, allocations: 4 kB / 264 MB, free: 10.58 MB / 266.7 MB Notification: Performance of Templates: time 0.00273/0.01161, allocations: 1.581 MB / 265.6 MB, free: 9.039 MB / 266.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.360536058433354]