Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",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.001101/0.001101, allocations: 106.6 kB / 16.94 MB, free: 6.309 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.001109/0.001109, allocations: 187.4 kB / 17.87 MB, free: 5.391 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.149/1.149, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2312/0.2312, allocations: 48.84 MB / 319.9 MB, free: 11.1 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.00126/0.00126, allocations: 70.92 kB / 390.2 MB, free: 48.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07574/0.07702, allocations: 59.17 MB / 449.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01459/0.09164, allocations: 15.65 MB / 465.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.1049, allocations: 13.8 MB / 478.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1051, allocations: 0 / 478.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.1055, allocations: 127.2 kB / 479 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005105/0.106, allocations: 254.5 kB / 479.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01152/0.1175, allocations: 5.507 MB / 484.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.1186, allocations: 1.03 MB / 485.8 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.31e-05/0.1187, allocations: 28.75 kB / 485.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007048/0.1194, allocations: 0.4908 MB / 486.3 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000619/0.12, allocations: 458.9 kB / 486.7 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.1202, allocations: 43.94 kB / 486.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009403/0.1296, allocations: 6.294 MB / 493.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.1299, allocations: 179.5 kB / 493.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.1301, allocations: 243.1 kB / 493.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005435/0.1356, allocations: 3.93 MB / 497.4 MB, free: 9.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1356, allocations: 0 / 497.4 MB, free: 9.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1356, allocations: 4 kB / 497.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.1356, allocations: 0 / 497.4 MB, free: 9.465 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.004486/0.1401, allocations: 1.502 MB / 498.9 MB, free: 7.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1402, allocations: 15.89 kB / 498.9 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.1403, allocations: 70.73 kB / 499 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.1416, allocations: 164.4 kB / 499.2 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.1421, allocations: 347.8 kB / 499.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.1423, allocations: 130.8 kB / 499.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1424, allocations: 35.94 kB / 499.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/0.1466, allocations: 1.876 MB / 0.4898 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1466, allocations: 4 kB / 0.4898 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.167e-05/0.1467, allocations: 16 kB / 0.4898 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.1468, allocations: 12.56 kB / 0.4898 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006052/0.1528, allocations: 2.644 MB / 0.4924 GB, free: 2.52 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004149/0.157, allocations: 4.843 MB / 0.4971 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.1603, allocations: 1.346 MB / 0.4984 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/0.1625, allocations: 0.9927 MB / 0.4994 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2655/0.428, allocations: 75.95 MB / 0.5736 GB, free: 45.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.4281, allocations: 34.77 kB / 0.5736 GB, free: 45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.4281, allocations: 0 / 0.5736 GB, free: 45 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.01733/0.4454, allocations: 5.853 MB / 0.5793 GB, free: 39.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.4455, allocations: 63.19 kB / 0.5794 GB, free: 39.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/0.4456, allocations: 146.6 kB / 0.5795 GB, free: 39.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-05/0.4457, allocations: 34.58 kB / 0.5796 GB, free: 39.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.4457, allocations: 151 kB / 0.5797 GB, free: 38.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.4459, allocations: 148.4 kB / 0.5799 GB, free: 38.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003683/0.4462, allocations: 221.8 kB / 0.5801 GB, free: 38.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.4463, allocations: 332.7 kB / 0.5804 GB, free: 38.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002731/0.449, allocations: 1.121 MB / 0.5815 GB, free: 37.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/0.4518, allocations: 1.209 MB / 0.5827 GB, free: 35.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005133/0.457, allocations: 1.975 MB / 0.5846 GB, free: 33.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.457, allocations: 0 / 0.5846 GB, free: 33.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.005947/0.4629, allocations: 2.338 MB / 0.5869 GB, free: 31.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.463, allocations: 7.938 kB / 0.5869 GB, free: 31.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.463, allocations: 4 kB / 0.5869 GB, free: 31.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.463, allocations: 4 kB / 0.5869 GB, free: 31.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.465, allocations: 494.9 kB / 0.5874 GB, free: 31.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.4651, allocations: 4 kB / 0.5874 GB, free: 31.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.4665, allocations: 251.6 kB / 0.5876 GB, free: 30.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.4667, allocations: 83.86 kB / 0.5877 GB, free: 30.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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.0002604/0.4669, allocations: 176 kB / 0.5878 GB, free: 30.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.4671, allocations: 27.66 kB / 0.5879 GB, free: 30.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007936/0.4751, allocations: 7.109 MB / 0.5948 GB, free: 23.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007029/0.4821, allocations: 6.564 MB / 0.6012 GB, free: 16.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4821, allocations: 3.562 kB / 0.6012 GB, free: 16.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.4822, allocations: 3.984 kB / 0.6012 GB, free: 16.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009709/0.4919, allocations: 10.44 MB / 0.6114 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4919, allocations: 0 / 0.6114 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001949/0.4938, allocations: 498.7 kB / 0.6119 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.4939, allocations: 4 kB / 0.6119 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.494, allocations: 47.91 kB / 0.612 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.494, allocations: 4 kB / 0.612 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.494, allocations: 0 / 0.612 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008161/0.5022, allocations: 4.499 MB / 0.6164 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.5025, allocations: 276.6 kB / 0.6166 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.5027, allocations: 19.83 kB / 0.6166 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.504, allocations: 251.7 kB / 0.6169 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.5041, allocations: 76.84 kB / 0.6169 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.5042, allocations: 55.91 kB / 0.617 GB, free: 408 kB / 414.1 MB Notification: Performance of sorting global known variables: time 4.621e-05/0.5043, allocations: 122.4 kB / 0.6171 GB, free: 288 kB / 414.1 MB Notification: Performance of sort global known variables: time 8.72e-07/0.5043, allocations: 0 / 0.6171 GB, free: 288 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002194/0.5065, allocations: 0.9732 MB / 0.6181 GB, free: 15.38 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 8 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.region3boundary,$cse26.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.01356/0.5201, allocations: 5.929 MB / 0.6239 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006222/0.5263, allocations: 2.644 MB / 0.6264 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5263, allocations: 0 / 0.6264 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003068/0.5294, allocations: 1.541 MB / 0.6279 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/0.5301, allocations: 102 kB / 0.628 GB, free: 5.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.022/0.5521, allocations: 9.737 MB / 0.6376 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.5525, allocations: 0.9282 MB / 0.6385 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001795/0.5543, allocations: 1.305 MB / 0.6397 GB, free: 9.215 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000807/0.5552, allocations: 311.1 kB / 0.64 GB, free: 8.91 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5552, allocations: 0 / 0.64 GB, free: 8.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07272/0.6279, allocations: 48.91 MB / 0.6878 GB, free: 7.938 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.672/9.3, allocations: 4.062 kB / 0.6878 GB, free: 7.934 MB / 494.1 MB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance_fmu --startTime=0 --stopTime=19 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1)