Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001654/0.001654, allocations: 176.4 kB / 8.346 MB, free: 0.7266 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.919/1.919, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009941/0.0009938, allocations: 83.27 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5819/0.5819, allocations: 48.78 MB / 358.8 MB, free: 53.19 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.497e-05/2.498e-05, allocations: 4 kB / 425.4 MB, free: 8.125 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1577, allocations: 60.26 MB / 485.6 MB, free: 11.72 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.091/8.249, allocations: 2.942 GB / 3.416 GB, free: 61.88 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/8.249, allocations: 87.16 kB / 3.416 GB, free: 61.83 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.576/9.825, allocations: 375 MB / 3.783 GB, free: 61.46 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.425e-06/9.825, allocations: 3.938 kB / 3.783 GB, free: 61.46 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001317/9.826, allocations: 97.16 kB / 3.783 GB, free: 61.45 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.03743/9.863, allocations: 10.14 MB / 3.793 GB, free: 59.81 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/9.863, allocations: 10.59 kB / 3.793 GB, free: 59.81 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007263/9.87, allocations: 0.794 MB / 3.793 GB, free: 59.58 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/9.881, allocations: 3.021 MB / 3.796 GB, free: 58.95 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/9.882, allocations: 172.3 kB / 3.796 GB, free: 58.95 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004219/9.886, allocations: 318.4 kB / 3.797 GB, free: 58.94 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03675/9.923, allocations: 11.35 MB / 3.808 GB, free: 55.88 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03017/9.953, allocations: 8.835 MB / 3.816 GB, free: 52.42 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001505/9.953, allocations: 0 / 3.816 GB, free: 52.42 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003591/9.957, allocations: 3.969 kB / 3.816 GB, free: 52.42 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00021/9.957, allocations: 214 kB / 3.817 GB, free: 52.4 MB / 0.5108 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.06065/10.02, allocations: 23.79 MB / 3.84 GB, free: 33.39 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008159/10.03, allocations: 3.039 MB / 3.843 GB, free: 31.88 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004587/10.03, allocations: 1.987 MB / 3.845 GB, free: 30.92 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5395/10.57, allocations: 63.98 MB / 3.907 GB, free: 62.43 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.724e-05/10.57, allocations: 60.69 kB / 3.907 GB, free: 62.39 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=249): time 4.909e-06/10.57, allocations: 0 / 3.907 GB, free: 62.39 MB / 0.5265 GB Notification: Performance of matching and sorting (n=249): time 0.04653/10.62, allocations: 11.19 MB / 3.918 GB, free: 62.23 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/10.62, allocations: 77.19 kB / 3.918 GB, free: 62.16 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006583/10.62, allocations: 3.343 MB / 3.922 GB, free: 61.85 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.001843/10.63, allocations: 25.7 kB / 3.922 GB, free: 61.82 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.002366/10.63, allocations: 3.163 MB / 3.925 GB, free: 59.89 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.002742/10.63, allocations: 0.9811 MB / 3.926 GB, free: 59.34 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005556/10.63, allocations: 0 / 3.926 GB, free: 59.34 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0005942/10.63, allocations: 0.7133 MB / 3.926 GB, free: 59.02 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005737/10.64, allocations: 3.548 MB / 3.93 GB, free: 58.99 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00965/10.65, allocations: 8.55 MB / 3.938 GB, free: 52.52 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01666/10.66, allocations: 5.481 MB / 3.944 GB, free: 52.46 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000549/10.66, allocations: 50.53 kB / 3.944 GB, free: 52.46 MB / 0.5265 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.04751/10.71, allocations: 13.83 MB / 3.957 GB, free: 51.65 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.02846/10.74, allocations: 70.23 MB / 4.026 GB, free: 26.2 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007544/10.74, allocations: 177.4 kB / 4.026 GB, free: 26.2 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04168/10.78, allocations: 11.18 MB / 4.037 GB, free: 25.72 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006227/10.79, allocations: 1.715 MB / 4.038 GB, free: 25.55 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02563/10.82, allocations: 10.81 MB / 4.049 GB, free: 24.82 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/10.83, allocations: 1.142 MB / 4.05 GB, free: 24.23 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0033/10.83, allocations: 0.6328 MB / 4.051 GB, free: 24.23 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/10.83, allocations: 7.359 kB / 4.051 GB, free: 24.22 MB / 0.5733 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03307/10.86, allocations: 13.18 MB / 4.064 GB, free: 21.92 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001012/10.86, allocations: 175.7 kB / 4.064 GB, free: 21.92 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03961/10.9, allocations: 11.19 MB / 4.075 GB, free: 20.14 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005936/10.91, allocations: 1.698 MB / 4.076 GB, free: 19.93 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02497/10.93, allocations: 10.81 MB / 4.087 GB, free: 16.16 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009665/10.94, allocations: 0.822 MB / 4.088 GB, free: 15.82 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002961/10.95, allocations: 0.6365 MB / 4.088 GB, free: 15.71 MB / 0.5733 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 14 (hex.fluidState[12].phase,hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 917 * 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 {13 163} Notification: Performance of prepare postOptimizeDAE: time 0.003937/10.95, allocations: 0.5052 MB / 4.089 GB, free: 15.28 MB / 0.5733 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04082/10.99, allocations: 11.52 MB / 4.1 GB, free: 7.703 MB / 0.5733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002369/10.99, allocations: 359.5 kB / 4.1 GB, free: 7.348 MB / 0.5733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5591/11.55, allocations: 34.38 MB / 4.134 GB, free: 108.8 MB / 0.5733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001011/11.55, allocations: 72.06 kB / 4.134 GB, free: 108.8 MB / 0.5733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/11.55, allocations: 0 / 4.134 GB, free: 108.8 MB / 0.5733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-05/11.55, allocations: 14.48 kB / 4.134 GB, free: 108.8 MB / 0.5733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08509/11.64, allocations: 44.07 MB / 4.177 GB, free: 102.5 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-05/11.64, allocations: 0 / 4.177 GB, free: 102.5 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002958/11.64, allocations: 389.6 kB / 4.178 GB, free: 102.5 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03708/11.68, allocations: 8.32 MB / 4.186 GB, free: 101.7 MB / 0.5733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001738/11.68, allocations: 89.45 kB / 4.186 GB, free: 101.7 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06799/11.75, allocations: 28.97 MB / 4.214 GB, free: 91.48 MB / 0.5733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/11.75, allocations: 0.9688 kB / 4.214 GB, free: 91.48 MB / 0.5733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04586/11.79, allocations: 14.91 MB / 4.229 GB, free: 87.11 MB / 0.5733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00374/11.8, allocations: 0.9146 MB / 4.229 GB, free: 86.66 MB / 0.5733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002673/11.8, allocations: 44.92 kB / 4.23 GB, free: 86.65 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005384/11.81, allocations: 265.3 kB / 4.23 GB, free: 86.64 MB / 0.5733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002779/11.81, allocations: 255 kB / 4.23 GB, free: 86.61 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001244/11.81, allocations: 104.9 kB / 4.23 GB, free: 86.59 MB / 0.5733 GB Notification: Performance of sorting global known variables: time 0.004852/11.82, allocations: 2.101 MB / 4.232 GB, free: 85.95 MB / 0.5733 GB Notification: Performance of sort global known variables: time 5.01e-07/11.82, allocations: 0 / 4.232 GB, free: 85.95 MB / 0.5733 GB Notification: Performance of remove unused functions: time 0.02614/11.84, allocations: 3.016 MB / 4.235 GB, free: 85.73 MB / 0.5733 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 {13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.05652/11.9, allocations: 16.93 MB / 4.252 GB, free: 80.69 MB / 0.5733 GB Notification: Performance of simCode: created initialization part: time 0.04138/11.94, allocations: 15.73 MB / 4.267 GB, free: 68.44 MB / 0.5733 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/11.94, allocations: 3.938 kB / 4.267 GB, free: 68.44 MB / 0.5733 GB Notification: Performance of simCode: created simulation system equations: time 0.01385/11.95, allocations: 4.457 MB / 4.271 GB, free: 64.63 MB / 0.5733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004986/11.96, allocations: 0.5744 MB / 4.272 GB, free: 64.2 MB / 0.5733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04309/12, allocations: 11.21 MB / 4.283 GB, free: 54.75 MB / 0.5733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005123/12.01, allocations: 2.875 MB / 4.286 GB, free: 52.56 MB / 0.5733 GB Notification: Performance of simCode: alias equations: time 0.01555/12.02, allocations: 5.692 MB / 4.291 GB, free: 49.14 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0045/12.03, allocations: 1.786 MB / 4.293 GB, free: 47.5 MB / 0.5733 GB Notification: Performance of SimCode: time 1.342e-06/12.03, allocations: 0 / 4.293 GB, free: 47.5 MB / 0.5733 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.766/12.79, allocations: 209.7 MB / 4.498 GB, free: 26.32 MB / 0.5733 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/12.79, allocations: 159.7 kB / 4.498 GB, free: 26.12 MB / 0.5733 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/20.55, allocations: 4 kB / 4.498 GB, free: 26.12 MB / 0.5733 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_A_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_A.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe 2>&1)