Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_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.TestWaterFlow1DFV2ph_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_C",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_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.002032/0.002032, allocations: 174.9 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 1.831/1.831, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.0009267/0.0009268, allocations: 76.16 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5217/0.5217, allocations: 48.77 MB / 358.8 MB, free: 53.13 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.187e-05, allocations: 8.156 kB / 425.4 MB, free: 8.133 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.141, allocations: 60.26 MB / 485.7 MB, free: 11.72 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.106/7.247, allocations: 2.973 GB / 3.447 GB, free: 30.86 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/7.247, allocations: 76.16 kB / 3.447 GB, free: 30.83 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.418/8.666, allocations: 323.3 MB / 3.763 GB, free: 56.2 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.843e-06/8.666, allocations: 0 / 3.763 GB, free: 56.2 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 9.782e-05/8.666, allocations: 57.38 kB / 3.763 GB, free: 56.2 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: 853 * Number of variables: 853 Notification: Performance of Generate backend data structure: time 0.05193/8.718, allocations: 12.16 MB / 3.775 GB, free: 54.25 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/8.718, allocations: 11.88 kB / 3.775 GB, free: 54.25 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/8.73, allocations: 1.019 MB / 3.776 GB, free: 54.09 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01374/8.743, allocations: 3.345 MB / 3.779 GB, free: 53.69 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007716/8.751, allocations: 2.182 MB / 3.781 GB, free: 53.05 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005655/8.757, allocations: 204.4 kB / 3.782 GB, free: 53.05 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05512/8.812, allocations: 28.24 MB / 3.809 GB, free: 50.04 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03586/8.848, allocations: 14.11 MB / 3.823 GB, free: 40.95 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/8.848, allocations: 0 / 3.823 GB, free: 40.95 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005181/8.853, allocations: 7.375 kB / 3.823 GB, free: 40.95 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001649/8.853, allocations: 178.1 kB / 3.823 GB, free: 40.78 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.4347/9.288, allocations: 72.64 MB / 3.894 GB, free: 63.09 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01908/9.307, allocations: 11.35 MB / 3.905 GB, free: 63.05 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01612/9.323, allocations: 9.94 MB / 3.915 GB, free: 63.03 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1433/9.467, allocations: 75.85 MB / 3.989 GB, free: 36.04 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.689e-05/9.467, allocations: 77.25 kB / 3.989 GB, free: 36 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=371): time 9.027e-06/9.467, allocations: 0 / 3.989 GB, free: 36 MB / 0.5421 GB Notification: Performance of matching and sorting (n=373): time 0.1247/9.592, allocations: 38.81 MB / 4.027 GB, free: 23.3 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/9.592, allocations: 87.02 kB / 4.027 GB, free: 23.23 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006572/9.592, allocations: 482.9 kB / 4.028 GB, free: 23 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.003799/9.596, allocations: 25.7 kB / 4.028 GB, free: 22.97 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/9.597, allocations: 0.8073 MB / 4.028 GB, free: 22.48 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.004553/9.601, allocations: 1.23 MB / 4.03 GB, free: 21.5 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003667/9.605, allocations: 0 / 4.03 GB, free: 21.5 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.000423/9.605, allocations: 478.9 kB / 4.03 GB, free: 21.12 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01486/9.62, allocations: 10.38 MB / 4.04 GB, free: 16.82 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01597/9.636, allocations: 10.75 MB / 4.051 GB, free: 12.18 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.658/10.29, allocations: 119.3 MB / 4.167 GB, free: 77.3 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/10.29, allocations: 0 / 4.167 GB, free: 77.3 MB / 0.5421 GB Notification: Performance of matching and sorting (n=419) (initialization): time 0.239/10.53, allocations: 74.92 MB / 4.24 GB, free: 46.06 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005406/10.53, allocations: 2.196 MB / 4.242 GB, free: 43.74 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/10.53, allocations: 8 kB / 4.242 GB, free: 43.73 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5496/11.08, allocations: 88.02 MB / 4.328 GB, free: 81.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/11.09, allocations: 0.5575 MB / 4.329 GB, free: 81.49 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06184/11.15, allocations: 42.96 MB / 4.371 GB, free: 70.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02547/11.17, allocations: 4.362 MB / 4.375 GB, free: 70.19 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005928/11.18, allocations: 0.6326 MB / 4.376 GB, free: 70.11 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/11.18, allocations: 3.906 kB / 4.376 GB, free: 70.11 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2424/11.42, allocations: 74.41 MB / 4.448 GB, free: 31.49 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.645e-05/11.42, allocations: 7.938 kB / 4.448 GB, free: 31.48 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5823/12.01, allocations: 89.24 MB / 4.536 GB, free: 80.85 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/12.01, allocations: 0.5368 MB / 4.536 GB, free: 80.84 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06452/12.07, allocations: 42.96 MB / 4.578 GB, free: 69.09 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02517/12.1, allocations: 4.353 MB / 4.582 GB, free: 68.78 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00667/12.1, allocations: 0.6225 MB / 4.583 GB, free: 68.69 MB / 0.5421 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.hex.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 20 (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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (251): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.01024/12.12, allocations: 169.8 kB / 4.583 GB, free: 68.58 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06676/12.18, allocations: 21.22 MB / 4.604 GB, free: 60.73 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005523/12.19, allocations: 176.7 kB / 4.604 GB, free: 60.7 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07018/12.26, allocations: 28.74 MB / 4.632 GB, free: 41.39 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05842/12.32, allocations: 25.55 MB / 4.657 GB, free: 19.49 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.813e-05/12.32, allocations: 11.94 kB / 4.657 GB, free: 19.48 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002348/12.32, allocations: 18.28 kB / 4.657 GB, free: 19.48 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5497/12.87, allocations: 66 MB / 4.722 GB, free: 68.68 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-05/12.87, allocations: 9 kB / 4.722 GB, free: 68.68 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03052/12.9, allocations: 5.693 MB / 4.727 GB, free: 68.68 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005076/12.9, allocations: 1.629 MB / 4.729 GB, free: 68.53 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005185/12.91, allocations: 0.6009 MB / 4.729 GB, free: 68.53 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02069/12.93, allocations: 29.67 MB / 4.758 GB, free: 44.54 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.72e-05/12.93, allocations: 16.7 kB / 4.758 GB, free: 44.54 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08318/13.01, allocations: 34.49 MB / 4.792 GB, free: 29.89 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009559/13.02, allocations: 2.419 MB / 4.794 GB, free: 29.04 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006702/13.03, allocations: 45.25 kB / 4.794 GB, free: 29.03 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02538/13.05, allocations: 4.323 MB / 4.799 GB, free: 29.01 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005837/13.06, allocations: 0.8822 MB / 4.799 GB, free: 28.92 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006052/13.07, allocations: 0.6325 MB / 4.8 GB, free: 28.84 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.000651/13.07, allocations: 348.3 kB / 4.8 GB, free: 28.66 MB / 0.5421 GB Notification: Performance of sort global known variables: time 7.81e-07/13.07, allocations: 0 / 4.8 GB, free: 28.66 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.03232/13.1, allocations: 4.53 MB / 4.805 GB, free: 28.58 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 20 (Mbal,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: 42 ($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,$cse22.region3boundary,$cse23.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (358): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * 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: 19 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.09548/13.19, allocations: 39.05 MB / 4.843 GB, free: 9.602 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.4064/13.6, allocations: 37.34 MB / 4.879 GB, free: 94.4 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 2.038e-05/13.6, allocations: 4.562 kB / 4.879 GB, free: 94.4 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.02658/13.63, allocations: 14.74 MB / 4.894 GB, free: 92.46 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008051/13.63, allocations: 0.668 MB / 4.894 GB, free: 92.45 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05871/13.69, allocations: 18.28 MB / 4.912 GB, free: 90.85 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003558/13.7, allocations: 2.435 MB / 4.915 GB, free: 90.09 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.03572/13.73, allocations: 22.94 MB / 4.937 GB, free: 89.7 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01639/13.75, allocations: 2.329 MB / 4.939 GB, free: 89.57 MB / 0.5577 GB Notification: Performance of SimCode: time 2.475e-06/13.75, allocations: 0 / 4.939 GB, free: 89.57 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.719/15.47, allocations: 0.5356 GB / 5.475 GB, free: 90.35 MB / 0.5577 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/15.47, allocations: 165.4 kB / 5.475 GB, free: 90.16 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.14/32.61, allocations: 0.5625 kB / 5.475 GB, free: 90.16 MB / 0.5577 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_C_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_C.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe 2>&1)