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.0007784/0.0007784, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001144/0.001922, allocations: 440 kB / 10.41 MB, free: 284 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.0007116/0.0007116, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001713, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9991/0.9991, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1053/1.104, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.04219/0.04219, allocations: 8.735 MB / 252.9 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01779/0.05998, allocations: 3.002 MB / 255.9 MB, free: 3.277 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.032e-06/1.032e-06, allocations: 3.938 kB / 257.2 MB, free: 1.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.862e-05, allocations: 2.312 kB / 257.2 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002382/0.002401, allocations: 2.05 MB / 259.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006757/0.003076, allocations: 0.6037 MB / 259.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.003135, allocations: 0 / 259.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.003173, allocations: 11.86 kB / 259.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.003344, allocations: 75.41 kB / 259.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.173e-05/0.003415, allocations: 31.95 kB / 260 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.003565, allocations: 139.1 kB / 260.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.292e-05/0.003648, allocations: 31.91 kB / 260.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.003801, allocations: 75.88 kB / 260.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.899e-05/0.00389, allocations: 47.83 kB / 260.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.003905, allocations: 4 kB / 260.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.003964, allocations: 16 kB / 260.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.003983, allocations: 11.94 kB / 260.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.004014, allocations: 31.94 kB / 260.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.004144, allocations: 83.62 kB / 260.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.004153, allocations: 4 kB / 260.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004154, allocations: 0 / 260.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.004164, allocations: 0 / 260.4 MB, free: 14.73 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.0003311/0.004495, allocations: 341.9 kB / 260.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.004524, allocations: 12.03 kB / 260.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.004557, allocations: 12.94 kB / 260.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.004684, allocations: 133.6 kB / 260.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.004693, allocations: 8.375 kB / 260.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.004705, allocations: 8.312 kB / 260.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.223e-05/0.004798, allocations: 99.03 kB / 261 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.004805, allocations: 7.938 kB / 261 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.004813, allocations: 8 kB / 261 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.004816, allocations: 0 / 261 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.208e-05/0.004858, allocations: 49.59 kB / 261.1 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.005145, allocations: 228 kB / 261.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.162e-05/0.005196, allocations: 60.27 kB / 261.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.005215, allocations: 34.56 kB / 261.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.005225, allocations: 0 / 261.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.005244, allocations: 42.42 kB / 261.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.005245, allocations: 0 / 261.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001246/0.005369, allocations: 134.9 kB / 261.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.923e-05/0.005388, allocations: 51.41 kB / 261.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/0.00546, allocations: 146.6 kB / 261.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.944e-06/0.005467, allocations: 25.7 kB / 261.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.005506, allocations: 111.9 kB / 261.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.005518, allocations: 19.88 kB / 261.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.005545, allocations: 25.7 kB / 261.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.005611, allocations: 318.8 kB / 262.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.005629, allocations: 37.69 kB / 262.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.005646, allocations: 29.7 kB / 262.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.912e-05/0.005695, allocations: 88.16 kB / 262.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005696, allocations: 4 kB / 262.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.927e-05/0.005766, allocations: 113.1 kB / 262.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.005791, allocations: 29.7 kB / 262.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.005794, allocations: 0 / 262.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.005804, allocations: 0 / 262.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.005869, allocations: 15.98 kB / 262.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.005871, allocations: 0 / 262.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.0059, allocations: 11.89 kB / 262.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.005905, allocations: 3.938 kB / 262.6 MB, free: 12.32 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.803e-05/0.005963, allocations: 147.5 kB / 262.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.005978, allocations: 8 kB / 262.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.807e-05/0.006076, allocations: 117.8 kB / 262.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.006079, allocations: 7.984 kB / 262.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.006081, allocations: 0 / 262.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.006083, allocations: 0 / 262.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.006271, allocations: 287.2 kB / 263.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.006274, allocations: 4.062 kB / 263.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.0063, allocations: 8 kB / 263.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.006324, allocations: 15.92 kB / 263.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.006326, allocations: 0 / 263.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.00633, allocations: 8.031 kB / 263.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.006332, allocations: 0 / 263.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.006334, allocations: 3.938 kB / 263.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.24e-05/0.006426, allocations: 215.7 kB / 263.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.006438, allocations: 4 kB / 263.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.56e-05/0.006473, allocations: 0 / 263.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.006489, allocations: 11.92 kB / 263.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.006492, allocations: 0 / 263.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.428e-05/0.006516, allocations: 28.83 kB / 263.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006516, allocations: 0 / 263.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001386/0.006655, allocations: 31.94 kB / 263.4 MB, free: 11.33 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 9.533e-05/0.00675, allocations: 96.33 kB / 263.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.00685, allocations: 139.6 kB / 263.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.006856, allocations: 4 kB / 263.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.006903, allocations: 102 kB / 263.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.007135, allocations: 283.1 kB / 264 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.009527, allocations: 283.1 kB / 264.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.009562, allocations: 63.34 kB / 264.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.145e-05/0.009604, allocations: 12.97 kB / 264.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.009677, allocations: 79.38 kB / 264.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.009678, allocations: 0 / 264.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of Templates: time 0.003174/0.01285, allocations: 1.778 MB / 266.3 MB, free: 8.391 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.5864178109914064]