Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.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_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",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.001471/0.001471, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.775/1.775, 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.0009694/0.0009695, allocations: 84.16 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.4952/0.4952, allocations: 48.78 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003439, allocations: 8 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 60.25 MB / 499 MB, free: 14.49 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.933/6.079, allocations: 2.786 GB / 3.274 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/6.079, allocations: 80.47 kB / 3.274 GB, free: 39.81 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4493/6.528, allocations: 82.34 MB / 3.354 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.685e-06/6.528, allocations: 7.875 kB / 3.354 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.149e-05/6.528, allocations: 11.78 kB / 3.354 GB, free: 118.8 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.004317/6.533, allocations: 1.286 MB / 3.355 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/6.533, allocations: 11.88 kB / 3.355 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/6.533, allocations: 93.56 kB / 3.355 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/6.533, allocations: 91.92 kB / 3.355 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/6.534, allocations: 0.5887 MB / 3.356 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/6.534, allocations: 37.19 kB / 3.356 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/6.534, allocations: 44.5 kB / 3.356 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/6.536, allocations: 0.8045 MB / 3.357 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/6.536, allocations: 4.375 kB / 3.357 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/6.536, allocations: 21.94 kB / 3.357 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/6.536, allocations: 39.28 kB / 3.357 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/6.537, allocations: 0.6011 MB / 3.358 GB, free: 117.7 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.002827/6.54, allocations: 4.044 MB / 3.362 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009585/6.541, allocations: 0.5472 MB / 3.362 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0281/6.569, allocations: 15.17 MB / 3.377 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/6.569, allocations: 38.48 kB / 3.377 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 2.705e-06/6.569, allocations: 0 / 3.377 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.001884/6.571, allocations: 0.8983 MB / 3.378 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/6.571, allocations: 55.38 kB / 3.378 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/6.571, allocations: 416 kB / 3.378 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/6.571, allocations: 29.64 kB / 3.378 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/6.572, allocations: 268.1 kB / 3.378 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/6.572, allocations: 145.1 kB / 3.379 GB, free: 104 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/6.572, allocations: 8.781 kB / 3.379 GB, free: 104 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000123/6.572, allocations: 363 kB / 3.379 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/6.572, allocations: 125.5 kB / 3.379 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/6.572, allocations: 191.3 kB / 3.379 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/6.572, allocations: 173.8 kB / 3.379 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/6.572, allocations: 0 / 3.379 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005601/6.573, allocations: 430.4 kB / 3.38 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/6.573, allocations: 11.44 kB / 3.38 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/6.573, allocations: 0 / 3.38 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/6.573, allocations: 3.469 kB / 3.38 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/6.573, allocations: 72.98 kB / 3.38 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/6.573, allocations: 6.656 kB / 3.38 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/6.574, allocations: 60.56 kB / 3.38 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/6.574, allocations: 15.31 kB / 3.38 GB, free: 103.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,fluidState[6].phase,fluidState[5].phase,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 (39): * Single equations (assignments): 37 * 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.0002951/6.574, allocations: 255 kB / 3.38 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/6.574, allocations: 52.83 kB / 3.38 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/6.576, allocations: 1.769 MB / 3.382 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/6.576, allocations: 25.33 kB / 3.382 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/6.576, allocations: 3.906 kB / 3.382 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/6.576, allocations: 3.891 kB / 3.382 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009871/6.577, allocations: 0.9904 MB / 3.383 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/6.577, allocations: 4 kB / 3.383 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/6.577, allocations: 54.91 kB / 3.383 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/6.577, allocations: 0 / 3.383 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/6.577, allocations: 16.34 kB / 3.383 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/6.577, allocations: 0 / 3.383 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/6.577, allocations: 0 / 3.383 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008589/6.578, allocations: 0.9759 MB / 3.384 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/6.578, allocations: 173.6 kB / 3.384 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/6.578, allocations: 6.703 kB / 3.384 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/6.578, allocations: 45.09 kB / 3.384 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/6.578, allocations: 19.33 kB / 3.384 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/6.578, allocations: 15.48 kB / 3.384 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002798/6.579, allocations: 330.9 kB / 3.385 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/6.579, allocations: 0 / 3.385 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002829/6.582, allocations: 0.5531 MB / 3.385 GB, free: 102.4 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: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 7 * 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.004896/6.586, allocations: 2.014 MB / 3.387 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006458/6.587, allocations: 0.5401 MB / 3.388 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/6.587, allocations: 4.125 kB / 3.388 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003929/6.588, allocations: 453.7 kB / 3.388 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/6.589, allocations: 279.5 kB / 3.388 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006342/6.595, allocations: 5.154 MB / 3.393 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/6.596, allocations: 1.07 MB / 3.394 GB, free: 98.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005483/6.596, allocations: 270.5 kB / 3.395 GB, free: 98.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/6.597, allocations: 275.4 kB / 3.395 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/6.597, allocations: 0 / 3.395 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04735/6.644, allocations: 27.53 MB / 3.422 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/6.644, allocations: 219.1 kB / 3.422 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/9.468, allocations: 0 / 3.422 GB, free: 90.24 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)