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.00095/0.00095, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.000978/0.000978, allocations: 177 kB / 23.35 MB, free: 1.137 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.025/1.025, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.03851/0.03851, allocations: 8.727 MB / 269 MB, free: 4.418 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.322e-06/1.322e-06, allocations: 0 / 288.1 MB, free: 1.309 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.253e-05, allocations: 5.828 kB / 288.1 MB, free: 1.305 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.1045/0.1045, allocations: 2.027 MB / 290.1 MB, free: 19.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008784/0.1054, allocations: 0.5966 MB / 290.7 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.1055, allocations: 1.062 kB / 290.7 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.693e-05/0.1055, allocations: 13.66 kB / 290.7 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.1058, allocations: 75.47 kB / 290.8 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.096e-05/0.1059, allocations: 24.28 kB / 290.8 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.106, allocations: 138.1 kB / 291 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.482e-05/0.1061, allocations: 26.45 kB / 291 MB, free: 18.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.1063, allocations: 73.47 kB / 291.1 MB, free: 18.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.569e-05/0.1064, allocations: 39.12 kB / 291.1 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1064, allocations: 8.562 kB / 291.1 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.126e-05/0.1065, allocations: 18 kB / 291.1 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.1065, allocations: 20.92 kB / 291.1 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.1065, allocations: 37.56 kB / 291.2 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1067, allocations: 82.27 kB / 291.3 MB, free: 18.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.1067, allocations: 0 / 291.3 MB, free: 18.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1067, allocations: 0.6562 kB / 291.3 MB, free: 18.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1067, allocations: 0 / 291.3 MB, free: 18.67 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.0002748/0.107, allocations: 327.8 kB / 291.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.107, allocations: 10.22 kB / 291.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.107, allocations: 11.59 kB / 291.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1072, allocations: 130.8 kB / 291.7 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1072, allocations: 4.156 kB / 291.7 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1072, allocations: 13.53 kB / 291.7 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.814e-05/0.1073, allocations: 93.72 kB / 291.8 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1073, allocations: 3.938 kB / 291.8 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.1073, allocations: 1.281 kB / 291.8 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1073, allocations: 5.219 kB / 291.8 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.1074, allocations: 51.7 kB / 291.9 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.1077, allocations: 240 kB / 292.1 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.472e-05/0.1077, allocations: 56.17 kB / 292.2 MB, free: 17.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.1077, allocations: 35.77 kB / 292.2 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.1077, allocations: 1.219 kB / 292.2 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.1078, allocations: 37.39 kB / 292.3 MB, free: 17.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1078, allocations: 0 / 292.3 MB, free: 17.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001331/0.1079, allocations: 130.5 kB / 292.4 MB, free: 17.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.1079, allocations: 83.23 kB / 292.5 MB, free: 17.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.108, allocations: 147.6 kB / 292.6 MB, free: 17.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-06/0.108, allocations: 26.8 kB / 292.6 MB, free: 17.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.108, allocations: 101.6 kB / 292.7 MB, free: 17.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.108, allocations: 28.41 kB / 292.8 MB, free: 17.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.1081, allocations: 25.59 kB / 292.8 MB, free: 17.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.369e-05/0.1081, allocations: 323.2 kB / 293.1 MB, free: 17.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.1081, allocations: 32.47 kB / 293.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.1081, allocations: 33.11 kB / 293.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.134e-05/0.1082, allocations: 83.36 kB / 293.2 MB, free: 16.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1082, allocations: 0.5625 kB / 293.2 MB, free: 16.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.575e-05/0.1083, allocations: 111.1 kB / 293.4 MB, free: 16.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.1083, allocations: 36.05 kB / 293.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1083, allocations: 1.188 kB / 293.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1083, allocations: 0.5938 kB / 293.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.1084, allocations: 16.22 kB / 293.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.1084, allocations: 1.781 kB / 293.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.773e-05/0.1084, allocations: 6.594 kB / 293.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1085, allocations: 7.484 kB / 293.4 MB, free: 16.74 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.896e-05/0.1085, allocations: 143 kB / 293.6 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.1085, allocations: 5.812 kB / 293.6 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.1086, allocations: 127.3 kB / 293.7 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1086, allocations: 1.094 kB / 293.7 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1086, allocations: 1.734 kB / 293.7 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1086, allocations: 1.719 kB / 293.7 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.1089, allocations: 279.3 kB / 294 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1089, allocations: 1.625 kB / 294 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.1089, allocations: 12.12 kB / 294 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1089, allocations: 1.922 kB / 294 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.1089, allocations: 1.094 kB / 294 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1089, allocations: 1.266 kB / 294 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1089, allocations: 1.875 kB / 294 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.974e-05/0.109, allocations: 213.3 kB / 294.2 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.109, allocations: 11.53 kB / 294.2 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.109, allocations: 8.031 kB / 294.2 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.816e-05/0.1091, allocations: 1.156 kB / 294.2 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.1091, allocations: 8.125 kB / 294.2 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1091, allocations: 6.875 kB / 294.2 MB, free: 16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.1091, allocations: 37.5 kB / 294.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1091, allocations: 0 / 294.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.1094, allocations: 31.44 kB / 294.3 MB, free: 15.98 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.922e-05/0.1094, allocations: 80.83 kB / 294.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.449e-05/0.1095, allocations: 145.9 kB / 294.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1095, allocations: 1.094 kB / 294.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.898e-05/0.1096, allocations: 102.2 kB / 294.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.1098, allocations: 28.38 kB / 294.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.1103, allocations: 285.3 kB / 294.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.976e-05/0.1104, allocations: 62.45 kB / 295 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.721e-05/0.1104, allocations: 11.36 kB / 295 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.1105, allocations: 70.92 kB / 295.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1105, allocations: 0 / 295.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Templates: time 0.003599/0.1141, allocations: 1.527 MB / 296.6 MB, free: 15.2 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5959420050494373]