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: translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 111.7 kB / 17.06 MB, free: 5.988 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.001116/0.001116, allocations: 191.9 kB / 18 MB, free: 5.078 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.292/1.292, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2712/0.2712, allocations: 48.85 MB / 320.1 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.001516/0.001516, allocations: 71.91 kB / 450.6 MB, free: 8.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1086, allocations: 59.17 MB / 0.4979 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01765/0.1263, allocations: 15.64 MB / 0.5131 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2464/0.3728, allocations: 13.79 MB / 0.5266 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.373, allocations: 1.156 kB / 0.5266 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004856/0.3735, allocations: 137.2 kB / 0.5267 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006666/0.3742, allocations: 249.7 kB / 0.527 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01375/0.388, allocations: 5.494 MB / 0.5323 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.3895, allocations: 1.031 MB / 0.5333 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.3895, allocations: 29.38 kB / 0.5334 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000907/0.3905, allocations: 0.4891 MB / 0.5338 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007027/0.3912, allocations: 458.5 kB / 0.5343 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.3913, allocations: 46.5 kB / 0.5343 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/0.4046, allocations: 6.352 MB / 0.5405 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.4049, allocations: 183 kB / 0.5407 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004805/0.4054, allocations: 244.7 kB / 0.5409 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.417, allocations: 3.936 MB / 0.5448 GB, free: 6.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4171, allocations: 1.281 kB / 0.5448 GB, free: 6.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4171, allocations: 7.844 kB / 0.5448 GB, free: 6.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.4171, allocations: 0 / 0.5448 GB, free: 6.316 MB / 414.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.006831/0.4239, allocations: 1.525 MB / 0.5463 GB, free: 5.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.424, allocations: 8.75 kB / 0.5463 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.4255, allocations: 159.6 kB / 0.5464 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.4261, allocations: 350.2 kB / 0.5468 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.4264, allocations: 125.9 kB / 0.5469 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.4266, allocations: 35.59 kB / 0.5469 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004753/0.4313, allocations: 1.88 MB / 0.5488 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.4314, allocations: 5.344 kB / 0.5488 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.4315, allocations: 11.94 kB / 0.5488 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/0.4315, allocations: 15.33 kB / 0.5488 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007084/0.4386, allocations: 2.652 MB / 0.5514 GB, free: 3.074 MB / 414.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.004332/0.443, allocations: 4.833 MB / 0.5561 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004371/0.4474, allocations: 1.351 MB / 0.5574 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002882/0.4503, allocations: 0.99 MB / 0.5584 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1657/0.616, allocations: 76.33 MB / 0.6329 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.6161, allocations: 35.5 kB / 0.633 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.525e-06/0.6161, allocations: 0 / 0.633 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.02367/0.6398, allocations: 5.859 MB / 0.6387 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.6398, allocations: 55.41 kB / 0.6387 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.64, allocations: 153.8 kB / 0.6389 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.6401, allocations: 29.7 kB / 0.6389 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.6403, allocations: 152.9 kB / 0.6391 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.6405, allocations: 153.6 kB / 0.6392 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004995/0.641, allocations: 229.8 kB / 0.6394 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6411, allocations: 334.8 kB / 0.6398 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003893/0.645, allocations: 1.116 MB / 0.6408 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003999/0.649, allocations: 1.2 MB / 0.642 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007424/0.6564, allocations: 1.979 MB / 0.6439 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6565, allocations: 0 / 0.6439 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008437/0.6649, allocations: 2.335 MB / 0.6462 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.665, allocations: 7.938 kB / 0.6462 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.665, allocations: 6.719 kB / 0.6462 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.665, allocations: 4 kB / 0.6462 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.6679, allocations: 496.2 kB / 0.6467 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.668, allocations: 4 kB / 0.6467 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.6701, allocations: 255.6 kB / 0.647 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003225/0.6704, allocations: 79.86 kB / 0.647 GB, free: 15.75 MB / 0.5137 GB 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.0007064/0.6711, allocations: 184.8 kB / 0.6472 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/0.6715, allocations: 23.86 kB / 0.6472 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.6841, allocations: 7.107 MB / 0.6542 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01087/0.695, allocations: 6.561 MB / 0.6606 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.695, allocations: 4 kB / 0.6606 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.695, allocations: 3.984 kB / 0.6606 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/0.7105, allocations: 10.47 MB / 0.6708 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.7106, allocations: 0 / 0.6708 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002708/0.7133, allocations: 497.4 kB / 0.6713 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-05/0.7133, allocations: 4 kB / 0.6713 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002386/0.7136, allocations: 47.91 kB / 0.6713 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.7136, allocations: 4 kB / 0.6713 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7136, allocations: 3.938 kB / 0.6713 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/0.7257, allocations: 4.499 MB / 0.6757 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005509/0.7263, allocations: 290.6 kB / 0.676 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.7265, allocations: 12 kB / 0.676 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.7284, allocations: 263.6 kB / 0.6763 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.7286, allocations: 76.78 kB / 0.6764 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/0.7288, allocations: 55.91 kB / 0.6764 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001135/0.7289, allocations: 111.2 kB / 0.6765 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7289, allocations: 0 / 0.6765 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00454/0.7334, allocations: 0.979 MB / 0.6775 GB, free: 228 kB / 0.5294 GB 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.006459/0.7399, allocations: 0.9833 MB / 0.6784 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008547/0.7485, allocations: 2.655 MB / 0.681 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7485, allocations: 0 / 0.681 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004113/0.7527, allocations: 1.541 MB / 0.6825 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009859/0.7537, allocations: 111.6 kB / 0.6826 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005923/0.7596, allocations: 2.168 MB / 0.6848 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.7604, allocations: 0.9243 MB / 0.6857 GB, free: 7.918 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002574/0.7629, allocations: 1.291 MB / 0.6869 GB, free: 6.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008561/0.7638, allocations: 167.2 kB / 0.6871 GB, free: 6.477 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/0.7638, allocations: 0 / 0.6871 GB, free: 6.477 MB / 0.545 GB Notification: Performance of Templates: time 0.06623/0.8301, allocations: 43.82 MB / 0.7299 GB, free: 10.72 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile (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 & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1)