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.001034/0.001034, allocations: 108.8 kB / 17.01 MB, free: 6.25 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.001024/0.001024, allocations: 190.9 kB / 17.95 MB, free: 5.332 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.333/1.333, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2563/0.2563, allocations: 48.85 MB / 320 MB, free: 11.03 MB / 270.1 MB 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.001449/0.00145, allocations: 71.56 kB / 390.3 MB, free: 48.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08444/0.08591, allocations: 59.16 MB / 449.5 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01737/0.1033, allocations: 16.09 MB / 465.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.1179, allocations: 13.55 MB / 479.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.1181, allocations: 7.938 kB / 479.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.1186, allocations: 131.2 kB / 479.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.119, allocations: 202.9 kB / 479.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01278/0.1318, allocations: 5.337 MB / 484.8 MB, free: 6.113 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.1336, allocations: 1.95 MB / 486.8 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.1338, allocations: 125.6 kB / 486.9 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007054/0.1345, allocations: 0.6083 MB / 487.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.1357, allocations: 0.7911 MB / 488.3 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002426/0.136, allocations: 136 kB / 488.4 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01194/0.1479, allocations: 6.778 MB / 495.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005299/0.1485, allocations: 475 kB / 495.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007778/0.1492, allocations: 0.58 MB / 496.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009104/0.1584, allocations: 5.029 MB / 0.4895 GB, free: 5.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1584, allocations: 0 / 0.4895 GB, free: 5.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1584, allocations: 0 / 0.4895 GB, free: 5.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.1584, allocations: 0 / 0.4895 GB, free: 5.625 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.009037/0.1675, allocations: 2.59 MB / 0.4921 GB, free: 2.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1675, allocations: 11.89 kB / 0.4921 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002168/0.1678, allocations: 147.2 kB / 0.4922 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.1695, allocations: 299.9 kB / 0.4925 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008978/0.1704, allocations: 0.5858 MB / 0.4931 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008715/0.1713, allocations: 458.2 kB / 0.4935 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.1716, allocations: 75.94 kB / 0.4936 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008699/0.1803, allocations: 3.371 MB / 0.4969 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.1803, allocations: 0 / 0.4969 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.1805, allocations: 32 kB / 0.4969 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.97e-05/0.1806, allocations: 49.97 kB / 0.4969 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.1948, allocations: 5.397 MB / 0.5022 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.2103, allocations: 10.08 MB / 0.5121 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007434/0.2178, allocations: 2.738 MB / 0.5147 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006012/0.2239, allocations: 2.279 MB / 0.517 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2713/0.4952, allocations: 53.64 MB / 0.5693 GB, free: 50.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.4953, allocations: 42.38 kB / 0.5694 GB, free: 50.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 3.436e-06/0.4953, allocations: 0 / 0.5694 GB, free: 50.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01777/0.5131, allocations: 6.635 MB / 0.5759 GB, free: 44.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.5132, allocations: 64.39 kB / 0.5759 GB, free: 44.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.5134, allocations: 251.2 kB / 0.5762 GB, free: 43.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002539/0.5137, allocations: 45.7 kB / 0.5762 GB, free: 43.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.5138, allocations: 241.9 kB / 0.5764 GB, free: 43.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.5141, allocations: 308.6 kB / 0.5767 GB, free: 43.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005369/0.5147, allocations: 286.2 kB / 0.577 GB, free: 43.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.5147, allocations: 354.8 kB / 0.5773 GB, free: 42.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005037/0.5198, allocations: 2.14 MB / 0.5794 GB, free: 40.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00521/0.525, allocations: 2.252 MB / 0.5816 GB, free: 38.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009257/0.5343, allocations: 3.403 MB / 0.585 GB, free: 34.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.5343, allocations: 5.688 kB / 0.585 GB, free: 34.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01079/0.5451, allocations: 4.129 MB / 0.589 GB, free: 30.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.5452, allocations: 8 kB / 0.589 GB, free: 30.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5452, allocations: 3.75 kB / 0.589 GB, free: 30.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.5453, allocations: 11.84 kB / 0.589 GB, free: 30.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003307/0.5486, allocations: 0.8144 MB / 0.5898 GB, free: 29.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.5486, allocations: 10.44 kB / 0.5898 GB, free: 29.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/0.5512, allocations: 0.6111 MB / 0.5904 GB, free: 29.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002904/0.5515, allocations: 91.81 kB / 0.5905 GB, free: 29.26 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.0007028/0.5523, allocations: 265.8 kB / 0.5908 GB, free: 29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.5526, allocations: 46.81 kB / 0.5908 GB, free: 28.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/0.5654, allocations: 6.527 MB / 0.5972 GB, free: 22.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01172/0.5772, allocations: 5.938 MB / 0.603 GB, free: 16.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.5772, allocations: 0 / 0.603 GB, free: 16.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.5772, allocations: 3.984 kB / 0.603 GB, free: 16.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/0.5944, allocations: 9.106 MB / 0.6119 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.5944, allocations: 3.938 kB / 0.6119 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003258/0.5977, allocations: 0.806 MB / 0.6127 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.5978, allocations: 4 kB / 0.6127 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/0.598, allocations: 79.81 kB / 0.6127 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.5981, allocations: 4 kB / 0.6127 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5981, allocations: 0 / 0.6127 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.609, allocations: 4.837 MB / 0.6175 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.6092, allocations: 195.4 kB / 0.6177 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/0.6095, allocations: 19.84 kB / 0.6177 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/0.6121, allocations: 0.5617 MB / 0.6182 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/0.6124, allocations: 140.6 kB / 0.6184 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/0.6126, allocations: 87.81 kB / 0.6184 GB, free: 0.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.6127, allocations: 190 kB / 0.6186 GB, free: 408 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6127, allocations: 0 / 0.6186 GB, free: 408 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.003212/0.616, allocations: 1.285 MB / 0.6199 GB, free: 15.2 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.01699/0.633, allocations: 6.432 MB / 0.6262 GB, free: 8.887 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01282/0.6458, allocations: 4.887 MB / 0.6309 GB, free: 4.004 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6459, allocations: 0 / 0.6309 GB, free: 4.004 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006619/0.6525, allocations: 2.714 MB / 0.6336 GB, free: 1.305 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.6544, allocations: 350.3 kB / 0.6339 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04595/0.7004, allocations: 18.51 MB / 0.652 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/0.7012, allocations: 1.122 MB / 0.6531 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002297/0.7035, allocations: 0.7105 MB / 0.6538 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/0.705, allocations: 490.9 kB / 0.6543 GB, free: 11.98 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.705, allocations: 0 / 0.6543 GB, free: 11.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5166/1.222, allocations: 66.45 MB / 0.7191 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.59, allocations: 7.047 kB / 0.7192 GB, free: 175.2 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)