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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 105.1 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 214.9 kB / 24.51 MB, free: 3.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 207.7 MB / 235.4 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2908/0.2908, allocations: 49.6 MB / 337.2 MB, free: 3.867 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 75.89 kB / 477.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1111, allocations: 62.43 MB / 0.527 GB, free: 14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.2176/0.3286, allocations: 14.31 MB / 0.541 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.3415, allocations: 12.16 MB / 0.5529 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.3416, allocations: 4.938 kB / 0.5529 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.3421, allocations: 108.1 kB / 0.553 GB, free: 8.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.3427, allocations: 235.4 kB / 0.5532 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01465/0.3574, allocations: 5.465 MB / 0.5586 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.3589, allocations: 1.042 MB / 0.5596 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.105e-05/0.359, allocations: 14.72 kB / 0.5596 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008765/0.3599, allocations: 496 kB / 0.5601 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006678/0.3605, allocations: 470.5 kB / 0.5605 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.3606, allocations: 42 kB / 0.5606 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01128/0.3719, allocations: 6.337 MB / 0.5667 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.3722, allocations: 182.2 kB / 0.5669 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.3725, allocations: 226.9 kB / 0.5671 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007047/0.3796, allocations: 3.928 MB / 0.571 GB, free: 1.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3796, allocations: 1.5 kB / 0.571 GB, free: 1.199 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3796, allocations: 0 / 0.571 GB, free: 1.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.3796, allocations: 0 / 0.571 GB, free: 1.199 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.00527/0.3849, allocations: 1.453 MB / 0.5724 GB, free: 312 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3849, allocations: 9.469 kB / 0.5724 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.2e-05/0.3849, allocations: 8.875 kB / 0.5724 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.693e-05/0.385, allocations: 76.66 kB / 0.5725 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.3865, allocations: 166.5 kB / 0.5726 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/0.387, allocations: 294.9 kB / 0.5729 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000446/0.3875, allocations: 319.8 kB / 0.5732 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.3876, allocations: 36.91 kB / 0.5733 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005388/0.393, allocations: 1.984 MB / 0.5752 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.393, allocations: 0 / 0.5752 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.3931, allocations: 16.28 kB / 0.5752 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.3932, allocations: 15.47 kB / 0.5752 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007853/0.401, allocations: 2.647 MB / 0.5778 GB, free: 13.05 MB / 430.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.005136/0.4062, allocations: 3.799 MB / 0.5815 GB, free: 9.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004272/0.4104, allocations: 1.336 MB / 0.5828 GB, free: 8.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/0.4131, allocations: 0.9738 MB / 0.5838 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1542/0.5673, allocations: 42.26 MB / 0.6251 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/0.5674, allocations: 34.89 kB / 0.6251 GB, free: 196 kB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.474e-06/0.5674, allocations: 0 / 0.6251 GB, free: 196 kB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.02409/0.5915, allocations: 5.781 MB / 0.6307 GB, free: 10.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.5915, allocations: 55.41 kB / 0.6308 GB, free: 10.31 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.5917, allocations: 157.6 kB / 0.6309 GB, free: 10.14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002005/0.5919, allocations: 37.7 kB / 0.631 GB, free: 10.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.5921, allocations: 156.8 kB / 0.6311 GB, free: 9.941 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.5924, allocations: 154.6 kB / 0.6313 GB, free: 9.789 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005849/0.593, allocations: 225.8 kB / 0.6315 GB, free: 9.562 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.5931, allocations: 330.8 kB / 0.6318 GB, free: 9.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003813/0.597, allocations: 1.121 MB / 0.6329 GB, free: 8.109 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004007/0.601, allocations: 1.204 MB / 0.6341 GB, free: 6.871 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007285/0.6082, allocations: 1.968 MB / 0.636 GB, free: 4.867 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6083, allocations: 0 / 0.636 GB, free: 4.867 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008426/0.6167, allocations: 2.323 MB / 0.6383 GB, free: 2.535 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.6167, allocations: 11.98 kB / 0.6383 GB, free: 2.523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.6167, allocations: 4 kB / 0.6383 GB, free: 2.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.6167, allocations: 6.797 kB / 0.6383 GB, free: 2.516 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/0.6195, allocations: 0.4929 MB / 0.6388 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.6196, allocations: 4 kB / 0.6388 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.6215, allocations: 247.6 kB / 0.639 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.6217, allocations: 83.84 kB / 0.6391 GB, free: 1.695 MB / 478.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.0004764/0.6222, allocations: 180.1 kB / 0.6393 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.6225, allocations: 27.84 kB / 0.6393 GB, free: 1.484 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/0.6355, allocations: 7.436 MB / 0.6465 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01166/0.6472, allocations: 6.893 MB / 0.6533 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.6472, allocations: 3.938 kB / 0.6533 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.001e-05/0.6472, allocations: 3.984 kB / 0.6533 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.6638, allocations: 10.73 MB / 0.6638 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.6638, allocations: 0 / 0.6638 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/0.6665, allocations: 499.2 kB / 0.6642 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/0.6666, allocations: 4 kB / 0.6642 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/0.6668, allocations: 55.03 kB / 0.6643 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.6668, allocations: 7.938 kB / 0.6643 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6668, allocations: 0 / 0.6643 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/0.6788, allocations: 4.539 MB / 0.6687 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006117/0.6794, allocations: 207.1 kB / 0.6689 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.6796, allocations: 16 kB / 0.6689 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/0.6814, allocations: 263.6 kB / 0.6692 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.6816, allocations: 72.81 kB / 0.6693 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/0.6818, allocations: 55.91 kB / 0.6693 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001084/0.6819, allocations: 111.2 kB / 0.6694 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6819, allocations: 0 / 0.6694 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003465/0.6853, allocations: 0.979 MB / 0.6704 GB, free: 1.262 MB / 0.4981 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.01721/0.7026, allocations: 5.976 MB / 0.6762 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008233/0.7108, allocations: 2.619 MB / 0.6788 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.7108, allocations: 8 kB / 0.6788 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003988/0.7148, allocations: 1.408 MB / 0.6802 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009356/0.7157, allocations: 103.5 kB / 0.6803 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02961/0.7453, allocations: 9.777 MB / 0.6898 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.7457, allocations: 329.7 kB / 0.6901 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002484/0.7482, allocations: 1.294 MB / 0.6914 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/0.7492, allocations: 311.1 kB / 0.6917 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.7492, allocations: 0 / 0.6917 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09482/0.8441, allocations: 50.97 MB / 0.7415 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.46, allocations: 4.062 kB / 0.7415 GB, free: 8.066 MB / 0.5762 GB " [Timeout remaining time 644] (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 --stepSize=0.0076 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.911079533980228] Failed to read output from testmodel.py, exit status != 0: 15.66146752203349 15.678484763 15.295356843 Calling exit ...