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.002319/0.002319, allocations: 180.5 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.853/1.853, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001019/0.001019, allocations: 103.9 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5124/0.5124, allocations: 48.77 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003667, allocations: 8 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.935/6.069, allocations: 2.786 GB / 3.274 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/6.069, allocations: 77.39 kB / 3.274 GB, free: 57.22 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4118/6.481, allocations: 80.07 MB / 3.352 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.184e-06/6.481, allocations: 0 / 3.352 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.929e-05/6.481, allocations: 9.844 kB / 3.352 GB, free: 113.4 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.004143/6.486, allocations: 1.166 MB / 3.353 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/6.486, allocations: 9.719 kB / 3.353 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/6.486, allocations: 79.86 kB / 3.353 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/6.486, allocations: 79.52 kB / 3.353 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/6.487, allocations: 0.5512 MB / 3.354 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/6.487, allocations: 26.81 kB / 3.354 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/6.487, allocations: 34.39 kB / 3.354 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/6.488, allocations: 0.5994 MB / 3.354 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/6.488, allocations: 2.531 kB / 3.354 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/6.488, allocations: 20.95 kB / 3.354 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/6.489, allocations: 23.23 kB / 3.354 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007958/6.489, allocations: 454.3 kB / 3.355 GB, free: 112.4 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.002562/6.492, allocations: 2.675 MB / 3.357 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/6.493, allocations: 382.5 kB / 3.358 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02961/6.522, allocations: 15.17 MB / 3.373 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/6.522, allocations: 38.16 kB / 3.373 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 3.145e-06/6.522, allocations: 0 / 3.373 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.00169/6.524, allocations: 0.6945 MB / 3.373 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/6.524, allocations: 55.38 kB / 3.373 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/6.525, allocations: 368.9 kB / 3.374 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/6.525, allocations: 33.69 kB / 3.374 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/6.525, allocations: 245.1 kB / 3.374 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.883e-05/6.525, allocations: 104.9 kB / 3.374 GB, free: 100 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/6.525, allocations: 4.969 kB / 3.374 GB, free: 100 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/6.525, allocations: 355.4 kB / 3.374 GB, free: 99.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/6.525, allocations: 99.52 kB / 3.374 GB, free: 99.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/6.525, allocations: 145.9 kB / 3.375 GB, free: 99.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/6.526, allocations: 136.3 kB / 3.375 GB, free: 99.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/6.526, allocations: 0 / 3.375 GB, free: 99.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005007/6.526, allocations: 343.1 kB / 3.375 GB, free: 99.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/6.526, allocations: 9.797 kB / 3.375 GB, free: 99.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/6.526, allocations: 2.875 kB / 3.375 GB, free: 99.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/6.526, allocations: 9.828 kB / 3.375 GB, free: 99.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/6.526, allocations: 46.92 kB / 3.375 GB, free: 99.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/6.526, allocations: 3.031 kB / 3.375 GB, free: 99.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/6.527, allocations: 43.77 kB / 3.375 GB, free: 99.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/6.527, allocations: 8.016 kB / 3.375 GB, free: 99.55 MB / 0.5105 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 () * Number of clocked 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 0.0002814/6.527, allocations: 227.5 kB / 3.375 GB, free: 99.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/6.527, allocations: 38.78 kB / 3.375 GB, free: 99.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/6.528, allocations: 1.114 MB / 3.377 GB, free: 99.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/6.528, allocations: 17.84 kB / 3.377 GB, free: 99.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/6.528, allocations: 0 / 3.377 GB, free: 99.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/6.528, allocations: 3.016 kB / 3.377 GB, free: 99.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/6.529, allocations: 0.7189 MB / 3.377 GB, free: 99.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/6.529, allocations: 0.8438 kB / 3.377 GB, free: 99.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/6.53, allocations: 41.2 kB / 3.377 GB, free: 99.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/6.53, allocations: 5.281 kB / 3.377 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/6.53, allocations: 9.125 kB / 3.377 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/6.53, allocations: 4.859 kB / 3.377 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/6.53, allocations: 1.688 kB / 3.377 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008657/6.531, allocations: 0.69 MB / 3.378 GB, free: 98.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/6.531, allocations: 138.9 kB / 3.378 GB, free: 98.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/6.531, allocations: 6.094 kB / 3.378 GB, free: 98.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/6.531, allocations: 28.2 kB / 3.378 GB, free: 98.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/6.531, allocations: 24.08 kB / 3.378 GB, free: 98.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/6.531, allocations: 10.45 kB / 3.378 GB, free: 98.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000359/6.531, allocations: 293.6 kB / 3.378 GB, free: 98.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/6.531, allocations: 1.156 kB / 3.378 GB, free: 98.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002621/6.534, allocations: 0.5134 MB / 3.379 GB, free: 98.56 MB / 0.5105 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 () * Number of clocked 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.004927/6.539, allocations: 1.731 MB / 3.381 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007116/6.54, allocations: 395.9 kB / 3.381 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/6.54, allocations: 0.9062 kB / 3.381 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/6.54, allocations: 308.3 kB / 3.381 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/6.541, allocations: 193.3 kB / 3.382 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006099/6.547, allocations: 3.854 MB / 3.385 GB, free: 96.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/6.548, allocations: 0.9684 MB / 3.386 GB, free: 95.37 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004671/6.548, allocations: 180.1 kB / 3.386 GB, free: 95.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/6.549, allocations: 205.8 kB / 3.387 GB, free: 95.35 MB / 0.5105 GB Notification: Performance of SimCode: time 8.22e-07/6.549, allocations: 8.375 kB / 3.387 GB, free: 95.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04548/6.594, allocations: 23.62 MB / 3.41 GB, free: 93.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/6.594, allocations: 215.2 kB / 3.41 GB, free: 93.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/9.364, allocations: 13.84 kB / 3.41 GB, free: 93.62 MB / 0.5105 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)