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.002176/0.002176, 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 2.049/2.049, 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.0009832/0.0009839, allocations: 78.66 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.3518/0.3518, allocations: 48.78 MB / 364.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.048e-05/4.057e-05, allocations: 7.938 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1503, allocations: 60.25 MB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.129/8.279, allocations: 2.943 GB / 3.424 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/8.28, allocations: 85.72 kB / 3.424 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.222/9.501, allocations: 378.1 MB / 3.794 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.973e-06/9.502, allocations: 3.938 kB / 3.794 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001659/9.502, allocations: 98.98 kB / 3.794 GB, free: 11.03 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.03526/9.537, allocations: 10.14 MB / 3.804 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/9.537, allocations: 8.031 kB / 3.804 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004775/9.542, allocations: 0.7673 MB / 3.804 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4419/9.984, allocations: 0.7915 MB / 3.805 GB, free: 46.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/9.999, allocations: 3.015 MB / 3.808 GB, free: 46.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005033/10, allocations: 403.6 kB / 3.808 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004625/10, allocations: 0.514 MB / 3.809 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05035/10.05, allocations: 12.12 MB / 3.821 GB, free: 45.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/10.05, allocations: 1.125 kB / 3.821 GB, free: 45.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00304/10.06, allocations: 218.1 kB / 3.821 GB, free: 45.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003189/10.06, allocations: 209.3 kB / 3.821 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05479/10.11, allocations: 14.1 MB / 3.835 GB, free: 45.83 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.05879/10.17, allocations: 24.32 MB / 3.859 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/10.18, allocations: 4.634 MB / 3.863 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004056/10.19, allocations: 2.053 MB / 3.865 GB, free: 35.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.126/10.31, allocations: 63.99 MB / 3.928 GB, free: 27.56 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.051e-05/10.31, allocations: 65.88 kB / 3.928 GB, free: 27.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=249): time 9.478e-06/10.31, allocations: 0 / 3.928 GB, free: 27.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=249): time 0.05291/10.37, allocations: 12.76 MB / 3.94 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/10.37, allocations: 78.59 kB / 3.94 GB, free: 26.88 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/10.38, allocations: 3.527 MB / 3.944 GB, free: 26.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002064/10.38, allocations: 72.45 kB / 3.944 GB, free: 26.37 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004099/10.38, allocations: 3.175 MB / 3.947 GB, free: 24.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004055/10.39, allocations: 1.004 MB / 3.948 GB, free: 23.74 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003199/10.39, allocations: 170.5 kB / 3.948 GB, free: 23.74 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001571/10.39, allocations: 0.7178 MB / 3.949 GB, free: 23.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01165/10.4, allocations: 3.709 MB / 3.952 GB, free: 23.13 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01549/10.42, allocations: 8.769 MB / 3.961 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/10.43, allocations: 5.372 MB / 3.966 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004477/10.44, allocations: 48 kB / 3.966 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.0548/10.49, allocations: 14.73 MB / 3.981 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.48/10.97, allocations: 70.23 MB / 4.049 GB, free: 55.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000826/10.97, allocations: 176.3 kB / 4.049 GB, free: 55.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04794/11.02, allocations: 11.34 MB / 4.06 GB, free: 55.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007482/11.03, allocations: 1.715 MB / 4.062 GB, free: 55.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02632/11.05, allocations: 9.735 MB / 4.072 GB, free: 54.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01021/11.06, allocations: 1.323 MB / 4.073 GB, free: 54.75 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002939/11.07, allocations: 0.6393 MB / 4.074 GB, free: 54.75 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/11.07, allocations: 3.938 kB / 4.074 GB, free: 54.75 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02785/11.09, allocations: 14.25 MB / 4.087 GB, free: 54.25 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001145/11.1, allocations: 179.9 kB / 4.088 GB, free: 54.25 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04148/11.14, allocations: 11.34 MB / 4.099 GB, free: 54.21 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00614/11.14, allocations: 1.702 MB / 4.1 GB, free: 54.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/11.16, allocations: 9.727 MB / 4.11 GB, free: 53.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009697/11.17, allocations: 0.9975 MB / 4.111 GB, free: 53.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00267/11.18, allocations: 0.6302 MB / 4.111 GB, free: 53.16 MB / 0.573 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.003127/11.18, allocations: 0.7101 MB / 4.112 GB, free: 52.79 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/11.18, allocations: 361.5 kB / 4.112 GB, free: 52.59 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05543/11.24, allocations: 33.1 MB / 4.145 GB, free: 49.88 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.352e-05/11.24, allocations: 70.66 kB / 4.145 GB, free: 49.87 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/11.24, allocations: 0 / 4.145 GB, free: 49.87 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.441e-05/11.24, allocations: 13.97 kB / 4.145 GB, free: 49.87 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06535/11.3, allocations: 44.62 MB / 4.188 GB, free: 24.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.157e-05/11.3, allocations: 4 kB / 4.188 GB, free: 24.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002745/11.3, allocations: 396.6 kB / 4.189 GB, free: 24.36 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03502/11.34, allocations: 8.401 MB / 4.197 GB, free: 19.19 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00174/11.34, allocations: 125.2 kB / 4.197 GB, free: 19.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5001/11.84, allocations: 29.96 MB / 4.226 GB, free: 88.18 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/11.84, allocations: 3.781 kB / 4.226 GB, free: 88.18 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04701/11.89, allocations: 15.09 MB / 4.241 GB, free: 87.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003619/11.89, allocations: 0.9229 MB / 4.242 GB, free: 87.18 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001988/11.89, allocations: 84 kB / 4.242 GB, free: 87.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00489/11.9, allocations: 312.6 kB / 4.242 GB, free: 87.16 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002492/11.9, allocations: 253 kB / 4.243 GB, free: 87.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001068/11.9, allocations: 102.5 kB / 4.243 GB, free: 87.16 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004732/11.91, allocations: 2.302 MB / 4.245 GB, free: 86.99 MB / 0.573 GB Notification: Performance of sort global known variables: time 3e-07/11.91, allocations: 0 / 4.245 GB, free: 86.99 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02399/11.93, allocations: 3.389 MB / 4.248 GB, free: 86.79 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 (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.05615/11.99, allocations: 17.04 MB / 4.265 GB, free: 85.47 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04481/12.03, allocations: 16.63 MB / 4.281 GB, free: 84.96 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.727e-05/12.03, allocations: 0 / 4.281 GB, free: 84.96 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01531/12.05, allocations: 4.598 MB / 4.286 GB, free: 84.62 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006203/12.05, allocations: 0.6627 MB / 4.286 GB, free: 84.59 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04305/12.1, allocations: 11.58 MB / 4.298 GB, free: 82.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0043/12.1, allocations: 2.88 MB / 4.3 GB, free: 82.16 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01474/12.12, allocations: 5.689 MB / 4.306 GB, free: 82.04 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004468/12.12, allocations: 1.781 MB / 4.308 GB, free: 82.03 MB / 0.573 GB Notification: Performance of SimCode: time 2.515e-06/12.12, allocations: 0 / 4.308 GB, free: 82.03 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8049/12.93, allocations: 221.9 MB / 4.524 GB, free: 85.52 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/12.93, allocations: 198.9 kB / 4.525 GB, free: 85.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.245/21.17, allocations: 0 / 4.525 GB, free: 85.3 MB / 0.573 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)