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.001368/0.001368, allocations: 104.2 kB / 17.06 MB, free: 6.027 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.001486/0.001486, allocations: 196 kB / 18 MB, free: 5.109 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.384/1.384, allocations: 205.1 MB / 223.9 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.2579/0.2579, allocations: 48.83 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.001388/0.001388, allocations: 71.84 kB / 450.6 MB, free: 8.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09548, allocations: 59.16 MB / 0.4978 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01679/0.1123, allocations: 15.65 MB / 0.5131 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2067/0.3191, allocations: 13.79 MB / 0.5266 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.3193, allocations: 4.469 kB / 0.5266 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.3198, allocations: 133.1 kB / 0.5267 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.3203, allocations: 254.1 kB / 0.527 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01212/0.3325, allocations: 5.493 MB / 0.5323 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.3337, allocations: 1.033 MB / 0.5333 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.626e-05/0.3338, allocations: 31.38 kB / 0.5334 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.3345, allocations: 0.499 MB / 0.5339 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.3351, allocations: 459.5 kB / 0.5343 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.385e-05/0.3352, allocations: 42 kB / 0.5343 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/0.3467, allocations: 6.356 MB / 0.5405 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.3469, allocations: 184 kB / 0.5407 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.3473, allocations: 243.5 kB / 0.541 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006901/0.3542, allocations: 3.921 MB / 0.5448 GB, free: 6.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3542, allocations: 1.062 kB / 0.5448 GB, free: 6.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3543, allocations: 3.844 kB / 0.5448 GB, free: 6.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3543, allocations: 0 / 0.5448 GB, free: 6.781 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.005255/0.3595, allocations: 1.514 MB / 0.5463 GB, free: 5.891 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3596, allocations: 8.719 kB / 0.5463 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.3609, allocations: 160.5 kB / 0.5464 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/0.3615, allocations: 340 kB / 0.5468 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.3619, allocations: 131.8 kB / 0.5469 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.362, allocations: 34.44 kB / 0.5469 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004566/0.3666, allocations: 1.881 MB / 0.5487 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3666, allocations: 1.25 kB / 0.5487 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.536e-05/0.3667, allocations: 12.75 kB / 0.5488 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.3667, allocations: 10.97 kB / 0.5488 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006932/0.3737, allocations: 2.655 MB / 0.5514 GB, free: 3.344 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.003832/0.3775, allocations: 4.833 MB / 0.5561 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004072/0.3816, allocations: 1.355 MB / 0.5574 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002673/0.3843, allocations: 0.983 MB / 0.5584 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1631/0.5474, allocations: 76.33 MB / 0.6329 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.5475, allocations: 38.89 kB / 0.6329 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/0.5475, allocations: 0 / 0.6329 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.02491/0.5724, allocations: 5.851 MB / 0.6387 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.5725, allocations: 63.34 kB / 0.6387 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.5726, allocations: 149.7 kB / 0.6389 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.5728, allocations: 29.7 kB / 0.6389 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.206e-05/0.5729, allocations: 152.1 kB / 0.639 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.5731, allocations: 148 kB / 0.6392 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004915/0.5736, allocations: 217.8 kB / 0.6394 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5737, allocations: 341.4 kB / 0.6397 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004009/0.5777, allocations: 1.113 MB / 0.6408 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004106/0.5818, allocations: 1.213 MB / 0.642 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007622/0.5895, allocations: 1.967 MB / 0.6439 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5895, allocations: 0 / 0.6439 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008699/0.5982, allocations: 2.34 MB / 0.6462 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5982, allocations: 8.062 kB / 0.6462 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5982, allocations: 6.625 kB / 0.6462 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.5983, allocations: 4 kB / 0.6462 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/0.6011, allocations: 492.9 kB / 0.6467 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.6011, allocations: 11.27 kB / 0.6467 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.6031, allocations: 255.6 kB / 0.6469 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/0.6033, allocations: 87.84 kB / 0.647 GB, free: 15.94 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.0003973/0.6037, allocations: 176.4 kB / 0.6472 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.604, allocations: 19.81 kB / 0.6472 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/0.6158, allocations: 7.107 MB / 0.6541 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01065/0.6265, allocations: 6.56 MB / 0.6605 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6265, allocations: 0 / 0.6605 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.6265, allocations: 8.859 kB / 0.6606 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/0.6417, allocations: 10.47 MB / 0.6708 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6417, allocations: 0 / 0.6708 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00267/0.6444, allocations: 496.5 kB / 0.6712 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.6444, allocations: 4 kB / 0.6712 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.6446, allocations: 47.91 kB / 0.6713 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.6446, allocations: 4.875 kB / 0.6713 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6446, allocations: 7.938 kB / 0.6713 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/0.6566, allocations: 4.496 MB / 0.6757 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005842/0.6572, allocations: 281.3 kB / 0.676 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.6573, allocations: 19.98 kB / 0.676 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/0.6591, allocations: 251.7 kB / 0.6762 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.6594, allocations: 79.78 kB / 0.6763 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/0.6595, allocations: 58.53 kB / 0.6764 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.906e-05/0.6596, allocations: 111.2 kB / 0.6765 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.562e-06/0.6596, allocations: 0 / 0.6765 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003573/0.6632, allocations: 0.9722 MB / 0.6774 GB, free: 476 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.005275/0.6685, allocations: 0.9787 MB / 0.6784 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008271/0.6768, allocations: 2.655 MB / 0.681 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.6768, allocations: 0 / 0.681 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004011/0.6808, allocations: 1.542 MB / 0.6825 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000856/0.6817, allocations: 102 kB / 0.6826 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005215/0.6869, allocations: 2.152 MB / 0.6847 GB, free: 9.137 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.6874, allocations: 0.9243 MB / 0.6856 GB, free: 8.188 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002117/0.6895, allocations: 1.295 MB / 0.6868 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000793/0.6903, allocations: 163.2 kB / 0.687 GB, free: 6.746 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.6903, allocations: 0 / 0.687 GB, free: 6.746 MB / 0.545 GB Notification: Performance of Templates: time 0.05923/0.7495, allocations: 44.16 MB / 0.7301 GB, free: 10.63 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)