Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.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.TestWaterFlow1DFV_A_Fast,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_Fast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_Fast",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.001436/0.001436, allocations: 180.1 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.786/1.786, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001016/0.001017, allocations: 91.94 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.6084/0.6084, allocations: 48.78 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004298, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1664, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.239/9.405, allocations: 3.284 GB / 3.772 GB, free: 66.26 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/9.406, allocations: 85.92 kB / 3.772 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.736/14.14, allocations: 1.342 GB / 5.114 GB, free: 69.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.272e-06/14.14, allocations: 0 / 5.114 GB, free: 69.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.576e-05/14.14, allocations: 47.38 kB / 5.114 GB, free: 69.39 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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.0147/14.16, allocations: 4.143 MB / 5.118 GB, free: 67.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/14.16, allocations: 19.58 kB / 5.118 GB, free: 67.97 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001661/14.16, allocations: 353.8 kB / 5.118 GB, free: 67.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000943/14.16, allocations: 252.1 kB / 5.118 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005326/14.16, allocations: 1.578 MB / 5.12 GB, free: 67.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/14.16, allocations: 177.6 kB / 5.12 GB, free: 67.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006318/14.17, allocations: 268.5 kB / 5.12 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006688/14.17, allocations: 3.9 MB / 5.124 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/14.17, allocations: 7.953 kB / 5.124 GB, free: 67.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002807/14.17, allocations: 92.78 kB / 5.124 GB, free: 67.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/14.17, allocations: 144.4 kB / 5.124 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008592/14.18, allocations: 5.663 MB / 5.13 GB, free: 66.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02599/14.21, allocations: 15.5 MB / 5.145 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00868/14.22, allocations: 4.819 MB / 5.15 GB, free: 54.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01491/14.23, allocations: 9.709 MB / 5.159 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.338e-05/14.23, allocations: 59.66 kB / 5.159 GB, free: 47.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 5.981e-06/14.23, allocations: 0 / 5.159 GB, free: 47.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.0231/14.25, allocations: 9.069 MB / 5.168 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/14.25, allocations: 73.41 kB / 5.168 GB, free: 43.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/14.26, allocations: 0.7093 MB / 5.169 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003634/14.26, allocations: 65.7 kB / 5.169 GB, free: 42.74 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004625/14.26, allocations: 0.8495 MB / 5.17 GB, free: 41.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008112/14.26, allocations: 0.8406 MB / 5.171 GB, free: 41.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/14.26, allocations: 56 kB / 5.171 GB, free: 41.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001782/14.26, allocations: 461.2 kB / 5.171 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/14.26, allocations: 1.41 MB / 5.173 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/14.26, allocations: 2.083 MB / 5.175 GB, free: 37.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/14.26, allocations: 1.729 MB / 5.176 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/14.26, allocations: 4 kB / 5.176 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007526/14.27, allocations: 4.52 MB / 5.181 GB, free: 31.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002141/14.27, allocations: 7.153 MB / 5.188 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-05/14.27, allocations: 21.88 kB / 5.188 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004417/14.28, allocations: 1.267 MB / 5.189 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/14.28, allocations: 494.2 kB / 5.189 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007804/14.29, allocations: 11.61 MB / 5.201 GB, free: 27.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004779/14.29, allocations: 390.8 kB / 5.201 GB, free: 26.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/14.29, allocations: 119.6 kB / 5.201 GB, free: 26.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/14.29, allocations: 4 kB / 5.201 GB, free: 26.61 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01096/14.31, allocations: 4.315 MB / 5.205 GB, free: 22.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-05/14.31, allocations: 16 kB / 5.205 GB, free: 22.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00459/14.31, allocations: 1.268 MB / 5.207 GB, free: 21.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/14.31, allocations: 479.1 kB / 5.207 GB, free: 21.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/14.32, allocations: 11.61 MB / 5.218 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/14.33, allocations: 351 kB / 5.219 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008359/14.33, allocations: 115.4 kB / 5.219 GB, free: 9.285 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 263 * 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: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.002497/14.33, allocations: 0.7316 MB / 5.22 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008677/14.33, allocations: 149.9 kB / 5.22 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/14.34, allocations: 5.556 MB / 5.225 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.724e-05/14.35, allocations: 24 kB / 5.225 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.911e-05/14.35, allocations: 16.94 kB / 5.225 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.563e-05/14.35, allocations: 12.66 kB / 5.225 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006711/14.35, allocations: 2.501 MB / 5.228 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/14.35, allocations: 4 kB / 5.228 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/14.35, allocations: 328.9 kB / 5.228 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009833/14.36, allocations: 2.687 MB / 5.231 GB, free: 24 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001243/14.37, allocations: 103.2 kB / 5.231 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4329/14.8, allocations: 12.4 MB / 5.243 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/14.8, allocations: 0.5938 kB / 5.243 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/14.81, allocations: 7.227 MB / 5.25 GB, free: 79.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/14.82, allocations: 0.5705 MB / 5.25 GB, free: 79.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004025/14.82, allocations: 62.5 kB / 5.251 GB, free: 79.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/14.82, allocations: 196.5 kB / 5.251 GB, free: 79.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007285/14.82, allocations: 179.1 kB / 5.251 GB, free: 79.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/14.82, allocations: 87.97 kB / 5.251 GB, free: 79.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007035/14.82, allocations: 0.5199 MB / 5.251 GB, free: 79.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/14.82, allocations: 0 / 5.251 GB, free: 79.31 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006257/14.83, allocations: 1.611 MB / 5.253 GB, free: 79.19 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 179 * 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: 1 {(19,57.6%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01426/14.84, allocations: 8 MB / 5.261 GB, free: 78.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02081/14.86, allocations: 7.039 MB / 5.268 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/14.86, allocations: 0 / 5.268 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008639/14.87, allocations: 2.706 MB / 5.27 GB, free: 77.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005754/14.88, allocations: 0.8662 MB / 5.271 GB, free: 77.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04679/14.92, allocations: 28.42 MB / 5.299 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002274/14.92, allocations: 1.686 MB / 5.301 GB, free: 61.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005969/14.93, allocations: 1.277 MB / 5.302 GB, free: 61.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002213/14.93, allocations: 0.7706 MB / 5.303 GB, free: 60.44 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/14.93, allocations: 0 / 5.303 GB, free: 60.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1563/15.09, allocations: 72.37 MB / 5.373 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/15.09, allocations: 238.1 kB / 5.374 GB, free: 52.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.666/19.76, allocations: 0 / 5.374 GB, free: 52.08 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_Fast_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_Fast.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe 2>&1)