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.006776/0.006776, allocations: 105.4 kB / 15.74 MB, free: 6.012 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.001085/0.001085, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.371/1.371, allocations: 205.1 MB / 222.6 MB, free: 4.371 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05344/0.05344, allocations: 11.84 MB / 281.7 MB, free: 9.184 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.001491/0.001491, allocations: 63.91 kB / 392.3 MB, free: 3.461 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2919, allocations: 49.22 MB / 441.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003858/0.2958, allocations: 2.62 MB / 444.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.2971, allocations: 0.6955 MB / 444.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.2973, allocations: 2.406 kB / 444.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.2974, allocations: 39.41 kB / 444.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.2978, allocations: 118.9 kB / 445 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.298, allocations: 53.81 kB / 445.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.2984, allocations: 248.3 kB / 445.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.2985, allocations: 65.59 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.2987, allocations: 94.69 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.2989, allocations: 103.9 kB / 445.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.2989, allocations: 18.41 kB / 445.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.2991, allocations: 34.61 kB / 445.6 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.2991, allocations: 30.06 kB / 445.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.2992, allocations: 105.1 kB / 445.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.2996, allocations: 207.5 kB / 446 MB, free: 1.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2996, allocations: 0 / 446 MB, free: 1.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2996, allocations: 0 / 446 MB, free: 1.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2996, allocations: 0 / 446 MB, free: 1.512 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.0006825/0.3003, allocations: 0.5023 MB / 446.5 MB, free: 1.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3003, allocations: 13.61 kB / 446.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.3005, allocations: 25.44 kB / 446.5 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.3008, allocations: 226.1 kB / 446.7 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.3008, allocations: 11.84 kB / 446.7 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.3008, allocations: 23.19 kB / 446.8 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.3012, allocations: 192.4 kB / 447 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3012, allocations: 5.438 kB / 447 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.3013, allocations: 5.406 kB / 447 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3013, allocations: 4.562 kB / 447 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.3016, allocations: 119.8 kB / 447.1 MB, free: 0.625 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.00116/0.3027, allocations: 0.9258 MB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.3031, allocations: 152.4 kB / 448.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.3032, allocations: 63.17 kB / 448.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3033, allocations: 5.531 kB / 448.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3033, allocations: 32.61 kB / 448.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.966e-06/0.3033, allocations: 4 kB / 448.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001838/0.3051, allocations: 0.7416 MB / 449 MB, free: 15.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.3052, allocations: 77.91 kB / 449.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.3054, allocations: 182.2 kB / 449.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.3054, allocations: 30.36 kB / 449.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.3055, allocations: 121 kB / 449.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.3056, allocations: 73.97 kB / 449.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.3057, allocations: 39.06 kB / 449.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3058, allocations: 333.4 kB / 449.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.3059, allocations: 66.55 kB / 449.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.3061, allocations: 95.75 kB / 450 MB, free: 14.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.3064, allocations: 224.3 kB / 450.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3065, allocations: 1.312 kB / 450.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003893/0.3068, allocations: 226.3 kB / 450.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/0.3069, allocations: 31.52 kB / 450.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3069, allocations: 5.438 kB / 450.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.307, allocations: 5.562 kB / 450.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.3072, allocations: 59.7 kB / 450.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3073, allocations: 1.781 kB / 450.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.3074, allocations: 12.86 kB / 450.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.3074, allocations: 6.656 kB / 450.6 MB, free: 13.89 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.0001676/0.3076, allocations: 164.1 kB / 450.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.3076, allocations: 17.06 kB / 450.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.3081, allocations: 259.7 kB / 451 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3081, allocations: 4.438 kB / 451 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3081, allocations: 0 / 451 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3081, allocations: 3.984 kB / 451 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/0.3089, allocations: 0.5792 MB / 451.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3089, allocations: 7.938 kB / 451.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.3092, allocations: 66.47 kB / 451.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3092, allocations: 1.422 kB / 451.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.3092, allocations: 6.734 kB / 451.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3092, allocations: 0 / 451.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3092, allocations: 1.375 kB / 451.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.3099, allocations: 406.3 kB / 452.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.31, allocations: 107.5 kB / 452.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.31, allocations: 6.656 kB / 452.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3102, allocations: 4.125 kB / 452.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.3102, allocations: 22.31 kB / 452.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.3102, allocations: 4.219 kB / 452.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.3104, allocations: 135.6 kB / 452.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3104, allocations: 0 / 452.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.3107, allocations: 56.16 kB / 452.4 MB, free: 12.45 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.0001475/0.3109, allocations: 108.5 kB / 452.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004344/0.3113, allocations: 211.5 kB / 452.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3113, allocations: 0 / 452.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.3115, allocations: 140.1 kB / 452.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3119, allocations: 51.03 kB / 452.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.3128, allocations: 486.4 kB / 453.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.3131, allocations: 0.7364 MB / 454.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.3132, allocations: 22.31 kB / 454.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.3133, allocations: 25.17 kB / 454.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3133, allocations: 4 kB / 454.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of Templates: time 0.006594/0.3199, allocations: 2.742 MB / 456.9 MB, free: 9.641 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)