Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.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.TestFlowDependentHeatTransferCoefficient2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlowDependentHeatTransferCoefficient2ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlowDependentHeatTransferCoefficient2ph",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.001942/0.001942, allocations: 180.2 kB / 16.38 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.693/1.693, 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.000938/0.0009381, allocations: 97.61 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4481/0.4481, allocations: 48.78 MB / 367.9 MB, free: 47.45 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004115, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1348, allocations: 60.25 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.619/6.754, allocations: 2.841 GB / 3.329 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/6.754, allocations: 78.55 kB / 3.329 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2928/7.047, allocations: 117.5 MB / 3.444 GB, free: 78.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.316e-06/7.047, allocations: 0 / 3.444 GB, free: 78.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.158e-05/7.047, allocations: 19.94 kB / 3.444 GB, free: 78.27 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.01047/7.057, allocations: 2.211 MB / 3.446 GB, free: 76.01 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/7.057, allocations: 12.03 kB / 3.446 GB, free: 76 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003332/7.058, allocations: 134.5 kB / 3.446 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007728/7.059, allocations: 147.2 kB / 3.446 GB, free: 75.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/7.06, allocations: 0.5261 MB / 3.447 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009344/7.061, allocations: 0.5143 MB / 3.447 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/7.061, allocations: 60 kB / 3.447 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00771/7.069, allocations: 3.646 MB / 3.451 GB, free: 70.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/7.069, allocations: 15.89 kB / 3.451 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/7.069, allocations: 20 kB / 3.451 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-05/7.069, allocations: 41.3 kB / 3.451 GB, free: 70.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/7.082, allocations: 5.882 MB / 3.456 GB, free: 64.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/7.095, allocations: 8.869 MB / 3.465 GB, free: 55.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006295/7.101, allocations: 2.925 MB / 3.468 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0596/7.161, allocations: 36.01 MB / 3.503 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/7.161, allocations: 39.12 kB / 3.503 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=59): time 2.575e-06/7.161, allocations: 0 / 3.503 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59): time 0.01819/7.179, allocations: 7.548 MB / 3.511 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/7.18, allocations: 55.97 kB / 3.511 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/7.18, allocations: 228 kB / 3.511 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002151/7.18, allocations: 33.7 kB / 3.511 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/7.18, allocations: 236.6 kB / 3.511 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/7.181, allocations: 205 kB / 3.511 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/7.181, allocations: 12 kB / 3.511 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001239/7.181, allocations: 350.7 kB / 3.512 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005324/7.186, allocations: 2.499 MB / 3.514 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3058/7.492, allocations: 2.614 MB / 3.517 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006522/7.499, allocations: 2.019 MB / 3.519 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/7.499, allocations: 1.219 kB / 3.519 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01342/7.512, allocations: 4.792 MB / 3.523 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003889/7.513, allocations: 1.136 MB / 3.524 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/7.513, allocations: 3.531 kB / 3.524 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.698e-05/7.513, allocations: 5.844 kB / 3.524 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00377/7.517, allocations: 1.021 MB / 3.525 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/7.517, allocations: 3.906 kB / 3.525 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/7.52, allocations: 0.8581 MB / 3.526 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/7.52, allocations: 81.56 kB / 3.526 GB, free: 112 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/7.52, allocations: 5.625 kB / 3.526 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01172/7.532, allocations: 4.732 MB / 3.531 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/7.532, allocations: 3.25 kB / 3.531 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/7.532, allocations: 6.531 kB / 3.531 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/7.535, allocations: 1.018 MB / 3.532 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/7.535, allocations: 9.344 kB / 3.532 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/7.538, allocations: 0.8473 MB / 3.533 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/7.538, allocations: 86.75 kB / 3.533 GB, free: 112 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (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 (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007803/7.539, allocations: 323 kB / 3.533 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/7.539, allocations: 37.31 kB / 3.533 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/7.553, allocations: 6.384 MB / 3.539 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01304/7.566, allocations: 5.97 MB / 3.545 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/7.566, allocations: 0 / 3.545 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/7.566, allocations: 12.52 kB / 3.545 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/7.587, allocations: 8.849 MB / 3.554 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/7.587, allocations: 0 / 3.554 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00415/7.591, allocations: 1 MB / 3.555 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.262e-05/7.591, allocations: 5.266 kB / 3.555 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000344/7.592, allocations: 72.77 kB / 3.555 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/7.592, allocations: 6.188 kB / 3.555 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/7.592, allocations: 2.031 kB / 3.555 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/7.608, allocations: 5.39 MB / 3.56 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/7.609, allocations: 171.3 kB / 3.56 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/7.609, allocations: 11.69 kB / 3.56 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00286/7.612, allocations: 0.8247 MB / 3.561 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/7.612, allocations: 129.7 kB / 3.561 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/7.612, allocations: 76.5 kB / 3.561 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001965/7.612, allocations: 187 kB / 3.562 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/7.612, allocations: 0 / 3.562 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005877/7.618, allocations: 1.333 MB / 3.563 GB, free: 110.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.region3boundary,$cse8.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01901/7.637, allocations: 7.063 MB / 3.57 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01872/7.656, allocations: 8.191 MB / 3.578 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/7.656, allocations: 0 / 3.578 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006175/7.662, allocations: 2.951 MB / 3.581 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/7.664, allocations: 221.2 kB / 3.581 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03481/7.698, allocations: 16.41 MB / 3.597 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/7.699, allocations: 1.064 MB / 3.598 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002887/7.702, allocations: 0.8806 MB / 3.599 GB, free: 99.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/7.703, allocations: 420.5 kB / 3.599 GB, free: 99.22 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/7.703, allocations: 0 / 3.599 GB, free: 99.22 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07208/7.775, allocations: 49.11 MB / 3.647 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/7.775, allocations: 223.7 kB / 3.647 GB, free: 60.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.564/11.34, allocations: 0 / 3.647 GB, free: 60.56 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlowDependentHeatTransferCoefficient2ph_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlowDependentHeatTransferCoefficient2ph.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe 2>&1)