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.001243/0.001243, 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.001141/0.001141, allocations: 173 kB / 23.36 MB, free: 1.133 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.881/0.881, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.03451/0.03451, allocations: 8.72 MB / 269 MB, free: 4.426 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.472e-06/1.472e-06, allocations: 0 / 288 MB, free: 1.363 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.717e-05, allocations: 5.688 kB / 288 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.09753/0.09755, allocations: 1.984 MB / 290 MB, free: 19.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.09836, allocations: 0.5974 MB / 290.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.09844, allocations: 2.156 kB / 290.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.179e-05/0.09848, allocations: 14.97 kB / 290.6 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.09877, allocations: 79.95 kB / 290.7 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.998e-05/0.09885, allocations: 18.7 kB / 290.7 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.09901, allocations: 141.5 kB / 290.9 MB, free: 18.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.188e-05/0.09909, allocations: 18.47 kB / 290.9 MB, free: 18.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.09925, allocations: 81.88 kB / 291 MB, free: 18.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.09934, allocations: 44.23 kB / 291 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.09936, allocations: 6.531 kB / 291 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.09941, allocations: 14.59 kB / 291 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.09942, allocations: 24.27 kB / 291.1 MB, free: 18.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.09946, allocations: 37.25 kB / 291.1 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.09959, allocations: 82.14 kB / 291.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.09959, allocations: 0 / 291.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09959, allocations: 0.9375 kB / 291.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.09959, allocations: 1.438 kB / 291.2 MB, free: 18.8 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.0002713/0.09987, allocations: 319.2 kB / 291.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.09989, allocations: 8.5 kB / 291.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.09993, allocations: 17.8 kB / 291.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1, allocations: 129.6 kB / 291.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1, allocations: 7.969 kB / 291.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.1001, allocations: 9.625 kB / 291.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.271e-05/0.1002, allocations: 93.84 kB / 291.7 MB, free: 18.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1002, allocations: 3.938 kB / 291.7 MB, free: 18.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.1002, allocations: 6.438 kB / 291.8 MB, free: 18.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1002, allocations: 2.656 kB / 291.8 MB, free: 18.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.838e-05/0.1002, allocations: 47.95 kB / 291.8 MB, free: 18.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.1005, allocations: 235.6 kB / 292 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.569e-05/0.1006, allocations: 56.61 kB / 292.1 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.1006, allocations: 37.7 kB / 292.1 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.1006, allocations: 1.062 kB / 292.1 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.1006, allocations: 41.61 kB / 292.2 MB, free: 17.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1006, allocations: 0 / 292.2 MB, free: 17.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001165/0.1007, allocations: 131.4 kB / 292.3 MB, free: 17.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.1007, allocations: 85.45 kB / 292.4 MB, free: 17.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.1008, allocations: 138.1 kB / 292.5 MB, free: 17.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-06/0.1008, allocations: 25.7 kB / 292.5 MB, free: 17.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.1008, allocations: 111.5 kB / 292.6 MB, free: 17.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.1008, allocations: 18.36 kB / 292.7 MB, free: 17.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.1009, allocations: 27.97 kB / 292.7 MB, free: 17.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.582e-05/0.1009, allocations: 324.7 kB / 293 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.1009, allocations: 33 kB / 293 MB, free: 17.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.1009, allocations: 33.02 kB / 293.1 MB, free: 17.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/0.101, allocations: 83.7 kB / 293.2 MB, free: 17.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.101, allocations: 0.7812 kB / 293.2 MB, free: 17.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.459e-05/0.101, allocations: 105.5 kB / 293.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.101, allocations: 36.77 kB / 293.3 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.101, allocations: 2.078 kB / 293.3 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1011, allocations: 2.469 kB / 293.3 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.1011, allocations: 12.16 kB / 293.3 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.1011, allocations: 0.5469 kB / 293.3 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.1012, allocations: 3.406 kB / 293.3 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1012, allocations: 10.27 kB / 293.3 MB, free: 16.88 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 3.909e-05/0.1012, allocations: 139.5 kB / 293.5 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.1012, allocations: 7.562 kB / 293.5 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.323e-05/0.1013, allocations: 131.2 kB / 293.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1013, allocations: 5.312 kB / 293.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.1013, allocations: 0 / 293.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1013, allocations: 0 / 293.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1015, allocations: 283.9 kB / 293.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1015, allocations: 0.7031 kB / 293.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.1015, allocations: 10.02 kB / 293.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1015, allocations: 1.125 kB / 293.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.1015, allocations: 1.719 kB / 293.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1015, allocations: 1.188 kB / 293.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1015, allocations: 0 / 293.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.99e-05/0.1016, allocations: 213.4 kB / 294.1 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.1016, allocations: 15.17 kB / 294.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.1016, allocations: 4.031 kB / 294.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.1017, allocations: 2.578 kB / 294.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.1017, allocations: 10.81 kB / 294.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1017, allocations: 2 kB / 294.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.704e-05/0.1017, allocations: 38.06 kB / 294.2 MB, free: 16.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1017, allocations: 1.25 kB / 294.2 MB, free: 16.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001444/0.1018, allocations: 29.06 kB / 294.2 MB, free: 16.12 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.438e-05/0.1019, allocations: 83.83 kB / 294.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.091e-05/0.102, allocations: 144.6 kB / 294.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.102, allocations: 1.062 kB / 294.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.251e-05/0.102, allocations: 100.3 kB / 294.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.1022, allocations: 28.25 kB / 294.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.1027, allocations: 284.2 kB / 294.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.694e-05/0.1027, allocations: 63.3 kB / 294.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.1028, allocations: 11.88 kB / 294.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.1028, allocations: 70.22 kB / 295 MB, free: 15.47 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1028, allocations: 1.125 kB / 295 MB, free: 15.47 MB / 266.7 MB Notification: Performance of Templates: time 0.003195/0.106, allocations: 1.535 MB / 296.5 MB, free: 15.32 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.5159764788113534]