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.001508/0.001508, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001776/0.001776, allocations: 200 kB / 18.01 MB, free: 5.055 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.295/1.295, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2658/0.2658, allocations: 48.84 MB / 320.1 MB, free: 11.02 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.001431/0.001431, allocations: 63.91 kB / 450.6 MB, free: 8.438 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1039, allocations: 59.17 MB / 0.4978 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01704/0.121, allocations: 15.64 MB / 0.5131 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2275/0.3485, allocations: 13.8 MB / 0.5266 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.3487, allocations: 1.562 kB / 0.5266 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.3492, allocations: 128.1 kB / 0.5267 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005733/0.3498, allocations: 260.2 kB / 0.527 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01821/0.368, allocations: 5.491 MB / 0.5323 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002365/0.3704, allocations: 1.03 MB / 0.5333 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3706, allocations: 32.33 kB / 0.5334 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.3718, allocations: 0.4986 MB / 0.5339 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008636/0.3726, allocations: 458.9 kB / 0.5343 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.3728, allocations: 42.97 kB / 0.5343 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0147/0.3875, allocations: 6.359 MB / 0.5406 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.3878, allocations: 184.6 kB / 0.5407 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005319/0.3884, allocations: 254.1 kB / 0.541 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.4, allocations: 3.918 MB / 0.5448 GB, free: 6.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4, allocations: 1.281 kB / 0.5448 GB, free: 6.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4, allocations: 0 / 0.5448 GB, free: 6.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.4001, allocations: 1.969 kB / 0.5448 GB, free: 6.301 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.006988/0.4071, allocations: 1.504 MB / 0.5463 GB, free: 5.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4071, allocations: 8.531 kB / 0.5463 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.4087, allocations: 160.4 kB / 0.5464 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.4092, allocations: 340.5 kB / 0.5468 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/0.4095, allocations: 124.4 kB / 0.5469 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.4097, allocations: 44.17 kB / 0.5469 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005118/0.4148, allocations: 1.877 MB / 0.5487 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.4148, allocations: 8.438 kB / 0.5488 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.4149, allocations: 12 kB / 0.5488 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.415, allocations: 11.66 kB / 0.5488 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007043/0.422, allocations: 2.656 MB / 0.5514 GB, free: 3.105 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.004057/0.4261, allocations: 4.825 MB / 0.5561 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/0.4302, allocations: 1.358 MB / 0.5574 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002841/0.433, allocations: 0.982 MB / 0.5584 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1617/0.5948, allocations: 76.32 MB / 0.6329 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/0.5949, allocations: 41.98 kB / 0.6329 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 4.578e-06/0.5949, allocations: 4 kB / 0.6329 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.02352/0.6184, allocations: 5.856 MB / 0.6387 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.6185, allocations: 55.41 kB / 0.6387 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.6187, allocations: 149.7 kB / 0.6389 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.6188, allocations: 33.7 kB / 0.6389 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.619, allocations: 148.6 kB / 0.639 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.6192, allocations: 147 kB / 0.6392 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004781/0.6197, allocations: 221.8 kB / 0.6394 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6198, allocations: 334.8 kB / 0.6397 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003873/0.6237, allocations: 1.119 MB / 0.6408 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00399/0.6277, allocations: 1.21 MB / 0.642 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007366/0.6351, allocations: 1.97 MB / 0.6439 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6351, allocations: 6.625 kB / 0.6439 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008367/0.6435, allocations: 2.334 MB / 0.6462 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.6435, allocations: 8.312 kB / 0.6462 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.6435, allocations: 8 kB / 0.6462 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.6436, allocations: 4 kB / 0.6462 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002662/0.6462, allocations: 493.4 kB / 0.6467 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.6463, allocations: 7.984 kB / 0.6467 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.6481, allocations: 247.6 kB / 0.6469 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.6483, allocations: 79.86 kB / 0.647 GB, free: 15.8 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.0004215/0.6487, allocations: 184.3 kB / 0.6472 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.649, allocations: 23.81 kB / 0.6472 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/0.6608, allocations: 7.108 MB / 0.6541 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01079/0.6716, allocations: 6.564 MB / 0.6605 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.6717, allocations: 0 / 0.6605 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.6717, allocations: 6.281 kB / 0.6606 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.6868, allocations: 10.46 MB / 0.6708 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.6868, allocations: 0 / 0.6708 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/0.6893, allocations: 497.6 kB / 0.6712 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.6893, allocations: 0 / 0.6712 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.6895, allocations: 51.91 kB / 0.6713 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.6895, allocations: 0 / 0.6713 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6895, allocations: 3.938 kB / 0.6713 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/0.7011, allocations: 4.51 MB / 0.6757 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005186/0.7017, allocations: 279.8 kB / 0.676 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.7018, allocations: 20.48 kB / 0.676 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/0.7035, allocations: 251.7 kB / 0.6762 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.7037, allocations: 80.78 kB / 0.6763 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.7039, allocations: 52.78 kB / 0.6764 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.907e-05/0.704, allocations: 107.2 kB / 0.6765 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.704, allocations: 3.938 kB / 0.6765 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003686/0.7077, allocations: 0.9762 MB / 0.6774 GB, free: 300 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.004244/0.7119, allocations: 0.9784 MB / 0.6784 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008117/0.7201, allocations: 2.647 MB / 0.681 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.7201, allocations: 8 kB / 0.681 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003883/0.724, allocations: 1.538 MB / 0.6825 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008259/0.7248, allocations: 106.8 kB / 0.6826 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.7299, allocations: 2.147 MB / 0.6847 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.7304, allocations: 0.9282 MB / 0.6856 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002089/0.7325, allocations: 1.293 MB / 0.6868 GB, free: 6.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007724/0.7332, allocations: 158.2 kB / 0.687 GB, free: 6.582 MB / 0.545 GB Notification: Performance of SimCode: time 6.92e-07/0.7332, allocations: 0 / 0.687 GB, free: 6.582 MB / 0.545 GB Notification: Performance of Templates: time 0.05492/0.7882, allocations: 43.83 MB / 0.7298 GB, free: 10.82 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)