Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.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.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",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.001813/0.001813, allocations: 176.4 kB / 8.346 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.707/1.707, 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.0008837/0.0008836, allocations: 80.14 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.5503/0.5503, allocations: 48.77 MB / 358.8 MB, free: 53.2 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.295e-05/2.297e-05, allocations: 8.156 kB / 425.4 MB, free: 8.129 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1543, allocations: 60.27 MB / 485.7 MB, free: 11.71 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.066/6.22, allocations: 2.786 GB / 3.26 GB, free: 83.86 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/6.22, allocations: 76.14 kB / 3.26 GB, free: 83.8 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.1835/6.404, allocations: 78.92 MB / 3.337 GB, free: 6.312 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.102e-06/6.404, allocations: 0 / 3.337 GB, free: 6.312 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 2.18e-05/6.404, allocations: 11.94 kB / 3.337 GB, free: 6.301 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002971/6.407, allocations: 1.12 MB / 3.338 GB, free: 5.137 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/6.407, allocations: 8.031 kB / 3.338 GB, free: 5.129 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/6.407, allocations: 75.23 kB / 3.338 GB, free: 5.055 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007525/6.408, allocations: 0.5466 MB / 3.339 GB, free: 4.473 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/6.408, allocations: 12 kB / 3.339 GB, free: 4.461 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/6.408, allocations: 29.31 kB / 3.339 GB, free: 4.434 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004521/6.408, allocations: 361.9 kB / 3.339 GB, free: 4.082 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/6.409, allocations: 492.2 kB / 3.34 GB, free: 3.559 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/6.409, allocations: 7.938 kB / 3.34 GB, free: 3.551 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/6.409, allocations: 3.953 kB / 3.34 GB, free: 3.547 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/6.409, allocations: 28.75 kB / 3.34 GB, free: 3.52 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.001537/6.411, allocations: 2.58 MB / 3.342 GB, free: 0.6641 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/6.411, allocations: 306.9 kB / 3.342 GB, free: 364 kB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/6.411, allocations: 164.8 kB / 3.343 GB, free: 196 kB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2904/6.701, allocations: 15.2 MB / 3.357 GB, free: 93.85 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/6.702, allocations: 42.55 kB / 3.357 GB, free: 93.81 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=31): time 3.086e-06/6.702, allocations: 0 / 3.357 GB, free: 93.81 MB / 0.5108 GB Notification: Performance of matching and sorting (n=31): time 0.001116/6.703, allocations: 387.5 kB / 3.358 GB, free: 93.77 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/6.703, allocations: 54.53 kB / 3.358 GB, free: 93.71 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/6.703, allocations: 290.1 kB / 3.358 GB, free: 93.62 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/6.703, allocations: 25.7 kB / 3.358 GB, free: 93.59 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/6.703, allocations: 246.5 kB / 3.358 GB, free: 93.48 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/6.703, allocations: 108.3 kB / 3.358 GB, free: 93.43 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/6.703, allocations: 0 / 3.358 GB, free: 93.43 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/6.703, allocations: 348.9 kB / 3.359 GB, free: 93.12 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/6.704, allocations: 96.55 kB / 3.359 GB, free: 93.12 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/6.704, allocations: 143.9 kB / 3.359 GB, free: 93.07 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/6.704, allocations: 132.6 kB / 3.359 GB, free: 93.07 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/6.704, allocations: 0 / 3.359 GB, free: 93.07 MB / 0.5108 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004782/6.705, allocations: 326.8 kB / 3.359 GB, free: 93.02 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/6.705, allocations: 11.91 kB / 3.359 GB, free: 93.02 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/6.705, allocations: 0 / 3.359 GB, free: 93.02 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/6.705, allocations: 3.031 kB / 3.359 GB, free: 93.02 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/6.705, allocations: 49.53 kB / 3.36 GB, free: 93.02 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/6.705, allocations: 3.906 kB / 3.36 GB, free: 93.02 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/6.705, allocations: 26.91 kB / 3.36 GB, free: 93.01 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/6.705, allocations: 9.406 kB / 3.36 GB, free: 93.01 MB / 0.5108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.854e-05/6.705, allocations: 111.3 kB / 3.36 GB, free: 92.9 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004896/6.706, allocations: 295.1 kB / 3.36 GB, free: 92.85 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/6.706, allocations: 39.17 kB / 3.36 GB, free: 92.83 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/6.707, allocations: 1.086 MB / 3.361 GB, free: 92.71 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/6.707, allocations: 19.28 kB / 3.361 GB, free: 92.71 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/6.707, allocations: 0 / 3.361 GB, free: 92.71 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/6.707, allocations: 3.328 kB / 3.361 GB, free: 92.71 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007015/6.708, allocations: 0.6274 MB / 3.362 GB, free: 92.54 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/6.708, allocations: 0 / 3.362 GB, free: 92.54 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/6.708, allocations: 44.12 kB / 3.362 GB, free: 92.54 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/6.708, allocations: 2.906 kB / 3.362 GB, free: 92.54 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/6.708, allocations: 3.953 kB / 3.362 GB, free: 92.53 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/6.708, allocations: 2.938 kB / 3.362 GB, free: 92.53 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/6.708, allocations: 0 / 3.362 GB, free: 92.53 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/6.709, allocations: 0.6654 MB / 3.362 GB, free: 92.36 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/6.709, allocations: 136.4 kB / 3.363 GB, free: 92.23 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/6.709, allocations: 0 / 3.363 GB, free: 92.23 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/6.709, allocations: 27.78 kB / 3.363 GB, free: 92.23 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/6.709, allocations: 12.83 kB / 3.363 GB, free: 92.23 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/6.709, allocations: 10.27 kB / 3.363 GB, free: 92.23 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0001934/6.709, allocations: 234.5 kB / 3.363 GB, free: 92.14 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.5e-07/6.709, allocations: 5.234 kB / 3.363 GB, free: 92.14 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.002597/6.712, allocations: 0.5052 MB / 3.363 GB, free: 92.13 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003978/6.716, allocations: 1.742 MB / 3.365 GB, free: 91.41 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.000559/6.716, allocations: 369.9 kB / 3.365 GB, free: 91.41 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/6.716, allocations: 0 / 3.365 GB, free: 91.41 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0002796/6.717, allocations: 299 kB / 3.366 GB, free: 91.41 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008272/6.717, allocations: 119.2 kB / 3.366 GB, free: 91.4 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/6.72, allocations: 1.205 MB / 3.367 GB, free: 91.14 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/6.72, allocations: 0.9668 MB / 3.368 GB, free: 90.44 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0003711/6.721, allocations: 177.4 kB / 3.368 GB, free: 90.44 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/6.721, allocations: 203.4 kB / 3.368 GB, free: 90.43 MB / 0.5108 GB Notification: Performance of SimCode: time 1.322e-06/6.721, allocations: 0 / 3.368 GB, free: 90.43 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04768/6.769, allocations: 20.24 MB / 3.388 GB, free: 89.75 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/6.769, allocations: 188.1 kB / 3.388 GB, free: 89.55 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/9.346, allocations: 1.375 kB / 3.388 GB, free: 89.55 MB / 0.5108 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1)