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.001027/0.001027, allocations: 172.2 kB / 17.39 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 223.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007698/0.0007695, allocations: 81.05 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.524/0.524, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.000475, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1571, allocations: 60.25 MB / 0.4884 GB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.826/6.983, allocations: 2.96 GB / 3.449 GB, free: 77.61 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/6.983, allocations: 86.62 kB / 3.449 GB, free: 77.56 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.296/8.279, allocations: 294.5 MB / 3.736 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.896e-06/8.279, allocations: 0 / 3.736 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.845e-05/8.279, allocations: 21.06 kB / 3.737 GB, free: 58.66 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.007802/8.287, allocations: 1.763 MB / 3.738 GB, free: 58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/8.287, allocations: 11.69 kB / 3.738 GB, free: 58 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/8.289, allocations: 257.2 kB / 3.738 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/8.29, allocations: 0.705 MB / 3.739 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/8.29, allocations: 67.2 kB / 3.739 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/8.291, allocations: 93.72 kB / 3.739 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004991/8.296, allocations: 2.232 MB / 3.742 GB, free: 57.53 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/8.296, allocations: 6.938 kB / 3.742 GB, free: 57.53 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/8.296, allocations: 39.45 kB / 3.742 GB, free: 57.53 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/8.296, allocations: 44.84 kB / 3.742 GB, free: 57.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004307/8.3, allocations: 2.162 MB / 3.744 GB, free: 57.52 MB / 0.5105 GB 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.005551/8.306, allocations: 5.038 MB / 3.749 GB, free: 54.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/8.309, allocations: 1.369 MB / 3.75 GB, free: 54.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/8.309, allocations: 369.6 kB / 3.75 GB, free: 54.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.113/8.422, allocations: 63.71 MB / 3.813 GB, free: 31.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.299e-05/8.422, allocations: 42.88 kB / 3.813 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=67): time 3.506e-06/8.422, allocations: 2.844 kB / 3.813 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67): time 0.008849/8.431, allocations: 2.839 MB / 3.815 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/8.431, allocations: 59.59 kB / 3.815 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000703/8.432, allocations: 494.2 kB / 3.816 GB, free: 30.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/8.432, allocations: 39.64 kB / 3.816 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/8.432, allocations: 383.1 kB / 3.816 GB, free: 30.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/8.433, allocations: 238.1 kB / 3.817 GB, free: 30.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.147e-05/8.433, allocations: 13.97 kB / 3.817 GB, free: 30.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002049/8.433, allocations: 377.1 kB / 3.817 GB, free: 29.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009784/8.434, allocations: 0.6186 MB / 3.817 GB, free: 29.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009981/8.435, allocations: 0.7613 MB / 3.818 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/8.437, allocations: 1.321 MB / 3.82 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/8.437, allocations: 3.938 kB / 3.82 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.004081/8.441, allocations: 2.233 MB / 3.822 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/8.441, allocations: 160.3 kB / 3.822 GB, free: 29.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/8.441, allocations: 2.781 kB / 3.822 GB, free: 29.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003458/8.445, allocations: 1.702 MB / 3.824 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/8.445, allocations: 89.69 kB / 3.824 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/8.449, allocations: 2.375 MB / 3.826 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/8.45, allocations: 127.7 kB / 3.826 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/8.45, allocations: 91.31 kB / 3.826 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/8.45, allocations: 9.25 kB / 3.826 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003833/8.454, allocations: 2.136 MB / 3.828 GB, free: 28.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/8.454, allocations: 5.156 kB / 3.828 GB, free: 28.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003274/8.458, allocations: 1.696 MB / 3.83 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/8.458, allocations: 93.06 kB / 3.83 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00357/8.461, allocations: 2.376 MB / 3.832 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/8.463, allocations: 126.8 kB / 3.832 GB, free: 28.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/8.463, allocations: 87.38 kB / 3.833 GB, free: 28.05 MB / 0.5261 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 () * Number of clocked 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.0008723/8.464, allocations: 371.2 kB / 3.833 GB, free: 27.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/8.464, allocations: 61.5 kB / 3.833 GB, free: 27.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/8.474, allocations: 9.948 MB / 3.843 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.338e-05/8.474, allocations: 29.34 kB / 3.843 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/8.474, allocations: 0 / 3.843 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/8.474, allocations: 3.375 kB / 3.843 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004526/8.479, allocations: 4.619 MB / 3.847 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/8.479, allocations: 0 / 3.847 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008643/8.48, allocations: 152.2 kB / 3.847 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/8.481, allocations: 421.1 kB / 3.848 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.189e-05/8.481, allocations: 25.73 kB / 3.848 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006103/8.487, allocations: 4.189 MB / 3.852 GB, free: 39.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/8.487, allocations: 0 / 3.852 GB, free: 39.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004123/8.492, allocations: 2.56 MB / 3.854 GB, free: 39.12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005391/8.492, allocations: 257.4 kB / 3.855 GB, free: 38.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/8.492, allocations: 22.34 kB / 3.855 GB, free: 38.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007029/8.493, allocations: 80.67 kB / 3.855 GB, free: 38.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/8.493, allocations: 55.41 kB / 3.855 GB, free: 38.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/8.493, allocations: 22.88 kB / 3.855 GB, free: 38.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004703/8.494, allocations: 341.6 kB / 3.855 GB, free: 38.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/8.494, allocations: 0.75 kB / 3.855 GB, free: 38.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00606/8.5, allocations: 1.329 MB / 3.856 GB, free: 38.46 MB / 0.5417 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 () * Number of clocked 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.007157/8.507, allocations: 1.296 MB / 3.858 GB, free: 38.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005123/8.512, allocations: 2.505 MB / 3.86 GB, free: 37.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/8.512, allocations: 7.938 kB / 3.86 GB, free: 37.33 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/8.514, allocations: 1.082 MB / 3.861 GB, free: 36.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/8.516, allocations: 301.4 kB / 3.861 GB, free: 36.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/8.52, allocations: 2.983 MB / 3.864 GB, free: 35.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008246/8.521, allocations: 1.12 MB / 3.865 GB, free: 34.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001116/8.522, allocations: 388.5 kB / 3.866 GB, free: 34.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/8.523, allocations: 60.33 kB / 3.866 GB, free: 34.27 MB / 0.5417 GB Notification: Performance of SimCode: time 1.072e-06/8.523, allocations: 0 / 3.866 GB, free: 34.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.08305/8.606, allocations: 63.18 MB / 3.928 GB, free: 7.285 MB / 0.5417 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)