Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008238/0.0008238, allocations: 87.58 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009747/0.0009748, allocations: 176.2 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.139/1.139, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2263/0.2263, allocations: 48.79 MB / 320.8 MB, free: 11.12 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004685, allocations: 17.94 kB / 391.9 MB, free: 49.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07598/0.07646, allocations: 60.27 MB / 452.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01595/0.09244, allocations: 16.37 MB / 468.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.1064, allocations: 14.31 MB / 482.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.1066, allocations: 0 / 482.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.107, allocations: 119.4 kB / 483 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.1073, allocations: 206.9 kB / 483.2 MB, free: 9.977 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009391/0.1167, allocations: 4.194 MB / 487.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.1185, allocations: 2.169 MB / 489.5 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.1187, allocations: 105.2 kB / 489.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007035/0.1194, allocations: 0.5496 MB / 490.2 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.1205, allocations: 0.7833 MB / 491 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.1207, allocations: 76 kB / 491.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009566/0.1303, allocations: 6.649 MB / 497.7 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.1307, allocations: 414.9 kB / 498.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006389/0.1313, allocations: 0.5427 MB / 498.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006464/0.1378, allocations: 4.95 MB / 0.4918 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1378, allocations: 0 / 0.4918 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1378, allocations: 0 / 0.4918 GB, free: 5.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.763e-05/0.1378, allocations: 0 / 0.4918 GB, free: 5.508 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.008449/0.1463, allocations: 2.598 MB / 0.4943 GB, free: 2.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1463, allocations: 8.031 kB / 0.4943 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002161/0.1466, allocations: 147.2 kB / 0.4945 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.1481, allocations: 291.9 kB / 0.4948 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007532/0.1488, allocations: 0.5847 MB / 0.4953 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009147/0.1497, allocations: 0.5099 MB / 0.4958 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/0.15, allocations: 72 kB / 0.4959 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008705/0.1587, allocations: 3.867 MB / 0.4997 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1587, allocations: 0 / 0.4997 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.1589, allocations: 39.98 kB / 0.4997 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/0.159, allocations: 53.91 kB / 0.4998 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.1742, allocations: 6.397 MB / 0.506 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.1882, allocations: 10.58 MB / 0.5163 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007689/0.1959, allocations: 3.234 MB / 0.5195 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006539/0.2024, allocations: 2.779 MB / 0.5222 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2396/0.442, allocations: 53.95 MB / 0.5749 GB, free: 46.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.4421, allocations: 42.94 kB / 0.5749 GB, free: 46.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.424e-06/0.4421, allocations: 0 / 0.5749 GB, free: 46.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01964/0.4618, allocations: 8.129 MB / 0.5829 GB, free: 39.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.4618, allocations: 61.44 kB / 0.5829 GB, free: 39.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.462, allocations: 253.6 kB / 0.5832 GB, free: 38.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.4622, allocations: 41.7 kB / 0.5832 GB, free: 38.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.4623, allocations: 245.1 kB / 0.5835 GB, free: 38.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.4625, allocations: 301.5 kB / 0.5837 GB, free: 38.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.4628, allocations: 77.69 kB / 0.5838 GB, free: 38.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.4628, allocations: 354.8 kB / 0.5842 GB, free: 37.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005814/0.4686, allocations: 2.644 MB / 0.5867 GB, free: 35.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00583/0.4745, allocations: 2.752 MB / 0.5894 GB, free: 32.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.485, allocations: 4.399 MB / 0.5937 GB, free: 28.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.485, allocations: 0 / 0.5937 GB, free: 28.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01173/0.4967, allocations: 5.133 MB / 0.5987 GB, free: 22.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4968, allocations: 8.281 kB / 0.5987 GB, free: 22.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.4968, allocations: 7.75 kB / 0.5988 GB, free: 22.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4968, allocations: 8 kB / 0.5988 GB, free: 22.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/0.5002, allocations: 1.069 MB / 0.5998 GB, free: 21.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.5002, allocations: 4 kB / 0.5998 GB, free: 21.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/0.5031, allocations: 0.8771 MB / 0.6007 GB, free: 20.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.5033, allocations: 91.81 kB / 0.6008 GB, free: 20.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004624/0.5037, allocations: 273.3 kB / 0.601 GB, free: 20.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.5039, allocations: 44.09 kB / 0.6011 GB, free: 20.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/0.5172, allocations: 7.53 MB / 0.6084 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01235/0.5296, allocations: 6.937 MB / 0.6152 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.5296, allocations: 0 / 0.6152 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5296, allocations: 3.984 kB / 0.6152 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/0.5474, allocations: 10.22 MB / 0.6252 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.5474, allocations: 4 kB / 0.6252 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003534/0.551, allocations: 1.05 MB / 0.6262 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.551, allocations: 4 kB / 0.6262 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/0.5512, allocations: 83.81 kB / 0.6263 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.5512, allocations: 4 kB / 0.6263 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5512, allocations: 0 / 0.6263 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/0.5646, allocations: 5.835 MB / 0.632 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.5648, allocations: 199.4 kB / 0.6322 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.565, allocations: 16 kB / 0.6322 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/0.568, allocations: 0.8428 MB / 0.633 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/0.5683, allocations: 140.6 kB / 0.6331 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.5685, allocations: 87.81 kB / 0.6332 GB, free: 3.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.5687, allocations: 190 kB / 0.6334 GB, free: 3.324 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5687, allocations: 0 / 0.6334 GB, free: 3.324 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002863/0.5715, allocations: 1.279 MB / 0.6347 GB, free: 2.129 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01722/0.5888, allocations: 7.44 MB / 0.6419 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01363/0.6024, allocations: 5.88 MB / 0.6477 GB, free: 4.957 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6024, allocations: 0 / 0.6477 GB, free: 4.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006936/0.6094, allocations: 3.211 MB / 0.6508 GB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.6112, allocations: 338.2 kB / 0.6511 GB, free: 1.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04772/0.659, allocations: 22.42 MB / 0.673 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.6596, allocations: 1.118 MB / 0.6741 GB, free: 9.695 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001898/0.6615, allocations: 0.7161 MB / 0.6748 GB, free: 8.996 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.6627, allocations: 490 kB / 0.6753 GB, free: 8.52 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6627, allocations: 4 kB / 0.6753 GB, free: 8.516 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2353/0.8981, allocations: 64.49 MB / 0.7383 GB, free: 166.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001213/0.8982, allocations: 219.9 kB / 0.7385 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.901/4.799, allocations: 0 / 0.7385 GB, free: 166.6 MB / 0.4981 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1)