Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.0008815/0.0008815, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009331/0.0009331, allocations: 173 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.8805/0.8805, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.03414/0.03414, allocations: 8.717 MB / 268.7 MB, free: 4.516 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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 340.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.652e-05, allocations: 2.312 kB / 340.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.002085/0.002102, allocations: 2.663 MB / 343.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000767/0.002869, allocations: 0.7906 MB / 344.3 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.002961, allocations: 4 kB / 344.3 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.003073, allocations: 27.7 kB / 344.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.003329, allocations: 127 kB / 344.5 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.003443, allocations: 51.88 kB / 344.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.003622, allocations: 274.5 kB / 344.8 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.003731, allocations: 50.36 kB / 344.8 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.003881, allocations: 139.7 kB / 345 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.003983, allocations: 75.73 kB / 345 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.004004, allocations: 12 kB / 345.1 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.2e-05/0.004066, allocations: 35.98 kB / 345.1 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.004087, allocations: 35.84 kB / 345.1 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.004135, allocations: 75.83 kB / 345.2 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.004298, allocations: 163.3 kB / 345.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.0043, allocations: 0 / 345.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004301, allocations: 4 kB / 345.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.004304, allocations: 0 / 345.4 MB, free: 3.516 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0003965/0.004701, allocations: 0.5325 MB / 345.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.00473, allocations: 8.031 kB / 345.9 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.004863, allocations: 52.72 kB / 346 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.00502, allocations: 177.1 kB / 346.1 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.005031, allocations: 8.375 kB / 346.1 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.005053, allocations: 20.38 kB / 346.2 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.005245, allocations: 208.5 kB / 346.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.005255, allocations: 7.938 kB / 346.4 MB, free: 2.418 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.005268, allocations: 4 kB / 346.4 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005275, allocations: 4 kB / 346.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.669e-05/0.005372, allocations: 99.22 kB / 346.5 MB, free: 2.309 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.005875, allocations: 0.6629 MB / 347.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.006039, allocations: 148.8 kB / 347.3 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.006091, allocations: 73.36 kB / 347.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.006103, allocations: 4 kB / 347.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.006118, allocations: 33.39 kB / 347.4 MB, free: 1.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.006119, allocations: 0 / 347.4 MB, free: 1.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007694/0.006889, allocations: 0.6065 MB / 348 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.657e-05/0.006905, allocations: 85.11 kB / 348.1 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.487e-05/0.00698, allocations: 212.5 kB / 348.3 MB, free: 320 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.006989, allocations: 25.7 kB / 348.3 MB, free: 288 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.007027, allocations: 179.2 kB / 348.5 MB, free: 104 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.007052, allocations: 71.38 kB / 348.6 MB, free: 32 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.007112, allocations: 47.36 kB / 348.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.007219, allocations: 0.5078 MB / 349.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.007283, allocations: 61.36 kB / 349.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.007359, allocations: 107.4 kB / 349.3 MB, free: 15.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.007501, allocations: 180 kB / 349.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007503, allocations: 0 / 349.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001948/0.007697, allocations: 208.8 kB / 349.7 MB, free: 14.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.00772, allocations: 33.7 kB / 349.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.007724, allocations: 3.938 kB / 349.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.007737, allocations: 7.984 kB / 349.7 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.007889, allocations: 51.91 kB / 349.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.007899, allocations: 4 kB / 349.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.007948, allocations: 20.03 kB / 349.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.007959, allocations: 7.984 kB / 349.8 MB, free: 14.7 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (23): * Single equations (assignments): 22 * 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 0.0001101/0.008069, allocations: 194.3 kB / 350 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.008322, allocations: 23.91 kB / 350 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.008581, allocations: 229.9 kB / 350.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.008585, allocations: 4 kB / 350.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.008589, allocations: 0 / 350.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.008595, allocations: 3.938 kB / 350.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.008987, allocations: 0.5145 MB / 350.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.008989, allocations: 3.938 kB / 350.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.009127, allocations: 51.97 kB / 350.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.009131, allocations: 4 kB / 350.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.00914, allocations: 0 / 350.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.009143, allocations: 3.938 kB / 350.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009144, allocations: 0 / 350.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.009464, allocations: 424.6 kB / 351.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.009502, allocations: 31.88 kB / 351.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.009521, allocations: 8 kB / 351.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-05/0.009575, allocations: 7.969 kB / 351.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.009617, allocations: 19.97 kB / 351.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.009624, allocations: 4 kB / 351.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.894e-05/0.009683, allocations: 163.7 kB / 351.5 MB, free: 12.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009683, allocations: 0 / 351.5 MB, free: 12.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.009871, allocations: 52 kB / 351.5 MB, free: 12.85 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * 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 (23): * Single equations (assignments): 22 * 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.738e-05/0.009969, allocations: 111.1 kB / 351.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.01017, allocations: 225 kB / 351.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01017, allocations: 192 / 351.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.751e-05/0.01025, allocations: 152.7 kB / 352 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.01046, allocations: 40.05 kB / 352 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008481/0.01131, allocations: 483.9 kB / 352.5 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.253e-05/0.01135, allocations: 79.92 kB / 352.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.01152, allocations: 25.56 kB / 352.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.01157, allocations: 28.48 kB / 352.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01157, allocations: 0 / 352.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of Templates: time 0.003977/0.01554, allocations: 2.547 MB / 355.2 MB, free: 9.125 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4912009718827903]