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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001633/0.001633, allocations: 175.4 kB / 13.63 MB, free: 1.684 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.648/1.648, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009644/0.0009643, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3211/0.3211, allocations: 48.78 MB / 364.3 MB, free: 6.875 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.554e-05, allocations: 7.938 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1389, allocations: 60.25 MB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.222/7.361, allocations: 2.83 GB / 3.311 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/7.361, allocations: 79.95 kB / 3.311 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6557/8.017, allocations: 146.3 MB / 3.454 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.492e-06/8.017, allocations: 3.75 kB / 3.454 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.523e-05/8.017, allocations: 15.5 kB / 3.454 GB, free: 107.4 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01034/8.027, allocations: 2.511 MB / 3.457 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/8.027, allocations: 10.41 kB / 3.457 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005592/8.028, allocations: 147.7 kB / 3.457 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/8.029, allocations: 240.7 kB / 3.457 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/8.03, allocations: 0.5918 MB / 3.458 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009553/8.031, allocations: 0.5181 MB / 3.458 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002655/8.032, allocations: 72.19 kB / 3.458 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004025/8.036, allocations: 2.418 MB / 3.461 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/8.036, allocations: 0 / 3.461 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/8.036, allocations: 28.06 kB / 3.461 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/8.036, allocations: 46.78 kB / 3.461 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005302/8.041, allocations: 3.326 MB / 3.464 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01416/8.055, allocations: 8.788 MB / 3.473 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/8.059, allocations: 1.702 MB / 3.474 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/8.061, allocations: 1.228 MB / 3.476 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1736/8.234, allocations: 88.46 MB / 3.562 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/8.234, allocations: 39.34 kB / 3.562 GB, free: 38.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=88): time 4.549e-06/8.234, allocations: 4 kB / 3.562 GB, free: 38.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88): time 0.008157/8.243, allocations: 2.328 MB / 3.564 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/8.243, allocations: 60.19 kB / 3.564 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/8.243, allocations: 228.1 kB / 3.564 GB, free: 36.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002178/8.243, allocations: 41.7 kB / 3.565 GB, free: 36.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/8.243, allocations: 242.7 kB / 3.565 GB, free: 36.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004251/8.244, allocations: 308.9 kB / 3.565 GB, free: 35.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/8.244, allocations: 12 kB / 3.565 GB, free: 35.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001084/8.244, allocations: 357.9 kB / 3.565 GB, free: 35.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/8.246, allocations: 1.107 MB / 3.566 GB, free: 34.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/8.249, allocations: 1.195 MB / 3.568 GB, free: 33.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/8.25, allocations: 0.6389 MB / 3.568 GB, free: 32.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/8.25, allocations: 7.953 kB / 3.568 GB, free: 32.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.005146/8.256, allocations: 2.052 MB / 3.57 GB, free: 31.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/8.256, allocations: 11.44 kB / 3.57 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/8.256, allocations: 0 / 3.57 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/8.256, allocations: 11.94 kB / 3.57 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005317/8.261, allocations: 1.073 MB / 3.571 GB, free: 30.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-05/8.261, allocations: 11.61 kB / 3.571 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004573/8.266, allocations: 0.869 MB / 3.572 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004683/8.266, allocations: 95.14 kB / 3.572 GB, free: 29.75 MB / 0.5105 GB 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 () * 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.0005731/8.267, allocations: 151.2 kB / 3.572 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/8.267, allocations: 55.05 kB / 3.573 GB, free: 29.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007685/8.275, allocations: 4.016 MB / 3.576 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00594/8.281, allocations: 3.422 MB / 3.58 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/8.281, allocations: 4 kB / 3.58 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/8.281, allocations: 3.422 kB / 3.58 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/8.295, allocations: 6.682 MB / 3.586 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/8.295, allocations: 0 / 3.586 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005126/8.3, allocations: 1.064 MB / 3.587 GB, free: 17.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.897e-05/8.3, allocations: 7.938 kB / 3.587 GB, free: 17.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003538/8.301, allocations: 83.23 kB / 3.587 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/8.301, allocations: 4 kB / 3.587 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/8.301, allocations: 4 kB / 3.587 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005751/8.307, allocations: 2.709 MB / 3.59 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003/8.307, allocations: 187.1 kB / 3.59 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/8.307, allocations: 16 kB / 3.59 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00434/8.312, allocations: 0.8404 MB / 3.591 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/8.312, allocations: 152.6 kB / 3.591 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003282/8.312, allocations: 88.33 kB / 3.591 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002253/8.313, allocations: 180.3 kB / 3.592 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/8.313, allocations: 0 / 3.592 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006749/8.319, allocations: 1.318 MB / 3.593 GB, free: 12.38 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: 16 ($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.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01516/8.335, allocations: 4.602 MB / 3.597 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007323/8.342, allocations: 2.775 MB / 3.6 GB, free: 6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/8.342, allocations: 0 / 3.6 GB, free: 6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003571/8.346, allocations: 1.642 MB / 3.602 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/8.348, allocations: 315.6 kB / 3.602 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/8.364, allocations: 3.836 MB / 3.606 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007347/8.365, allocations: 1.124 MB / 3.607 GB, free: 228 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004324/8.369, allocations: 0.6936 MB / 3.607 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002303/8.371, allocations: 490.8 kB / 3.608 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/8.371, allocations: 0 / 3.608 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4456/8.817, allocations: 56.89 MB / 3.663 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/8.817, allocations: 173.2 kB / 3.664 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.583/12.4, allocations: 0 / 3.664 GB, free: 109.5 MB / 0.5261 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)