Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_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.TestWaterFlow1DFV2ph_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_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.001609/0.001609, allocations: 181.9 kB / 16.39 MB, free: 5.762 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.796/1.796, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001305/0.001305, allocations: 86.69 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5104/0.5104, allocations: 48.77 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 12 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1575, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.003/7.161, allocations: 2.979 GB / 3.466 GB, free: 42.19 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/7.161, allocations: 84.56 kB / 3.467 GB, free: 42.11 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.368/8.529, allocations: 301.2 MB / 3.761 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.035e-06/8.529, allocations: 0 / 3.761 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001043/8.529, allocations: 34.28 kB / 3.761 GB, free: 64.12 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.03153/8.561, allocations: 5.911 MB / 3.767 GB, free: 63.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/8.561, allocations: 11.03 kB / 3.767 GB, free: 63.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002996/8.564, allocations: 303.2 kB / 3.767 GB, free: 63.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005672/8.57, allocations: 0.5522 MB / 3.767 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008596/8.578, allocations: 1.758 MB / 3.769 GB, free: 62.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003487/8.582, allocations: 1.072 MB / 3.77 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002377/8.584, allocations: 175.2 kB / 3.77 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03541/8.62, allocations: 12.41 MB / 3.782 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.645e-05/8.62, allocations: 1.781 kB / 3.782 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001594/8.621, allocations: 70.69 kB / 3.782 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/8.621, allocations: 85.78 kB / 3.783 GB, free: 62.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05253/8.674, allocations: 20.93 MB / 3.803 GB, free: 61.68 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.06184/8.736, allocations: 33.69 MB / 3.836 GB, free: 42.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02697/8.763, allocations: 10.12 MB / 3.846 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4647/9.228, allocations: 75.5 MB / 3.919 GB, free: 71.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.209e-05/9.228, allocations: 57.97 kB / 3.92 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=192): time 3.697e-06/9.228, allocations: 0 / 3.92 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=193): time 0.1405/9.368, allocations: 41.45 MB / 3.96 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/9.368, allocations: 73.73 kB / 3.96 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/9.369, allocations: 456.4 kB / 3.961 GB, free: 70.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002379/9.372, allocations: 63.42 kB / 3.961 GB, free: 70.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004736/9.372, allocations: 0.5181 MB / 3.961 GB, free: 70.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002684/9.375, allocations: 0.6657 MB / 3.962 GB, free: 69.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00193/9.377, allocations: 34.66 kB / 3.962 GB, free: 69.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002442/9.377, allocations: 416 kB / 3.962 GB, free: 69.65 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01909/9.396, allocations: 8.325 MB / 3.97 GB, free: 69.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02053/9.417, allocations: 8.569 MB / 3.979 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01878/9.436, allocations: 7.162 MB / 3.986 GB, free: 69.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/9.436, allocations: 0 / 3.986 GB, free: 69.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.1194/9.555, allocations: 38.73 MB / 4.024 GB, free: 61.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003951/9.556, allocations: 1.321 MB / 4.025 GB, free: 59.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/9.556, allocations: 4 kB / 4.025 GB, free: 59.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1489/9.704, allocations: 57.52 MB / 4.081 GB, free: 17.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/9.706, allocations: 326.1 kB / 4.081 GB, free: 16.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3877/10.09, allocations: 24.58 MB / 4.105 GB, free: 76.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/10.11, allocations: 2.014 MB / 4.107 GB, free: 76.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002289/10.11, allocations: 315.3 kB / 4.108 GB, free: 76.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/10.11, allocations: 4 kB / 4.108 GB, free: 76.99 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1168/10.23, allocations: 38.56 MB / 4.145 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.095e-05/10.23, allocations: 4.469 kB / 4.145 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1479/10.37, allocations: 57.52 MB / 4.201 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/10.38, allocations: 312.1 kB / 4.202 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06379/10.44, allocations: 24.25 MB / 4.225 GB, free: 61.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/10.45, allocations: 2.014 MB / 4.227 GB, free: 60.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002486/10.45, allocations: 310.7 kB / 4.228 GB, free: 60.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (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 (121): * Single equations (assignments): 120 * 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 {10 89} Notification: Performance of prepare postOptimizeDAE: time 0.004645/10.46, allocations: 0.562 MB / 4.228 GB, free: 59.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001789/10.46, allocations: 108.8 kB / 4.228 GB, free: 59.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05777/10.52, allocations: 34.68 MB / 4.262 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05498/10.57, allocations: 33.03 MB / 4.294 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.672e-05/10.57, allocations: 5 kB / 4.294 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.844e-05/10.57, allocations: 9.984 kB / 4.294 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3718/10.95, allocations: 54.31 MB / 4.347 GB, free: 68.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/10.95, allocations: 7.797 kB / 4.347 GB, free: 68.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01326/10.96, allocations: 2.473 MB / 4.35 GB, free: 68.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004537/10.96, allocations: 1.145 MB / 4.351 GB, free: 67.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002113/10.97, allocations: 200 kB / 4.351 GB, free: 67.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/10.98, allocations: 6.347 MB / 4.357 GB, free: 64.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/10.98, allocations: 7.469 kB / 4.357 GB, free: 64.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06514/11.04, allocations: 25.91 MB / 4.383 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004744/11.05, allocations: 1.232 MB / 4.384 GB, free: 57.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002321/11.05, allocations: 57 kB / 4.384 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0112/11.06, allocations: 1.964 MB / 4.386 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002918/11.06, allocations: 332.4 kB / 4.386 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002992/11.06, allocations: 197.7 kB / 4.386 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006788/11.07, allocations: 358.6 kB / 4.387 GB, free: 57.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/11.07, allocations: 0 / 4.387 GB, free: 57.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01819/11.08, allocations: 2.632 MB / 4.389 GB, free: 57.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (Mbal,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]) * Number of discrete variables: 22 ($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.region3boundary,$cse13.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.08068/11.16, allocations: 28.9 MB / 4.418 GB, free: 48.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.06539/11.23, allocations: 27.43 MB / 4.444 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/11.23, allocations: 4 kB / 4.444 GB, free: 32.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02224/11.25, allocations: 9.489 MB / 4.454 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004302/11.26, allocations: 464 kB / 4.454 GB, free: 24.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4543/11.71, allocations: 67.2 MB / 4.52 GB, free: 89.51 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/11.71, allocations: 1.641 MB / 4.521 GB, free: 88.78 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007059/11.72, allocations: 2.422 MB / 4.524 GB, free: 88.76 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004463/11.72, allocations: 0.9837 MB / 4.525 GB, free: 88.75 MB / 0.5417 GB Notification: Performance of SimCode: time 7.71e-07/11.72, allocations: 0 / 4.525 GB, free: 88.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6366/12.36, allocations: 268.4 MB / 4.787 GB, free: 84.19 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/12.36, allocations: 231.8 kB / 4.787 GB, free: 83.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.178/21.54, allocations: 3.938 kB / 4.787 GB, free: 83.95 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe 2>&1)