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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006622/0.006623, allocations: 101.3 kB / 15.73 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 188.8 kB / 16.67 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 222.6 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05308/0.05308, allocations: 11.84 MB / 281.7 MB, free: 9.367 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 68.28 kB / 392.3 MB, free: 3.492 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2944, allocations: 49.23 MB / 441.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.00471/0.2992, allocations: 2.627 MB / 444.2 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.3007, allocations: 0.6945 MB / 444.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.3009, allocations: 6.812 kB / 444.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.3011, allocations: 31.14 kB / 444.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.3014, allocations: 119.8 kB / 445 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.3016, allocations: 46.11 kB / 445.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.3019, allocations: 251.9 kB / 445.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.3021, allocations: 64.86 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.3022, allocations: 93.62 kB / 445.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3024, allocations: 96.89 kB / 445.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.3024, allocations: 22.42 kB / 445.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3026, allocations: 33.2 kB / 445.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.3026, allocations: 35.02 kB / 445.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.3027, allocations: 101 kB / 445.8 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.3031, allocations: 206.9 kB / 446 MB, free: 1.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3031, allocations: 5.922 kB / 446 MB, free: 1.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3031, allocations: 0 / 446 MB, free: 1.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3031, allocations: 0 / 446 MB, free: 1.531 MB / 318.1 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.0006803/0.3038, allocations: 0.4936 MB / 446.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3038, allocations: 14.42 kB / 446.5 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.304, allocations: 24.92 kB / 446.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.3043, allocations: 230.9 kB / 446.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3044, allocations: 15.41 kB / 446.7 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.3044, allocations: 23.28 kB / 446.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.3048, allocations: 188 kB / 446.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3048, allocations: 1.469 kB / 446.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.3048, allocations: 5.312 kB / 447 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3048, allocations: 4.031 kB / 447 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.3051, allocations: 125.1 kB / 447.1 MB, free: 0.6484 MB / 318.1 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.001254/0.3064, allocations: 0.9219 MB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.3067, allocations: 157.2 kB / 448.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3069, allocations: 65.95 kB / 448.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3069, allocations: 1.375 kB / 448.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.3069, allocations: 32.25 kB / 448.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.3069, allocations: 1.156 kB / 448.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001812/0.3087, allocations: 0.7429 MB / 449 MB, free: 15.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.3088, allocations: 79.86 kB / 449.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.309, allocations: 180.7 kB / 449.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.309, allocations: 30.7 kB / 449.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.3091, allocations: 128.1 kB / 449.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.3091, allocations: 74.36 kB / 449.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.3092, allocations: 44.11 kB / 449.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3093, allocations: 322.8 kB / 449.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.3095, allocations: 67.75 kB / 449.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.3097, allocations: 94.31 kB / 450 MB, free: 14.26 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.31, allocations: 220.5 kB / 450.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.31, allocations: 3.531 kB / 450.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003757/0.3104, allocations: 227.8 kB / 450.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.3104, allocations: 31.27 kB / 450.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3104, allocations: 5.031 kB / 450.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3104, allocations: 2.219 kB / 450.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.3107, allocations: 59.89 kB / 450.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3107, allocations: 1.312 kB / 450.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.3109, allocations: 9.406 kB / 450.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.3109, allocations: 17.58 kB / 450.6 MB, free: 13.88 MB / 334.1 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.0001791/0.3111, allocations: 173.5 kB / 450.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.3111, allocations: 15.62 kB / 450.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005129/0.3117, allocations: 252.9 kB / 451 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3117, allocations: 3.906 kB / 451 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3117, allocations: 0 / 451 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3117, allocations: 7.984 kB / 451 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008014/0.3125, allocations: 0.5801 MB / 451.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3125, allocations: 3.984 kB / 451.6 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.3128, allocations: 58.78 kB / 451.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3128, allocations: 1.812 kB / 451.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3128, allocations: 48 / 451.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3128, allocations: 5.719 kB / 451.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3128, allocations: 3.984 kB / 451.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.3134, allocations: 410.8 kB / 452.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3136, allocations: 107.8 kB / 452.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.3136, allocations: 6.75 kB / 452.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.3137, allocations: 4.125 kB / 452.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.3138, allocations: 18.84 kB / 452.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3138, allocations: 8.188 kB / 452.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.3139, allocations: 130.9 kB / 452.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3139, allocations: 0 / 452.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.3143, allocations: 59.98 kB / 452.4 MB, free: 12.44 MB / 334.1 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 0.0001387/0.3144, allocations: 109.2 kB / 452.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004429/0.3149, allocations: 207.2 kB / 452.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3149, allocations: 4.188 kB / 452.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.3151, allocations: 140.9 kB / 452.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.3154, allocations: 45.73 kB / 452.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008936/0.3163, allocations: 486.7 kB / 453.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.3167, allocations: 0.7361 MB / 454.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.3168, allocations: 26.53 kB / 454.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/0.3169, allocations: 25.27 kB / 454.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3169, allocations: 0 / 454.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of Templates: time 0.006397/0.3233, allocations: 2.744 MB / 456.9 MB, free: 9.629 MB / 334.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile (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=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)