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.001434/0.001434, allocations: 177.1 kB / 8.35 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.837/1.837, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.0009232/0.0009232, allocations: 84.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6037/0.6037, allocations: 48.78 MB / 358.8 MB, free: 53.13 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.982e-05, allocations: 4 kB / 425.4 MB, free: 8.141 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1666, allocations: 60.28 MB / 485.7 MB, free: 11.71 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.551/8.718, allocations: 2.956 GB / 3.43 GB, free: 107.6 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/8.718, allocations: 79.11 kB / 3.43 GB, free: 107.5 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.55/10.27, allocations: 363.4 MB / 3.785 GB, free: 54.2 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.994e-06/10.27, allocations: 0 / 3.785 GB, free: 54.2 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001287/10.27, allocations: 51.38 kB / 3.785 GB, free: 54.19 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: 762 * Number of variables: 762 Notification: Performance of Generate backend data structure: time 0.01986/10.29, allocations: 4.483 MB / 3.79 GB, free: 53.09 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/10.29, allocations: 10.31 kB / 3.79 GB, free: 53.09 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00603/10.29, allocations: 0.8172 MB / 3.791 GB, free: 52.95 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00737/10.3, allocations: 1.82 MB / 3.792 GB, free: 52.6 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/10.3, allocations: 92.92 kB / 3.792 GB, free: 52.6 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/10.3, allocations: 163.8 kB / 3.793 GB, free: 52.6 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01351/10.32, allocations: 5.912 MB / 3.798 GB, free: 52.58 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009653/10.33, allocations: 4.085 MB / 3.802 GB, free: 52.32 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.953e-05/10.33, allocations: 1.875 kB / 3.802 GB, free: 52.32 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002906/10.33, allocations: 3.469 kB / 3.802 GB, free: 52.32 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/10.33, allocations: 152.2 kB / 3.803 GB, free: 52.31 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.02712/10.36, allocations: 18.65 MB / 3.821 GB, free: 42.32 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004681/10.36, allocations: 3.863 MB / 3.824 GB, free: 42.16 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/10.36, allocations: 1.793 MB / 3.826 GB, free: 42.14 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1289/10.49, allocations: 64.02 MB / 3.889 GB, free: 34.04 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.836e-05/10.49, allocations: 61.62 kB / 3.889 GB, free: 34 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=273): time 8.215e-06/10.49, allocations: 0 / 3.889 GB, free: 34 MB / 0.5421 GB Notification: Performance of matching and sorting (n=273): time 0.02897/10.52, allocations: 8.101 MB / 3.897 GB, free: 33.62 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.295e-05/10.52, allocations: 82.91 kB / 3.897 GB, free: 33.56 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/10.52, allocations: 496.1 kB / 3.897 GB, free: 33.43 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.001537/10.52, allocations: 25.7 kB / 3.897 GB, free: 33.4 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008208/10.52, allocations: 0.8145 MB / 3.898 GB, free: 32.92 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.00285/10.53, allocations: 0.9152 MB / 3.899 GB, free: 32.31 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/10.53, allocations: 0 / 3.899 GB, free: 32.31 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0006892/10.53, allocations: 450 kB / 3.899 GB, free: 32 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005403/10.53, allocations: 2.724 MB / 3.902 GB, free: 31.49 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006179/10.54, allocations: 3.056 MB / 3.905 GB, free: 30.14 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/10.56, allocations: 3.378 MB / 3.908 GB, free: 29.08 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.797e-05/10.56, allocations: 3.844 kB / 3.908 GB, free: 29.08 MB / 0.5421 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.0361/10.59, allocations: 9.719 MB / 3.918 GB, free: 25.79 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.001626/10.59, allocations: 2.273 MB / 3.92 GB, free: 23.36 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-05/10.59, allocations: 13.03 kB / 3.92 GB, free: 23.36 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.022/10.62, allocations: 8.04 MB / 3.928 GB, free: 19.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/10.62, allocations: 270.9 kB / 3.928 GB, free: 18.98 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03552/10.65, allocations: 11.08 MB / 3.939 GB, free: 9.691 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005473/10.66, allocations: 425.6 kB / 3.939 GB, free: 9.363 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/10.66, allocations: 334.5 kB / 3.94 GB, free: 9.125 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/10.66, allocations: 4 kB / 3.94 GB, free: 9.121 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02833/10.69, allocations: 9.471 MB / 3.949 GB, free: 0.9922 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.192e-05/10.69, allocations: 12.06 kB / 3.949 GB, free: 0.9805 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4615/11.15, allocations: 8.462 MB / 3.957 GB, free: 84.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/11.15, allocations: 254.1 kB / 3.958 GB, free: 84.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03341/11.19, allocations: 11.08 MB / 3.968 GB, free: 84.12 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005673/11.19, allocations: 396 kB / 3.969 GB, free: 84.12 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/11.19, allocations: 329.9 kB / 3.969 GB, free: 84.12 MB / 0.5421 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.002213/11.19, allocations: 156.7 kB / 3.969 GB, free: 84.02 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0292/11.22, allocations: 8.679 MB / 3.978 GB, free: 83.85 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001573/11.23, allocations: 144.9 kB / 3.978 GB, free: 83.82 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06041/11.29, allocations: 42.52 MB / 4.019 GB, free: 79.7 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00014/11.29, allocations: 97.34 kB / 4.019 GB, free: 79.68 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.851e-05/11.29, allocations: 15.69 kB / 4.019 GB, free: 79.68 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.756e-05/11.29, allocations: 18.42 kB / 4.019 GB, free: 79.68 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/11.3, allocations: 17.54 MB / 4.037 GB, free: 69.21 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.463e-05/11.3, allocations: 3.969 kB / 4.037 GB, free: 69.21 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004143/11.31, allocations: 0.6199 MB / 4.037 GB, free: 69.14 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009376/11.32, allocations: 2.569 MB / 4.04 GB, free: 68.77 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001384/11.32, allocations: 74.59 kB / 4.04 GB, free: 68.75 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/11.34, allocations: 13.74 MB / 4.053 GB, free: 63 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/11.34, allocations: 3.969 kB / 4.053 GB, free: 63 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01912/11.36, allocations: 11.95 MB / 4.065 GB, free: 58.01 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003182/11.36, allocations: 0.7445 MB / 4.066 GB, free: 57.66 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000813/11.36, allocations: 25.72 kB / 4.066 GB, free: 57.65 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003578/11.37, allocations: 265.9 kB / 4.066 GB, free: 57.64 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009829/11.37, allocations: 201.5 kB / 4.066 GB, free: 57.62 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003086/11.37, allocations: 97.83 kB / 4.066 GB, free: 57.6 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0006567/11.37, allocations: 359.4 kB / 4.067 GB, free: 57.42 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.51e-07/11.37, allocations: 0.75 kB / 4.067 GB, free: 57.42 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01293/11.38, allocations: 2.708 MB / 4.069 GB, free: 57.09 MB / 0.5421 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.03002/11.41, allocations: 13.93 MB / 4.083 GB, free: 51.46 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.02296/11.43, allocations: 10.98 MB / 4.093 GB, free: 47.63 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/11.43, allocations: 3.031 kB / 4.093 GB, free: 47.63 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.009684/11.44, allocations: 4.162 MB / 4.098 GB, free: 45.83 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004835/11.45, allocations: 0.6442 MB / 4.098 GB, free: 45.74 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02778/11.48, allocations: 8.998 MB / 4.107 GB, free: 40.14 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003161/11.48, allocations: 2.266 MB / 4.109 GB, free: 38.37 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.004643/11.48, allocations: 1.484 MB / 4.111 GB, free: 37.49 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00268/11.49, allocations: 1.172 MB / 4.112 GB, free: 36.42 MB / 0.5421 GB Notification: Performance of SimCode: time 3.166e-06/11.49, allocations: 1.969 kB / 4.112 GB, free: 36.42 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7012/12.19, allocations: 195.4 MB / 4.303 GB, free: 30.48 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/12.19, allocations: 158.6 kB / 4.303 GB, free: 30.28 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.998/19.19, allocations: 0 / 4.303 GB, free: 30.28 MB / 0.5421 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)