Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_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.TestWaterFlow1DFV_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_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.001428/0.001428, allocations: 174.8 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.868/1.868, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009666/0.0009667, allocations: 78.8 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3624/0.3624, allocations: 48.79 MB / 364.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.897e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1507, allocations: 60.25 MB / 492.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.217/8.368, allocations: 2.957 GB / 3.438 GB, free: 57.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/8.368, allocations: 79.84 kB / 3.438 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.541/9.909, allocations: 366.7 MB / 3.796 GB, free: 69.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.787e-06/9.91, allocations: 7.906 kB / 3.796 GB, free: 69.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001198/9.91, allocations: 52.78 kB / 3.796 GB, free: 69.18 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: 762 * Number of variables: 762 Notification: Performance of Generate backend data structure: time 0.02447/9.934, allocations: 4.484 MB / 3.801 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.796e-05/9.934, allocations: 7.375 kB / 3.801 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003368/9.938, allocations: 417.3 kB / 3.801 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007128/9.945, allocations: 0.8248 MB / 3.802 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008374/9.953, allocations: 1.818 MB / 3.804 GB, free: 66.42 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/9.954, allocations: 211.7 kB / 3.804 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002486/9.956, allocations: 313.3 kB / 3.804 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03016/9.986, allocations: 8.643 MB / 3.813 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002593/9.987, allocations: 7.672 kB / 3.813 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002142/9.989, allocations: 117.6 kB / 3.813 GB, free: 63.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/9.989, allocations: 155.6 kB / 3.813 GB, free: 63.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02905/10.02, allocations: 10.24 MB / 3.823 GB, free: 59.81 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.03496/10.05, allocations: 19.15 MB / 3.842 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01535/10.07, allocations: 6.473 MB / 3.848 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00329/10.07, allocations: 1.858 MB / 3.85 GB, free: 37.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5812/10.65, allocations: 64.01 MB / 3.912 GB, free: 79.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.781e-05/10.65, allocations: 62.81 kB / 3.912 GB, free: 79.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=273): time 6.953e-06/10.65, allocations: 0 / 3.912 GB, free: 79.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=273): time 0.03734/10.69, allocations: 10.57 MB / 3.923 GB, free: 78.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/10.69, allocations: 79.69 kB / 3.923 GB, free: 78.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/10.69, allocations: 0.5465 MB / 3.923 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00115/10.69, allocations: 72.58 kB / 3.923 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005773/10.69, allocations: 0.8154 MB / 3.924 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001599/10.7, allocations: 0.9579 MB / 3.925 GB, free: 77.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/10.7, allocations: 54.38 kB / 3.925 GB, free: 77.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002506/10.7, allocations: 449.6 kB / 3.926 GB, free: 77.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004052/10.7, allocations: 2.776 MB / 3.928 GB, free: 77.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004391/10.7, allocations: 3.115 MB / 3.931 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005244/10.71, allocations: 2.896 MB / 3.934 GB, free: 77.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/10.71, allocations: 3.656 kB / 3.934 GB, free: 77.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01683/10.73, allocations: 9.454 MB / 3.943 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006337/10.73, allocations: 2.277 MB / 3.946 GB, free: 74.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/10.73, allocations: 7.594 kB / 3.946 GB, free: 74.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01898/10.75, allocations: 8.152 MB / 3.954 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/10.75, allocations: 271.3 kB / 3.954 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0234/10.77, allocations: 9.549 MB / 3.963 GB, free: 74.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00506/10.78, allocations: 477.8 kB / 3.964 GB, free: 73.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/10.78, allocations: 335.2 kB / 3.964 GB, free: 73.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/10.78, allocations: 3.844 kB / 3.964 GB, free: 73.91 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01916/10.8, allocations: 9.258 MB / 3.973 GB, free: 73.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.725e-05/10.8, allocations: 6.438 kB / 3.973 GB, free: 73.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01801/10.82, allocations: 8.158 MB / 3.981 GB, free: 71.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/10.82, allocations: 256.9 kB / 3.981 GB, free: 71.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01707/10.83, allocations: 9.541 MB / 3.991 GB, free: 68.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/10.84, allocations: 456.7 kB / 3.991 GB, free: 68.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/10.84, allocations: 334.2 kB / 3.991 GB, free: 68.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 22 (hex.fluidState[20].phase,hex.fluidState[19].phase,hex.fluidState[18].phase,hex.fluidState[17].phase,hex.fluidState[16].phase,hex.fluidState[15].phase,hex.fluidState[14].phase,hex.fluidState[13].phase,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 (146): * Single equations (assignments): 145 * 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 {20 156} Notification: Performance of prepare postOptimizeDAE: time 0.001363/10.84, allocations: 248.3 kB / 3.992 GB, free: 68.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007721/10.84, allocations: 141.9 kB / 3.992 GB, free: 68.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04328/10.89, allocations: 42.75 MB / 4.033 GB, free: 43.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001306/10.89, allocations: 97.23 kB / 4.033 GB, free: 43.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.443e-05/10.89, allocations: 16 kB / 4.034 GB, free: 43.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.438e-05/10.89, allocations: 13.73 kB / 4.034 GB, free: 43.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/10.9, allocations: 18.09 MB / 4.051 GB, free: 26.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.295e-05/10.9, allocations: 0 / 4.051 GB, free: 26.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00419/10.91, allocations: 0.6138 MB / 4.052 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009665/10.92, allocations: 2.632 MB / 4.054 GB, free: 24.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001309/10.92, allocations: 107.5 kB / 4.054 GB, free: 24.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02467/10.94, allocations: 13.9 MB / 4.068 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/10.94, allocations: 0 / 4.068 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02686/10.97, allocations: 12.16 MB / 4.08 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002854/10.97, allocations: 0.7462 MB / 4.081 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/10.97, allocations: 75.95 kB / 4.081 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004035/10.98, allocations: 311.6 kB / 4.081 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001428/10.98, allocations: 210.2 kB / 4.081 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000745/10.98, allocations: 100.8 kB / 4.081 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007136/10.98, allocations: 410 kB / 4.082 GB, free: 372 kB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/10.98, allocations: 0 / 4.082 GB, free: 372 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01754/11, allocations: 2.854 MB / 4.084 GB, free: 13.71 MB / 0.5417 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: 44 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$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,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * 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 {(20,57.2%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4521/11.45, allocations: 14.06 MB / 4.098 GB, free: 99.65 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03224/11.48, allocations: 11.21 MB / 4.109 GB, free: 99.46 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.956e-05/11.48, allocations: 4.344 kB / 4.109 GB, free: 99.46 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01148/11.5, allocations: 4.253 MB / 4.113 GB, free: 99.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00566/11.5, allocations: 0.7264 MB / 4.114 GB, free: 99.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02509/11.53, allocations: 9.233 MB / 4.123 GB, free: 98.01 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/11.53, allocations: 2.273 MB / 4.125 GB, free: 97.26 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004306/11.53, allocations: 1.481 MB / 4.127 GB, free: 97.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002216/11.53, allocations: 1.173 MB / 4.128 GB, free: 97.22 MB / 0.5417 GB Notification: Performance of SimCode: time 1.984e-06/11.53, allocations: 4.875 kB / 4.128 GB, free: 97.22 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6644/12.2, allocations: 207.3 MB / 4.33 GB, free: 98.81 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/12.2, allocations: 200.9 kB / 4.331 GB, free: 98.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/19.59, allocations: 0 / 4.331 GB, free: 98.59 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe 2>&1)