Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.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_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_C",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_C",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.001256/0.001256, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.889/1.889, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001293/0.001293, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3313/0.3313, allocations: 48.78 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.351e-05, allocations: 4 kB / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 60.25 MB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.066/8.202, allocations: 2.943 GB / 3.424 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/8.202, allocations: 86.58 kB / 3.424 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.209/9.411, allocations: 376.8 MB / 3.792 GB, free: 17.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/9.411, allocations: 0 / 3.792 GB, free: 17.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001873/9.411, allocations: 94.98 kB / 3.792 GB, free: 17.31 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: 1363 * Number of variables: 1363 Notification: Performance of Generate backend data structure: time 0.03376/9.445, allocations: 10.02 MB / 3.802 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/9.445, allocations: 8.031 kB / 3.802 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00487/9.45, allocations: 0.7471 MB / 3.803 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007258/9.457, allocations: 0.7833 MB / 3.803 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/9.468, allocations: 2.938 MB / 3.806 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005937/9.469, allocations: 398.5 kB / 3.807 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00427/9.473, allocations: 0.5039 MB / 3.807 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4806/9.954, allocations: 11.97 MB / 3.819 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003666/9.954, allocations: 0.75 kB / 3.819 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003391/9.958, allocations: 213.9 kB / 3.819 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/9.958, allocations: 206.9 kB / 3.819 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05571/10.01, allocations: 13.97 MB / 3.833 GB, free: 44.72 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.0531/10.07, allocations: 23.99 MB / 3.856 GB, free: 34.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/10.08, allocations: 4.541 MB / 3.861 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004324/10.08, allocations: 1.965 MB / 3.863 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1345/10.22, allocations: 64 MB / 3.925 GB, free: 26.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/10.22, allocations: 72.61 kB / 3.925 GB, free: 26.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=245): time 8.586e-06/10.22, allocations: 0 / 3.925 GB, free: 26.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=245): time 0.05044/10.27, allocations: 11.51 MB / 3.936 GB, free: 26 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/10.27, allocations: 80.77 kB / 3.936 GB, free: 25.94 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009604/10.28, allocations: 3.552 MB / 3.94 GB, free: 25.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002091/10.28, allocations: 67.86 kB / 3.94 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003506/10.28, allocations: 3.158 MB / 3.943 GB, free: 23.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00337/10.29, allocations: 0.9971 MB / 3.944 GB, free: 23 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/10.29, allocations: 175.8 kB / 3.944 GB, free: 23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000787/10.29, allocations: 0.716 MB / 3.945 GB, free: 22.67 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0065/10.3, allocations: 3.654 MB / 3.948 GB, free: 22.64 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00931/10.3, allocations: 8.787 MB / 3.957 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/10.32, allocations: 5.331 MB / 3.962 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003143/10.32, allocations: 53.66 kB / 3.962 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.03361/10.35, allocations: 14.52 MB / 3.976 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.4666/10.82, allocations: 71.36 MB / 4.046 GB, free: 63.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009254/10.82, allocations: 179.5 kB / 4.046 GB, free: 63.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03929/10.86, allocations: 10.01 MB / 4.056 GB, free: 63.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006509/10.86, allocations: 1.766 MB / 4.058 GB, free: 63.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/10.88, allocations: 8.91 MB / 4.067 GB, free: 62.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00897/10.89, allocations: 1.302 MB / 4.068 GB, free: 62.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002592/10.89, allocations: 0.6455 MB / 4.068 GB, free: 62.48 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/10.89, allocations: 3.531 kB / 4.068 GB, free: 62.48 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02929/10.92, allocations: 14.04 MB / 4.082 GB, free: 61.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009279/10.92, allocations: 182.3 kB / 4.082 GB, free: 61.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03485/10.96, allocations: 10.01 MB / 4.092 GB, free: 61.88 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005759/10.96, allocations: 1.751 MB / 4.094 GB, free: 61.72 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01998/10.98, allocations: 8.913 MB / 4.103 GB, free: 61.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008647/10.99, allocations: 0.9802 MB / 4.104 GB, free: 60.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00258/11, allocations: 0.6386 MB / 4.104 GB, free: 60.71 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * 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 (949): * Single equations (assignments): 948 * 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 141} Notification: Performance of prepare postOptimizeDAE: time 0.004199/11, allocations: 0.7151 MB / 4.105 GB, free: 60.33 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/11, allocations: 364.8 kB / 4.105 GB, free: 60.14 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05203/11.05, allocations: 31.84 MB / 4.136 GB, free: 58.03 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/11.05, allocations: 68.69 kB / 4.136 GB, free: 58.02 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/11.05, allocations: 3.938 kB / 4.136 GB, free: 58.01 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001262/11.05, allocations: 21.66 kB / 4.136 GB, free: 58.01 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07162/11.13, allocations: 43.26 MB / 4.179 GB, free: 38.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-05/11.13, allocations: 2.75 kB / 4.179 GB, free: 38.15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003245/11.13, allocations: 418 kB / 4.179 GB, free: 37.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03002/11.16, allocations: 6.922 MB / 4.186 GB, free: 33.66 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001643/11.16, allocations: 123.4 kB / 4.186 GB, free: 33.58 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05709/11.22, allocations: 26.92 MB / 4.212 GB, free: 11.34 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/11.22, allocations: 4 kB / 4.212 GB, free: 11.33 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4609/11.68, allocations: 13.97 MB / 4.226 GB, free: 89.17 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004257/11.68, allocations: 0.8991 MB / 4.227 GB, free: 89.03 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009893/11.68, allocations: 92.41 kB / 4.227 GB, free: 89.03 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003576/11.69, allocations: 282.8 kB / 4.227 GB, free: 89.02 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001458/11.69, allocations: 236.9 kB / 4.227 GB, free: 89.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003587/11.69, allocations: 102 kB / 4.227 GB, free: 89.02 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003966/11.69, allocations: 2.306 MB / 4.23 GB, free: 88.86 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/11.69, allocations: 0 / 4.23 GB, free: 88.86 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02456/11.72, allocations: 3.323 MB / 4.233 GB, free: 88.73 MB / 0.573 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 (166): * Single equations (assignments): 151 * 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 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.04981/11.77, allocations: 15.67 MB / 4.248 GB, free: 87.45 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03475/11.8, allocations: 16 MB / 4.264 GB, free: 87.02 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/11.8, allocations: 3.281 kB / 4.264 GB, free: 87.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01333/11.82, allocations: 4.202 MB / 4.268 GB, free: 86.68 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005015/11.82, allocations: 0.6536 MB / 4.269 GB, free: 86.66 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03581/11.86, allocations: 11.34 MB / 4.28 GB, free: 85.07 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004418/11.86, allocations: 2.827 MB / 4.282 GB, free: 84.28 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01552/11.88, allocations: 5.906 MB / 4.288 GB, free: 84.22 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003853/11.88, allocations: 1.753 MB / 4.29 GB, free: 84.21 MB / 0.573 GB Notification: Performance of SimCode: time 2.404e-06/11.88, allocations: 0 / 4.29 GB, free: 84.21 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7146/12.6, allocations: 217.3 MB / 4.502 GB, free: 78.14 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/12.6, allocations: 203.4 kB / 4.502 GB, free: 77.91 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/20.35, allocations: 4.922 kB / 4.502 GB, free: 77.91 MB / 0.573 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_C_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_C.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe 2>&1)