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.001413/0.001412, allocations: 176.2 kB / 8.348 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 2.007/2.007, 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.0008325/0.0008327, allocations: 92.88 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.6063/0.6063, allocations: 48.77 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.773e-05, allocations: 4 kB / 425.4 MB, free: 8.152 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1602, allocations: 60.26 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.841/8.001, allocations: 2.942 GB / 3.416 GB, free: 62.43 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/8.002, allocations: 80.95 kB / 3.416 GB, free: 62.39 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.549/9.551, allocations: 373.7 MB / 3.781 GB, free: 61.55 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.815e-06/9.551, allocations: 0 / 3.781 GB, free: 61.55 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001304/9.551, allocations: 91.95 kB / 3.781 GB, free: 61.55 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: 1363 * Number of variables: 1363 Notification: Performance of Generate backend data structure: time 0.03589/9.587, allocations: 10.02 MB / 3.791 GB, free: 59.64 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/9.587, allocations: 7.781 kB / 3.791 GB, free: 59.64 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006869/9.594, allocations: 0.7842 MB / 3.792 GB, free: 59.34 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/9.605, allocations: 2.93 MB / 3.795 GB, free: 58.36 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/9.606, allocations: 167.2 kB / 3.795 GB, free: 58.36 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003678/9.609, allocations: 310.5 kB / 3.795 GB, free: 58.36 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0362/9.646, allocations: 11.23 MB / 3.806 GB, free: 55.34 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02877/9.674, allocations: 8.714 MB / 3.815 GB, free: 52.41 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003226/9.675, allocations: 0 / 3.815 GB, free: 52.41 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00377/9.679, allocations: 3.562 kB / 3.815 GB, free: 52.41 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/9.679, allocations: 209.6 kB / 3.815 GB, free: 52.39 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.05317/9.732, allocations: 23.46 MB / 3.838 GB, free: 34.38 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005361/9.737, allocations: 2.947 MB / 3.841 GB, free: 32.91 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003454/9.741, allocations: 1.893 MB / 3.842 GB, free: 32 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5494/10.29, allocations: 63.99 MB / 3.905 GB, free: 62.92 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/10.29, allocations: 61.41 kB / 3.905 GB, free: 62.88 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=245): time 5.26e-06/10.29, allocations: 0 / 3.905 GB, free: 62.88 MB / 0.5265 GB Notification: Performance of matching and sorting (n=245): time 0.03592/10.33, allocations: 9.966 MB / 3.915 GB, free: 62.72 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/10.33, allocations: 77.12 kB / 3.915 GB, free: 62.66 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006582/10.33, allocations: 3.347 MB / 3.918 GB, free: 62.34 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.001795/10.33, allocations: 32.02 kB / 3.918 GB, free: 62.31 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.002361/10.34, allocations: 3.155 MB / 3.921 GB, free: 60.36 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.002588/10.34, allocations: 0.9617 MB / 3.922 GB, free: 59.82 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008876/10.34, allocations: 0 / 3.922 GB, free: 59.82 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0005763/10.34, allocations: 0.7095 MB / 3.923 GB, free: 59.48 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005374/10.35, allocations: 3.496 MB / 3.926 GB, free: 59.46 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01138/10.36, allocations: 8.571 MB / 3.935 GB, free: 52.88 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/10.37, allocations: 5.438 MB / 3.94 GB, free: 52.83 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004105/10.37, allocations: 51.47 kB / 3.94 GB, free: 52.83 MB / 0.5265 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.03952/10.41, allocations: 13.62 MB / 3.953 GB, free: 51.97 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0282/10.44, allocations: 71.36 MB / 4.023 GB, free: 25.47 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001021/10.44, allocations: 177.1 kB / 4.023 GB, free: 25.47 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03664/10.48, allocations: 9.896 MB / 4.033 GB, free: 25.05 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006785/10.49, allocations: 1.763 MB / 4.034 GB, free: 24.88 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0292/10.52, allocations: 9.909 MB / 4.044 GB, free: 24.18 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01181/10.53, allocations: 1.133 MB / 4.045 GB, free: 23.58 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00355/10.53, allocations: 0.6437 MB / 4.046 GB, free: 23.58 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/10.53, allocations: 0 / 4.046 GB, free: 23.58 MB / 0.5733 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03157/10.56, allocations: 12.96 MB / 4.059 GB, free: 21.36 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009283/10.56, allocations: 182.4 kB / 4.059 GB, free: 21.35 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03268/10.6, allocations: 9.892 MB / 4.068 GB, free: 19.7 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006067/10.6, allocations: 1.75 MB / 4.07 GB, free: 19.48 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/10.62, allocations: 9.907 MB / 4.08 GB, free: 15.99 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008847/10.63, allocations: 0.8116 MB / 4.081 GB, free: 15.64 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002477/10.63, allocations: 0.6381 MB / 4.081 GB, free: 15.54 MB / 0.5733 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.00347/10.64, allocations: 0.5163 MB / 4.082 GB, free: 15.1 MB / 0.5733 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03275/10.67, allocations: 10.28 MB / 4.092 GB, free: 11.43 MB / 0.5733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/10.67, allocations: 351.6 kB / 4.092 GB, free: 11.08 MB / 0.5733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4803/11.15, allocations: 31.73 MB / 4.123 GB, free: 108.8 MB / 0.5733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/11.15, allocations: 69.27 kB / 4.123 GB, free: 108.8 MB / 0.5733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/11.15, allocations: 0 / 4.123 GB, free: 108.8 MB / 0.5733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.991e-05/11.15, allocations: 16.34 kB / 4.123 GB, free: 108.8 MB / 0.5733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07034/11.22, allocations: 42.69 MB / 4.165 GB, free: 102.2 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-05/11.22, allocations: 0.9375 kB / 4.165 GB, free: 102.2 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002913/11.23, allocations: 419.2 kB / 4.165 GB, free: 102.2 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02929/11.26, allocations: 6.85 MB / 4.172 GB, free: 101.6 MB / 0.5733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00149/11.26, allocations: 91.23 kB / 4.172 GB, free: 101.5 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04917/11.31, allocations: 26.07 MB / 4.197 GB, free: 92.15 MB / 0.5733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/11.31, allocations: 3.234 kB / 4.197 GB, free: 92.15 MB / 0.5733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03395/11.34, allocations: 13.57 MB / 4.211 GB, free: 87.97 MB / 0.5733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003497/11.34, allocations: 0.8941 MB / 4.212 GB, free: 87.53 MB / 0.5733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/11.35, allocations: 46.11 kB / 4.212 GB, free: 87.52 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003649/11.35, allocations: 237.5 kB / 4.212 GB, free: 87.51 MB / 0.5733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001266/11.35, allocations: 242.5 kB / 4.212 GB, free: 87.47 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003098/11.35, allocations: 95.73 kB / 4.212 GB, free: 87.46 MB / 0.5733 GB Notification: Performance of sorting global known variables: time 0.003102/11.35, allocations: 2.113 MB / 4.214 GB, free: 86.82 MB / 0.5733 GB Notification: Performance of sort global known variables: time 3.2e-07/11.35, allocations: 0 / 4.214 GB, free: 86.82 MB / 0.5733 GB Notification: Performance of remove unused functions: time 0.02225/11.38, allocations: 2.936 MB / 4.217 GB, free: 86.61 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 (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.0441/11.42, allocations: 15.59 MB / 4.232 GB, free: 81.77 MB / 0.5733 GB Notification: Performance of simCode: created initialization part: time 0.03187/11.45, allocations: 15.1 MB / 4.247 GB, free: 73.78 MB / 0.5733 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/11.45, allocations: 0 / 4.247 GB, free: 73.78 MB / 0.5733 GB Notification: Performance of simCode: created simulation system equations: time 0.009901/11.46, allocations: 4.062 MB / 4.251 GB, free: 70.23 MB / 0.5733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/11.47, allocations: 0.5809 MB / 4.252 GB, free: 69.79 MB / 0.5733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02893/11.5, allocations: 11 MB / 4.262 GB, free: 60.71 MB / 0.5733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/11.5, allocations: 2.833 MB / 4.265 GB, free: 58.55 MB / 0.5733 GB Notification: Performance of simCode: alias equations: time 0.0131/11.51, allocations: 5.903 MB / 4.271 GB, free: 55.01 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003146/11.51, allocations: 1.754 MB / 4.273 GB, free: 53.4 MB / 0.5733 GB Notification: Performance of SimCode: time 1.182e-06/11.51, allocations: 0 / 4.273 GB, free: 53.4 MB / 0.5733 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7025/12.22, allocations: 205.3 MB / 4.473 GB, free: 38 MB / 0.5733 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/12.22, allocations: 160 kB / 4.473 GB, free: 37.8 MB / 0.5733 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/19.44, allocations: 0 / 4.473 GB, free: 37.8 MB / 0.5733 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)