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/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/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 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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007929/0.0007928, allocations: 87.03 kB / 16.31 MB, free: 5.684 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.000834/0.000834, allocations: 187.2 kB / 17.21 MB, free: 5.602 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.643/1.643, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3278/0.3278, allocations: 48.77 MB / 320.4 MB, free: 11.21 MB / 270.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: Performance of FrontEnd - loaded program: time 0.000536/0.000536, allocations: 19.98 kB / 391.3 MB, free: 50.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1099, allocations: 60.27 MB / 451.5 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D): time 0.03608/0.1461, allocations: 37.33 MB / 488.9 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.1622, allocations: 14.13 MB / 0.4912 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006838/0.1629, allocations: 15.81 kB / 0.4912 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006415/0.1636, allocations: 170.9 kB / 0.4914 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.1751, allocations: 3.643 MB / 0.4949 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.1785, allocations: 0.9646 MB / 0.4959 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.1804, allocations: 1.773 MB / 0.4976 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005568/0.181, allocations: 432.4 kB / 0.498 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006191/0.1816, allocations: 490.2 kB / 0.4985 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007517/0.1824, allocations: 0.6035 MB / 0.4991 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.632e-05/0.1825, allocations: 44 kB / 0.4991 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01239/0.1949, allocations: 5.985 MB / 0.505 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000409/0.1953, allocations: 331 kB / 0.5053 GB, free: 7.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.1957, allocations: 209.3 kB / 0.5055 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.2011, allocations: 2.986 MB / 0.5084 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.2012, allocations: 0 / 0.5084 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2012, allocations: 0 / 0.5084 GB, free: 4.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.2012, allocations: 0 / 0.5084 GB, free: 4.18 MB / 398.1 MB 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.004515/0.2057, allocations: 1.61 MB / 0.51 GB, free: 2.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.2058, allocations: 15.97 kB / 0.51 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.206, allocations: 135.3 kB / 0.5101 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.2072, allocations: 246.7 kB / 0.5104 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.2082, allocations: 0.6116 MB / 0.5109 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/0.2083, allocations: 66 kB / 0.511 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2084, allocations: 84 kB / 0.5111 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004668/0.2131, allocations: 2.209 MB / 0.5132 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.2131, allocations: 7.953 kB / 0.5133 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/0.2132, allocations: 32 kB / 0.5133 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/0.2133, allocations: 45.98 kB / 0.5133 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004672/0.218, allocations: 2.205 MB / 0.5155 GB, free: 12.8 MB / 414.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.005838/0.2238, allocations: 4.84 MB / 0.5202 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003416/0.2273, allocations: 1.403 MB / 0.5216 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005251/0.2278, allocations: 374.4 kB / 0.5219 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3786/0.6064, allocations: 64.57 MB / 0.585 GB, free: 35.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.6064, allocations: 41.27 kB / 0.585 GB, free: 35.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 2.255e-06/0.6065, allocations: 1.312 kB / 0.585 GB, free: 35.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.007954/0.6144, allocations: 2.935 MB / 0.5879 GB, free: 32.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.6145, allocations: 63.97 kB / 0.588 GB, free: 32.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.615, allocations: 0.4904 MB / 0.5884 GB, free: 32.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-05/0.6151, allocations: 37.7 kB / 0.5885 GB, free: 32.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.6152, allocations: 375.6 kB / 0.5888 GB, free: 32.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.6154, allocations: 236.7 kB / 0.5891 GB, free: 31.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/0.6155, allocations: 16 kB / 0.5891 GB, free: 31.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.6156, allocations: 374.8 kB / 0.5894 GB, free: 31.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007946/0.6164, allocations: 0.6187 MB / 0.59 GB, free: 30.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008361/0.6173, allocations: 0.7483 MB / 0.5908 GB, free: 30 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000847/0.6181, allocations: 0.6625 MB / 0.5914 GB, free: 29.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6181, allocations: 0 / 0.5914 GB, free: 29.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003299/0.6214, allocations: 2.236 MB / 0.5936 GB, free: 27.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.584e-05/0.6215, allocations: 168.1 kB / 0.5938 GB, free: 26.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.6215, allocations: 4 kB / 0.5938 GB, free: 26.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/0.6246, allocations: 1.725 MB / 0.5955 GB, free: 25.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.6249, allocations: 92.69 kB / 0.5955 GB, free: 25.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/0.628, allocations: 2.399 MB / 0.5979 GB, free: 22.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/0.6289, allocations: 131.3 kB / 0.598 GB, free: 22.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.629, allocations: 91.19 kB / 0.5981 GB, free: 22.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.6291, allocations: 4 kB / 0.5981 GB, free: 22.43 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003184/0.6322, allocations: 2.136 MB / 0.6002 GB, free: 20.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6323, allocations: 6.969 kB / 0.6002 GB, free: 20.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003045/0.6353, allocations: 1.727 MB / 0.6019 GB, free: 18.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.6356, allocations: 87.89 kB / 0.602 GB, free: 18.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.6386, allocations: 2.403 MB / 0.6043 GB, free: 16.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008749/0.6395, allocations: 124.3 kB / 0.6044 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.6397, allocations: 91.91 kB / 0.6045 GB, free: 15.84 MB / 414.1 MB 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.0005605/0.6402, allocations: 360.9 kB / 0.6049 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.6404, allocations: 71.19 kB / 0.6049 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007543/0.6479, allocations: 10.16 MB / 0.6148 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.648, allocations: 25.61 kB / 0.6149 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.648, allocations: 0 / 0.6149 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.648, allocations: 0 / 0.6149 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003394/0.6514, allocations: 4.719 MB / 0.6195 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.6514, allocations: 8 kB / 0.6195 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007097/0.6522, allocations: 152.9 kB / 0.6196 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.6536, allocations: 419.7 kB / 0.62 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.908e-05/0.6537, allocations: 27.92 kB / 0.6201 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/0.6584, allocations: 4.183 MB / 0.6241 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6585, allocations: 4 kB / 0.6241 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/0.6626, allocations: 2.569 MB / 0.6267 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000466/0.6631, allocations: 263.6 kB / 0.6269 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.6632, allocations: 19.98 kB / 0.6269 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.6638, allocations: 75.88 kB / 0.627 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.664, allocations: 52.56 kB / 0.627 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.664, allocations: 23.98 kB / 0.6271 GB, free: 8.117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003851/0.6644, allocations: 346.8 kB / 0.6274 GB, free: 7.777 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6644, allocations: 0 / 0.6274 GB, free: 7.777 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003733/0.6682, allocations: 1.3 MB / 0.6287 GB, free: 6.539 MB / 430.1 MB 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 ($cse2.phase,$cse2.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.008108/0.6763, allocations: 3.991 MB / 0.6326 GB, free: 2.684 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004716/0.681, allocations: 2.536 MB / 0.635 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6811, allocations: 3.938 kB / 0.6351 GB, free: 148 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.6828, allocations: 1.092 MB / 0.6361 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.6844, allocations: 301.6 kB / 0.6364 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.6969, allocations: 7.632 MB / 0.6439 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007912/0.6977, allocations: 1.117 MB / 0.6449 GB, free: 5.926 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001004/0.6987, allocations: 387.3 kB / 0.6453 GB, free: 5.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005597/0.6993, allocations: 363.3 kB / 0.6457 GB, free: 5.191 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/0.6993, allocations: 4 kB / 0.6457 GB, free: 5.188 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3559/1.055, allocations: 75.47 MB / 0.7194 GB, free: 173.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/1.055, allocations: 234.2 kB / 0.7196 GB, free: 173 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.629/5.685, allocations: 2.25 kB / 0.7196 GB, free: 173 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_D_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_D.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe 2>&1) Environment - environmentSimulation: