Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002829/0.00283, allocations: 172 kB / 8.343 MB, free: 0.7422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.3 MB / 214.1 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008607/0.0008609, allocations: 82.72 kB / 262.1 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3123/0.3123, allocations: 48.78 MB / 358.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.985e-05/1.989e-05, allocations: 4 kB / 425.3 MB, free: 22.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1485, allocations: 60.26 MB / 485.6 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.963/8.112, allocations: 2.959 GB / 3.434 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/8.112, allocations: 79.3 kB / 3.434 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.027/9.139, allocations: 290.1 MB / 3.717 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/9.139, allocations: 0 / 3.717 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000107/9.14, allocations: 23.94 kB / 3.717 GB, free: 29.38 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.009009/9.149, allocations: 1.687 MB / 3.719 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/9.149, allocations: 12.03 kB / 3.719 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/9.151, allocations: 258.6 kB / 3.719 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/9.153, allocations: 0.6917 MB / 3.72 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.717e-05/9.153, allocations: 31.95 kB / 3.72 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004363/9.153, allocations: 48 kB / 3.72 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002295/9.156, allocations: 1.082 MB / 3.721 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/9.158, allocations: 1.086 MB / 3.722 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/9.158, allocations: 0 / 3.722 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.599e-05/9.158, allocations: 7.984 kB / 3.722 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.037e-05/9.158, allocations: 37.98 kB / 3.722 GB, free: 24.32 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.006919/9.165, allocations: 4.852 MB / 3.726 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009349/9.166, allocations: 0.7556 MB / 3.727 GB, free: 18.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004136/9.166, allocations: 350.4 kB / 3.728 GB, free: 17.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5297/9.696, allocations: 63.95 MB / 3.79 GB, free: 41.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.116e-05/9.696, allocations: 38.75 kB / 3.79 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=67): time 2.555e-06/9.696, allocations: 3.844 kB / 3.79 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.005412/9.702, allocations: 1.633 MB / 3.792 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/9.702, allocations: 62.75 kB / 3.792 GB, free: 41.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005322/9.702, allocations: 370.3 kB / 3.792 GB, free: 41.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/9.702, allocations: 25.7 kB / 3.792 GB, free: 41.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/9.703, allocations: 387.7 kB / 3.792 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/9.703, allocations: 229.2 kB / 3.793 GB, free: 40.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/9.703, allocations: 0 / 3.793 GB, free: 40.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001269/9.703, allocations: 365.6 kB / 3.793 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000711/9.704, allocations: 0.5792 MB / 3.794 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008411/9.705, allocations: 0.7265 MB / 3.794 GB, free: 40.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/9.707, allocations: 0.7671 MB / 3.795 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/9.707, allocations: 6.719 kB / 3.795 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.005288/9.713, allocations: 2.249 MB / 3.797 GB, free: 40.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003013/9.713, allocations: 0.9715 MB / 3.798 GB, free: 39.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/9.713, allocations: 8.719 kB / 3.798 GB, free: 39.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/9.716, allocations: 1.58 MB / 3.8 GB, free: 39.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/9.717, allocations: 91.48 kB / 3.8 GB, free: 39.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/9.722, allocations: 2.655 MB / 3.802 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/9.723, allocations: 109.9 kB / 3.803 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/9.723, allocations: 85.75 kB / 3.803 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/9.723, allocations: 7.406 kB / 3.803 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004975/9.728, allocations: 2.154 MB / 3.805 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/9.728, allocations: 0 / 3.805 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/9.731, allocations: 1.579 MB / 3.806 GB, free: 38.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/9.731, allocations: 90.22 kB / 3.806 GB, free: 38.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005164/9.737, allocations: 2.647 MB / 3.809 GB, free: 38.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/9.738, allocations: 109.7 kB / 3.809 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/9.738, allocations: 91.39 kB / 3.809 GB, free: 38.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 37} Notification: Performance of prepare postOptimizeDAE: time 0.000376/9.738, allocations: 121.2 kB / 3.809 GB, free: 38.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/9.738, allocations: 58.66 kB / 3.809 GB, free: 37.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009699/9.748, allocations: 10.23 MB / 3.819 GB, free: 37.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/9.748, allocations: 24.08 kB / 3.819 GB, free: 37.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/9.748, allocations: 0 / 3.819 GB, free: 37.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/9.748, allocations: 7.531 kB / 3.819 GB, free: 37.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/9.752, allocations: 4.45 MB / 3.824 GB, free: 36.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/9.753, allocations: 8.969 kB / 3.824 GB, free: 36.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008904/9.753, allocations: 150.7 kB / 3.824 GB, free: 36.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/9.755, allocations: 407.4 kB / 3.824 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.178e-05/9.755, allocations: 18.33 kB / 3.824 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004067/9.759, allocations: 4.03 MB / 3.828 GB, free: 34.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/9.759, allocations: 7.891 kB / 3.828 GB, free: 34.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00353/9.763, allocations: 2.474 MB / 3.831 GB, free: 33.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004486/9.763, allocations: 249.5 kB / 3.831 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/9.763, allocations: 10.81 kB / 3.831 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007164/9.764, allocations: 73.88 kB / 3.831 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/9.764, allocations: 48.3 kB / 3.831 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/9.764, allocations: 27.77 kB / 3.831 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004016/9.765, allocations: 273.9 kB / 3.831 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/9.765, allocations: 0 / 3.831 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006677/9.771, allocations: 1.301 MB / 3.833 GB, free: 33.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4]) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007211/9.779, allocations: 1.386 MB / 3.834 GB, free: 33.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004469/9.783, allocations: 2.415 MB / 3.836 GB, free: 33.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/9.783, allocations: 0 / 3.836 GB, free: 33.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/9.785, allocations: 1.038 MB / 3.837 GB, free: 33.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/9.786, allocations: 248 kB / 3.837 GB, free: 33.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/9.789, allocations: 1.971 MB / 3.839 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/9.79, allocations: 1.133 MB / 3.84 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009683/9.791, allocations: 408 kB / 3.841 GB, free: 31.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/9.791, allocations: 59.14 kB / 3.841 GB, free: 31.84 MB / 0.5105 GB Notification: Performance of SimCode: time 8.52e-07/9.791, allocations: 0 / 3.841 GB, free: 31.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.07145/9.863, allocations: 56.37 MB / 3.896 GB, free: 22.36 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe 2>&1)