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.0008923/0.0008923, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009352/0.0009352, allocations: 173.3 kB / 23.03 MB, free: 1.543 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.903/0.903, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.03285/0.03285, allocations: 8.715 MB / 268.7 MB, free: 4.535 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.583e-06/1.583e-06, allocations: 0 / 340.8 MB, free: 8.066 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.791e-05, allocations: 8.5 kB / 340.9 MB, free: 8.059 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002737/0.002765, allocations: 1.999 MB / 342.9 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.003656, allocations: 0.5882 MB / 343.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.003742, allocations: 7.938 kB / 343.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.853e-05/0.003791, allocations: 11.86 kB / 343.5 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.004095, allocations: 75.41 kB / 343.5 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.977e-05/0.004174, allocations: 23.97 kB / 343.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.004345, allocations: 143.1 kB / 343.7 MB, free: 5.191 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.004446, allocations: 15.98 kB / 343.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.004613, allocations: 71.81 kB / 343.8 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.004702, allocations: 39.89 kB / 343.8 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.004719, allocations: 15.88 kB / 343.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.092e-05/0.00477, allocations: 19.94 kB / 343.9 MB, free: 5.031 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.004787, allocations: 19.91 kB / 343.9 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.004825, allocations: 35.92 kB / 343.9 MB, free: 4.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.004972, allocations: 75.75 kB / 344 MB, free: 4.902 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.004976, allocations: 4 kB / 344 MB, free: 4.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004976, allocations: 0 / 344 MB, free: 4.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.004981, allocations: 0 / 344 MB, free: 4.898 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.0003462/0.005328, allocations: 449.9 kB / 344.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.005364, allocations: 8.031 kB / 344.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.005415, allocations: 16.89 kB / 344.5 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.005581, allocations: 148.4 kB / 344.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.005595, allocations: 8.375 kB / 344.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.005607, allocations: 4.375 kB / 344.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.005725, allocations: 99.92 kB / 344.7 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.005733, allocations: 3.938 kB / 344.7 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.005743, allocations: 4 kB / 344.7 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.005751, allocations: 4 kB / 344.7 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.65e-05/0.005808, allocations: 57.67 kB / 344.8 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.006233, allocations: 359.4 kB / 345.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.264e-05/0.006306, allocations: 68.75 kB / 345.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.006332, allocations: 41.33 kB / 345.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.006345, allocations: 0 / 345.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.006365, allocations: 45.45 kB / 345.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.006366, allocations: 0 / 345.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001988/0.006565, allocations: 146.7 kB / 345.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.006595, allocations: 81.11 kB / 345.5 MB, free: 3.184 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.006676, allocations: 204.6 kB / 345.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.006683, allocations: 25.7 kB / 345.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.006724, allocations: 154.7 kB / 345.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.006736, allocations: 19.89 kB / 345.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.006768, allocations: 27.36 kB / 345.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.006811, allocations: 0.4884 MB / 346.4 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/0.006835, allocations: 37.69 kB / 346.4 MB, free: 2.184 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.006856, allocations: 37.64 kB / 346.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.414e-05/0.00691, allocations: 95.2 kB / 346.6 MB, free: 2.031 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006913, allocations: 4 kB / 346.6 MB, free: 2.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.759e-05/0.007, allocations: 125 kB / 346.7 MB, free: 1.887 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.007024, allocations: 33.7 kB / 346.7 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.007027, allocations: 0 / 346.7 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.00704, allocations: 0 / 346.7 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.475e-05/0.007125, allocations: 11.98 kB / 346.7 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.00713, allocations: 7.875 kB / 346.8 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.007163, allocations: 16.12 kB / 346.8 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.007168, allocations: 0 / 346.8 MB, free: 1.812 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.929e-05/0.007218, allocations: 190.3 kB / 347 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.007235, allocations: 15.95 kB / 347 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.007356, allocations: 129.5 kB / 347.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007358, allocations: 0 / 347.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.007361, allocations: 0 / 347.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.007365, allocations: 3.938 kB / 347.1 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.007549, allocations: 396.5 kB / 347.5 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.00755, allocations: 0 / 347.5 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.00758, allocations: 7.984 kB / 347.5 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007582, allocations: 4 kB / 347.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.007588, allocations: 0 / 347.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.00759, allocations: 7.969 kB / 347.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007591, allocations: 7.875 kB / 347.5 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.281e-05/0.007674, allocations: 275 kB / 347.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.007698, allocations: 15.88 kB / 347.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.007712, allocations: 8 kB / 347.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.719e-05/0.007749, allocations: 3.938 kB / 347.8 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.00777, allocations: 7.984 kB / 347.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.007774, allocations: 0 / 347.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.876e-05/0.007813, allocations: 153.9 kB / 348 MB, free: 496 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007813, allocations: 0 / 348 MB, free: 496 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.007977, allocations: 24 kB / 348 MB, free: 472 kB / 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 0.0001111/0.008088, allocations: 115.1 kB / 348.1 MB, free: 348 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.008201, allocations: 150.5 kB / 348.3 MB, free: 168 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008202, allocations: 0 / 348.3 MB, free: 168 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.295e-05/0.008225, allocations: 108.9 kB / 348.4 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.008436, allocations: 18.94 kB / 348.4 MB, free: 20 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/0.009091, allocations: 279.5 kB / 348.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.731e-05/0.009128, allocations: 59.34 kB / 348.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.221e-05/0.009171, allocations: 20.7 kB / 348.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.009199, allocations: 16.5 kB / 348.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.0092, allocations: 0 / 348.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of Templates: time 0.003374/0.01257, allocations: 1.493 MB / 350.2 MB, free: 14.14 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.5790503001771867]