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.000786/0.000786, allocations: 88.16 kB / 16.31 MB, free: 5.551 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.0008376/0.0008377, allocations: 181.5 kB / 17.21 MB, free: 5.469 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.456/1.456, allocations: 205.4 MB / 223.4 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.263/0.263, allocations: 48.77 MB / 320.4 MB, free: 11.3 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.0005309/0.0005309, allocations: 18.19 kB / 391.3 MB, free: 50.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09872/0.09926, allocations: 60.27 MB / 451.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01641/0.1157, allocations: 14.92 MB / 466.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.13, allocations: 12.57 MB / 479 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.1302, allocations: 7.938 kB / 479 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.1306, allocations: 111.4 kB / 479.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.131, allocations: 195 kB / 479.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01242/0.1434, allocations: 4.053 MB / 483.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002131/0.1455, allocations: 1.86 MB / 485.2 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.1458, allocations: 97.2 kB / 485.3 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006935/0.1465, allocations: 0.5419 MB / 485.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.1476, allocations: 0.7912 MB / 486.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.1478, allocations: 83.94 kB / 486.7 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01233/0.1601, allocations: 6.434 MB / 493.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005553/0.1607, allocations: 415 kB / 493.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003923/0.1611, allocations: 181.4 kB / 493.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006167/0.1673, allocations: 3.419 MB / 497.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1673, allocations: 0 / 497.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.977e-06/0.1673, allocations: 7.938 kB / 497.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.1674, allocations: 3.938 kB / 497.2 MB, free: 11.67 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.008828/0.1762, allocations: 2.591 MB / 499.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.1763, allocations: 16.02 kB / 499.8 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003423/0.1766, allocations: 143 kB / 499.9 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.1782, allocations: 298.9 kB / 0.4885 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008526/0.1791, allocations: 0.5721 MB / 0.4891 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008625/0.1799, allocations: 0.5138 MB / 0.4896 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.1802, allocations: 72 kB / 0.4896 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008592/0.1888, allocations: 3.863 MB / 0.4934 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1888, allocations: 0 / 0.4934 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.189, allocations: 35.98 kB / 0.4934 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.485e-05/0.1891, allocations: 49.92 kB / 0.4935 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/0.2033, allocations: 6.393 MB / 0.4997 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/0.2178, allocations: 10.58 MB / 0.5101 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007425/0.2253, allocations: 3.227 MB / 0.5132 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006171/0.2315, allocations: 2.779 MB / 0.5159 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2971/0.5286, allocations: 53.95 MB / 0.5686 GB, free: 52.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.5287, allocations: 41.72 kB / 0.5687 GB, free: 52.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 3.817e-06/0.5287, allocations: 0.7969 kB / 0.5687 GB, free: 52.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01914/0.5479, allocations: 8.114 MB / 0.5766 GB, free: 45.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.548, allocations: 60.41 kB / 0.5766 GB, free: 45.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.5483, allocations: 258.3 kB / 0.5769 GB, free: 45.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000284/0.5486, allocations: 33.7 kB / 0.5769 GB, free: 45.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.5488, allocations: 254.5 kB / 0.5772 GB, free: 44.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.5491, allocations: 298.1 kB / 0.5774 GB, free: 44.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.5492, allocations: 16 kB / 0.5775 GB, free: 44.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.5493, allocations: 362.6 kB / 0.5778 GB, free: 44.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005251/0.5546, allocations: 2.644 MB / 0.5804 GB, free: 41.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00529/0.5599, allocations: 2.744 MB / 0.5831 GB, free: 38.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004741/0.5647, allocations: 2.18 MB / 0.5852 GB, free: 36.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/0.5647, allocations: 4 kB / 0.5852 GB, free: 36.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01076/0.5754, allocations: 5.121 MB / 0.5902 GB, free: 31.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.5755, allocations: 8 kB / 0.5902 GB, free: 31.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.5755, allocations: 0 / 0.5902 GB, free: 31.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.5756, allocations: 8 kB / 0.5902 GB, free: 31.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003237/0.5788, allocations: 1.077 MB / 0.5913 GB, free: 30.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.5788, allocations: 4 kB / 0.5913 GB, free: 30.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/0.5815, allocations: 0.8734 MB / 0.5921 GB, free: 29.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.5817, allocations: 92.67 kB / 0.5922 GB, free: 29.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005142/0.5822, allocations: 284.5 kB / 0.5925 GB, free: 29.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.5824, allocations: 47.48 kB / 0.5925 GB, free: 29.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/0.5951, allocations: 7.516 MB / 0.5999 GB, free: 21.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01182/0.607, allocations: 6.917 MB / 0.6066 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.607, allocations: 0 / 0.6066 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.6071, allocations: 11.97 kB / 0.6066 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/0.6237, allocations: 10.2 MB / 0.6166 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/0.6237, allocations: 0 / 0.6166 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003153/0.6269, allocations: 1.057 MB / 0.6176 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.6269, allocations: 4.75 kB / 0.6176 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/0.6271, allocations: 82.06 kB / 0.6177 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.6272, allocations: 4 kB / 0.6177 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.6272, allocations: 3.938 kB / 0.6177 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/0.6394, allocations: 5.815 MB / 0.6234 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.6397, allocations: 191.4 kB / 0.6236 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/0.64, allocations: 19.95 kB / 0.6236 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/0.6428, allocations: 0.8428 MB / 0.6244 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002937/0.6431, allocations: 147.3 kB / 0.6246 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/0.6433, allocations: 87.81 kB / 0.6246 GB, free: 12.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.6435, allocations: 180.5 kB / 0.6248 GB, free: 11.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6435, allocations: 6.734 kB / 0.6248 GB, free: 11.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003678/0.6472, allocations: 1.275 MB / 0.6261 GB, free: 10.77 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 (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.01816/0.6654, allocations: 7.416 MB / 0.6333 GB, free: 3.461 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01403/0.6795, allocations: 5.876 MB / 0.6391 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6795, allocations: 0 / 0.6391 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007373/0.6869, allocations: 3.211 MB / 0.6422 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.6888, allocations: 315.7 kB / 0.6425 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03538/0.7242, allocations: 15.81 MB / 0.6579 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.7249, allocations: 1.131 MB / 0.659 GB, free: 9.008 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002328/0.7273, allocations: 0.7114 MB / 0.6597 GB, free: 8.301 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/0.7286, allocations: 486.9 kB / 0.6602 GB, free: 7.824 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.7286, allocations: 0 / 0.6602 GB, free: 7.824 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.315/1.044, allocations: 63.82 MB / 0.7225 GB, free: 169.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000294/1.044, allocations: 204.9 kB / 0.7227 GB, free: 169.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.577/5.62, allocations: 0 / 0.7227 GB, free: 169.5 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/linux/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) Environment - environmentSimulation: