Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.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_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_D",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.001166/0.001166, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.924/1.924, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0009417/0.0009416, allocations: 88.16 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5073/0.5073, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 12 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1298, allocations: 60.24 MB / 499 MB, free: 14.49 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.064/7.194, allocations: 2.937 GB / 3.424 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/7.194, allocations: 80.22 kB / 3.424 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.352/8.546, allocations: 307.3 MB / 3.724 GB, free: 54.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.008e-06/8.546, allocations: 0 / 3.724 GB, free: 54.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001755/8.547, allocations: 88.53 kB / 3.725 GB, free: 54.67 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: 1341 * Number of variables: 1341 Notification: Performance of Generate backend data structure: time 0.03704/8.584, allocations: 9.997 MB / 3.734 GB, free: 53.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/8.584, allocations: 7.312 kB / 3.734 GB, free: 53.31 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004662/8.588, allocations: 0.7422 MB / 3.735 GB, free: 53.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007635/8.596, allocations: 0.7672 MB / 3.736 GB, free: 53.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/8.609, allocations: 2.895 MB / 3.739 GB, free: 52.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007184/8.61, allocations: 389.7 kB / 3.739 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005262/8.616, allocations: 0.5068 MB / 3.739 GB, free: 52.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0433/8.659, allocations: 11.86 MB / 3.751 GB, free: 52.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005678/8.66, allocations: 1.422 kB / 3.751 GB, free: 52.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004265/8.664, allocations: 218.8 kB / 3.751 GB, free: 52.24 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002935/8.664, allocations: 205.2 kB / 3.751 GB, free: 52.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05897/8.723, allocations: 13.92 MB / 3.765 GB, free: 52.18 MB / 0.5105 GB 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.0612/8.785, allocations: 24.76 MB / 3.789 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/8.797, allocations: 4.374 MB / 3.794 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1215/8.918, allocations: 63.77 MB / 3.856 GB, free: 33.08 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.807e-05/8.919, allocations: 63.03 kB / 3.856 GB, free: 33.02 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=240): time 5.651e-06/8.919, allocations: 0 / 3.856 GB, free: 33.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=240): time 0.1087/9.027, allocations: 22.81 MB / 3.878 GB, free: 29.01 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/9.027, allocations: 78.34 kB / 3.878 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008211/9.036, allocations: 3.566 MB / 3.882 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001856/9.038, allocations: 69.7 kB / 3.882 GB, free: 27.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003152/9.041, allocations: 3.133 MB / 3.885 GB, free: 24.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00288/9.044, allocations: 0.9772 MB / 3.886 GB, free: 23.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002183/9.046, allocations: 172 kB / 3.886 GB, free: 23.76 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0008172/9.047, allocations: 0.7104 MB / 3.887 GB, free: 23.15 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007046/9.054, allocations: 3.726 MB / 3.89 GB, free: 20.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01136/9.065, allocations: 8.848 MB / 3.899 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/9.076, allocations: 5.356 MB / 3.904 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002324/9.076, allocations: 55.94 kB / 3.904 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.4081/9.485, allocations: 15.4 MB / 3.919 GB, free: 72.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.03395/9.519, allocations: 71.36 MB / 3.989 GB, free: 30.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001017/9.52, allocations: 185.3 kB / 3.989 GB, free: 30.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04008/9.56, allocations: 10.19 MB / 3.999 GB, free: 30.47 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006353/9.566, allocations: 1.742 MB / 4.001 GB, free: 30.47 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/9.585, allocations: 8.99 MB / 4.01 GB, free: 29.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01036/9.595, allocations: 1.277 MB / 4.011 GB, free: 29.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003287/9.599, allocations: 0.6377 MB / 4.011 GB, free: 29.66 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/9.599, allocations: 7.375 kB / 4.011 GB, free: 29.66 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04502/9.644, allocations: 14.62 MB / 4.026 GB, free: 28.86 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001023/9.645, allocations: 183.2 kB / 4.026 GB, free: 28.86 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03829/9.683, allocations: 10.19 MB / 4.036 GB, free: 28.83 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00644/9.69, allocations: 1.734 MB / 4.037 GB, free: 28.67 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/9.708, allocations: 8.975 MB / 4.046 GB, free: 27.99 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009278/9.717, allocations: 0.9615 MB / 4.047 GB, free: 27.81 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003706/9.721, allocations: 0.6317 MB / 4.048 GB, free: 27.81 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: 12 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (943): * Single equations (assignments): 942 * 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 142} Notification: Performance of prepare postOptimizeDAE: time 0.007872/9.729, allocations: 1.851 MB / 4.05 GB, free: 27.33 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/9.73, allocations: 353.2 kB / 4.05 GB, free: 27.14 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04899/9.779, allocations: 30.62 MB / 4.08 GB, free: 17.65 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000106/9.78, allocations: 62.91 kB / 4.08 GB, free: 17.64 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/9.78, allocations: 0 / 4.08 GB, free: 17.64 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/9.78, allocations: 22.3 kB / 4.08 GB, free: 17.64 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4599/10.24, allocations: 41.85 MB / 4.121 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-05/10.24, allocations: 0.9688 kB / 4.121 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/10.24, allocations: 396.6 kB / 4.121 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03174/10.27, allocations: 6.964 MB / 4.128 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002004/10.28, allocations: 124.4 kB / 4.128 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05707/10.33, allocations: 29.66 MB / 4.157 GB, free: 97.95 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/10.33, allocations: 3.406 kB / 4.157 GB, free: 97.95 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04144/10.38, allocations: 13.59 MB / 4.17 GB, free: 97.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003857/10.38, allocations: 0.8857 MB / 4.171 GB, free: 96.92 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00195/10.38, allocations: 83.36 kB / 4.171 GB, free: 96.92 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004854/10.39, allocations: 269.4 kB / 4.172 GB, free: 96.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002429/10.39, allocations: 239.2 kB / 4.172 GB, free: 96.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009813/10.39, allocations: 96.12 kB / 4.172 GB, free: 96.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004624/10.39, allocations: 2.321 MB / 4.174 GB, free: 96.75 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.794e-06/10.39, allocations: 0 / 4.174 GB, free: 96.75 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02408/10.42, allocations: 3.279 MB / 4.177 GB, free: 96.58 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: 24 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {13 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.05121/10.47, allocations: 15.4 MB / 4.192 GB, free: 94.59 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03791/10.51, allocations: 16.09 MB / 4.208 GB, free: 90.05 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/10.51, allocations: 3.594 kB / 4.208 GB, free: 90.05 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/10.52, allocations: 4.268 MB / 4.212 GB, free: 88.32 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/10.52, allocations: 0.6084 MB / 4.213 GB, free: 88.11 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4539/10.98, allocations: 165.5 MB / 4.374 GB, free: 92.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/10.98, allocations: 2.772 MB / 4.377 GB, free: 91.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01454/10.99, allocations: 5.756 MB / 4.383 GB, free: 91.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004627/11, allocations: 1.697 MB / 4.384 GB, free: 91.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.074e-06/11, allocations: 0 / 4.384 GB, free: 91.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6979/11.7, allocations: 208.8 MB / 4.588 GB, free: 126 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/11.7, allocations: 224.8 kB / 4.589 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/19.46, allocations: 0 / 4.589 GB, free: 125.8 MB / 0.6042 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_D_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_D.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe 2>&1)