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.002117/0.002117, 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.833/1.833, 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.0008315/0.0008315, allocations: 85.42 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.4962/0.4962, allocations: 48.76 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 4.54e-05/4.528e-05, allocations: 7.938 kB / 425.4 MB, free: 8.141 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1577, allocations: 60.26 MB / 485.7 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.114/7.272, allocations: 2.841 GB / 3.315 GB, free: 127 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/7.272, allocations: 77.47 kB / 3.315 GB, free: 127 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.3001/7.573, allocations: 115.7 MB / 3.428 GB, free: 50.79 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.563e-06/7.573, allocations: 0 / 3.428 GB, free: 50.79 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 2.645e-05/7.573, allocations: 12 kB / 3.428 GB, free: 50.77 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.008202/7.581, allocations: 2.187 MB / 3.43 GB, free: 48.54 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/7.581, allocations: 8.031 kB / 3.43 GB, free: 48.53 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007221/7.582, allocations: 151.2 kB / 3.43 GB, free: 48.38 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/7.582, allocations: 0.5221 MB / 3.431 GB, free: 47.82 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008818/7.583, allocations: 494.9 kB / 3.431 GB, free: 47.3 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/7.584, allocations: 32 kB / 3.431 GB, free: 47.27 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003475/7.587, allocations: 2.641 MB / 3.434 GB, free: 44.63 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/7.589, allocations: 1.903 MB / 3.436 GB, free: 42.67 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/7.59, allocations: 3.953 kB / 3.436 GB, free: 42.67 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/7.59, allocations: 4 kB / 3.436 GB, free: 42.66 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/7.59, allocations: 33.3 kB / 3.436 GB, free: 42.63 MB / 0.5108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/7.601, allocations: 8.789 MB / 3.444 GB, free: 33.41 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/7.603, allocations: 1.251 MB / 3.446 GB, free: 32.14 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/7.604, allocations: 1.014 MB / 3.447 GB, free: 31.13 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4013/8.005, allocations: 36.13 MB / 3.482 GB, free: 98.95 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/8.005, allocations: 40.44 kB / 3.482 GB, free: 98.91 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=59): time 3.447e-06/8.005, allocations: 1.188 kB / 3.482 GB, free: 98.91 MB / 0.5108 GB Notification: Performance of matching and sorting (n=59): time 0.004868/8.01, allocations: 1.762 MB / 3.484 GB, free: 98.88 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/8.01, allocations: 58.53 kB / 3.484 GB, free: 98.82 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/8.01, allocations: 166.5 kB / 3.484 GB, free: 98.72 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/8.011, allocations: 31.14 kB / 3.484 GB, free: 98.69 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/8.011, allocations: 244.3 kB / 3.484 GB, free: 98.57 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/8.011, allocations: 192.3 kB / 3.484 GB, free: 98.47 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/8.011, allocations: 3.391 kB / 3.484 GB, free: 98.47 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 9.194e-05/8.011, allocations: 344.1 kB / 3.485 GB, free: 98.16 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/8.013, allocations: 0.935 MB / 3.486 GB, free: 98.16 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/8.014, allocations: 1.038 MB / 3.487 GB, free: 98.05 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/8.015, allocations: 488.1 kB / 3.487 GB, free: 98.05 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/8.015, allocations: 2.406 kB / 3.487 GB, free: 98.05 MB / 0.5108 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002659/8.018, allocations: 1.655 MB / 3.489 GB, free: 98 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002218/8.018, allocations: 1.142 MB / 3.49 GB, free: 96.82 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/8.018, allocations: 3.203 kB / 3.49 GB, free: 96.82 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/8.018, allocations: 7.031 kB / 3.49 GB, free: 96.82 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/8.021, allocations: 1.016 MB / 3.491 GB, free: 96.82 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/8.021, allocations: 7.922 kB / 3.491 GB, free: 96.82 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/8.025, allocations: 0.8368 MB / 3.492 GB, free: 96.8 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/8.025, allocations: 83.28 kB / 3.492 GB, free: 96.8 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/8.025, allocations: 6.875 kB / 3.492 GB, free: 96.8 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002655/8.027, allocations: 1.592 MB / 3.493 GB, free: 96.8 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/8.027, allocations: 4.656 kB / 3.493 GB, free: 96.8 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/8.027, allocations: 13.61 kB / 3.493 GB, free: 96.79 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/8.031, allocations: 1.013 MB / 3.494 GB, free: 96.79 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/8.031, allocations: 11.64 kB / 3.494 GB, free: 96.79 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/8.034, allocations: 0.8372 MB / 3.495 GB, free: 96.78 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/8.034, allocations: 86.84 kB / 3.495 GB, free: 96.78 MB / 0.5108 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 () * 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.000432/8.035, allocations: 113 kB / 3.495 GB, free: 96.68 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002716/8.037, allocations: 1.609 MB / 3.497 GB, free: 96.61 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/8.038, allocations: 33.86 kB / 3.497 GB, free: 96.59 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/8.041, allocations: 3.227 MB / 3.5 GB, free: 96.41 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003116/8.045, allocations: 2.846 MB / 3.503 GB, free: 96.23 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/8.045, allocations: 3.609 kB / 3.503 GB, free: 96.23 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/8.045, allocations: 0 / 3.503 GB, free: 96.23 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0085/8.053, allocations: 5.591 MB / 3.508 GB, free: 95.55 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/8.053, allocations: 0 / 3.508 GB, free: 95.55 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00337/8.057, allocations: 0.9966 MB / 3.509 GB, free: 95.55 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.611e-05/8.057, allocations: 7.172 kB / 3.509 GB, free: 95.54 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/8.057, allocations: 68.22 kB / 3.509 GB, free: 95.54 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/8.057, allocations: 3.562 kB / 3.509 GB, free: 95.54 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/8.057, allocations: 0.6562 kB / 3.509 GB, free: 95.54 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/8.06, allocations: 2.257 MB / 3.512 GB, free: 95.28 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/8.06, allocations: 164.2 kB / 3.512 GB, free: 95.15 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/8.06, allocations: 0 / 3.512 GB, free: 95.15 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002984/8.063, allocations: 0.8201 MB / 3.512 GB, free: 95.14 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/8.064, allocations: 126.6 kB / 3.513 GB, free: 95.14 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/8.064, allocations: 76.91 kB / 3.513 GB, free: 95.14 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0001411/8.064, allocations: 137.1 kB / 3.513 GB, free: 95.07 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.81e-07/8.064, allocations: 7.844 kB / 3.513 GB, free: 95.07 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.005211/8.069, allocations: 1.307 MB / 3.514 GB, free: 95.04 MB / 0.5108 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 () * 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.008279/8.078, allocations: 3.953 MB / 3.518 GB, free: 94.09 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.005616/8.083, allocations: 3.461 MB / 3.521 GB, free: 94 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/8.083, allocations: 0 / 3.521 GB, free: 94 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.002049/8.085, allocations: 1.375 MB / 3.523 GB, free: 94 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/8.086, allocations: 157.4 kB / 3.523 GB, free: 93.99 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009486/8.096, allocations: 3.336 MB / 3.526 GB, free: 93.59 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/8.097, allocations: 1.065 MB / 3.527 GB, free: 92.88 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.003088/8.1, allocations: 0.8802 MB / 3.528 GB, free: 92.88 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/8.101, allocations: 417.7 kB / 3.528 GB, free: 92.87 MB / 0.5108 GB Notification: Performance of SimCode: time 8.02e-07/8.101, allocations: 0 / 3.528 GB, free: 92.87 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08015/8.181, allocations: 46.11 MB / 3.573 GB, free: 91.16 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/8.181, allocations: 184.3 kB / 3.574 GB, free: 90.97 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.186/11.37, allocations: 7.031 kB / 3.574 GB, free: 90.97 MB / 0.5108 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)