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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 121.4 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.494/1.494, allocations: 207.6 MB / 231.1 MB, free: 4.16 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.386/0.386, allocations: 49.52 MB / 332.5 MB, free: 0.7656 MB / 254.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002153/0.002153, allocations: 85.88 kB / 470.9 MB, free: 41.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0877/0.08985, allocations: 62.34 MB / 0.5207 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01867/0.1085, allocations: 15.72 MB / 0.5361 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01783/0.1263, allocations: 13.84 MB / 0.5496 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.1265, allocations: 4 kB / 0.5496 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.127, allocations: 139.2 kB / 0.5498 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006533/0.1277, allocations: 250.5 kB / 0.55 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0146/0.1423, allocations: 5.494 MB / 0.5554 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.1437, allocations: 1.041 MB / 0.5564 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.181e-05/0.1437, allocations: 28.75 kB / 0.5564 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007944/0.1445, allocations: 0.4986 MB / 0.5569 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006915/0.1452, allocations: 466.9 kB / 0.5573 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.301e-05/0.1453, allocations: 44 kB / 0.5574 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01191/0.1572, allocations: 6.364 MB / 0.5636 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.1575, allocations: 183.5 kB / 0.5638 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004056/0.1579, allocations: 235.2 kB / 0.564 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008509/0.1664, allocations: 3.933 MB / 0.5678 GB, free: 1.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1664, allocations: 0 / 0.5678 GB, free: 1.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1664, allocations: 0 / 0.5678 GB, free: 1.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1664, allocations: 0 / 0.5678 GB, free: 1.957 MB / 430.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.00553/0.172, allocations: 1.541 MB / 0.5693 GB, free: 372 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.172, allocations: 11.89 kB / 0.5693 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.1721, allocations: 74.72 kB / 0.5694 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.1735, allocations: 164.5 kB / 0.5696 GB, free: 112 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000707/0.1742, allocations: 339.9 kB / 0.5699 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003169/0.1746, allocations: 126.8 kB / 0.57 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.1747, allocations: 43.92 kB / 0.5701 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004973/0.1797, allocations: 1.88 MB / 0.5719 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1797, allocations: 0 / 0.5719 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/0.1798, allocations: 16 kB / 0.5719 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.1798, allocations: 12.56 kB / 0.5719 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00732/0.1871, allocations: 2.652 MB / 0.5745 GB, free: 10.96 MB / 446.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.005737/0.1929, allocations: 4.828 MB / 0.5792 GB, free: 5.512 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004022/0.1969, allocations: 1.334 MB / 0.5805 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002554/0.1994, allocations: 0.977 MB / 0.5815 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3648/0.5643, allocations: 76.34 MB / 0.656 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.5643, allocations: 37.27 kB / 0.6561 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.5643, allocations: 0 / 0.6561 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.0195/0.5838, allocations: 5.848 MB / 0.6618 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.5838, allocations: 65.42 kB / 0.6618 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.5839, allocations: 146.4 kB / 0.662 GB, free: 111 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.584, allocations: 32.58 kB / 0.662 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.5841, allocations: 156 kB / 0.6622 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.5842, allocations: 160.4 kB / 0.6623 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003703/0.5846, allocations: 220.9 kB / 0.6625 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.435e-05/0.5846, allocations: 335.1 kB / 0.6628 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/0.5877, allocations: 1.119 MB / 0.6639 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/0.5907, allocations: 1.2 MB / 0.6651 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005723/0.5964, allocations: 1.983 MB / 0.667 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.5964, allocations: 0 / 0.667 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.006585/0.603, allocations: 2.327 MB / 0.6693 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.603, allocations: 8 kB / 0.6693 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.6031, allocations: 7.984 kB / 0.6693 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6031, allocations: 4 kB / 0.6693 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/0.6053, allocations: 497.5 kB / 0.6698 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.6054, allocations: 4 kB / 0.6698 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.607, allocations: 255.6 kB / 0.6701 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.6071, allocations: 83.8 kB / 0.6701 GB, free: 103 MB / 0.4981 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.0003401/0.6075, allocations: 179.9 kB / 0.6703 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.6077, allocations: 19.91 kB / 0.6703 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008615/0.6163, allocations: 7.118 MB / 0.6773 GB, free: 95.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007552/0.6239, allocations: 6.564 MB / 0.6837 GB, free: 89.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.6239, allocations: 0 / 0.6837 GB, free: 89.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.6239, allocations: 11.92 kB / 0.6837 GB, free: 89.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.6347, allocations: 10.45 MB / 0.6939 GB, free: 78.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.6347, allocations: 0 / 0.6939 GB, free: 78.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/0.6369, allocations: 499.2 kB / 0.6944 GB, free: 77.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.6369, allocations: 11.94 kB / 0.6944 GB, free: 77.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.637, allocations: 47.91 kB / 0.6944 GB, free: 77.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.637, allocations: 3.828 kB / 0.6944 GB, free: 77.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.637, allocations: 4 kB / 0.6945 GB, free: 77.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00897/0.646, allocations: 4.488 MB / 0.6988 GB, free: 73.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000591/0.6466, allocations: 287.1 kB / 0.6991 GB, free: 73.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.6467, allocations: 16 kB / 0.6991 GB, free: 72.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.6482, allocations: 255.7 kB / 0.6994 GB, free: 72.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.6483, allocations: 78.47 kB / 0.6994 GB, free: 72.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.6485, allocations: 55.91 kB / 0.6995 GB, free: 72.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.6485, allocations: 107.2 kB / 0.6996 GB, free: 72.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6485, allocations: 4 kB / 0.6996 GB, free: 72.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002382/0.6509, allocations: 0.975 MB / 0.7006 GB, free: 71.58 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.0124/0.6633, allocations: 5.938 MB / 0.7064 GB, free: 65.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006332/0.6696, allocations: 2.62 MB / 0.7089 GB, free: 63.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6696, allocations: 0 / 0.7089 GB, free: 63.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002976/0.6726, allocations: 1.396 MB / 0.7103 GB, free: 61.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.6734, allocations: 106.9 kB / 0.7104 GB, free: 61.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02204/0.6954, allocations: 9.751 MB / 0.7199 GB, free: 51.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.6956, allocations: 0.9282 MB / 0.7208 GB, free: 50.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001741/0.6974, allocations: 1.292 MB / 0.7221 GB, free: 49.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007299/0.6981, allocations: 315.1 kB / 0.7224 GB, free: 49.14 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.6981, allocations: 0 / 0.7224 GB, free: 49.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07395/0.7721, allocations: 49.16 MB / 0.7704 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.82, allocations: 0 / 0.7704 GB, free: 15.89 MB / 0.5137 GB " [Timeout remaining time 648] (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: 15.132594878785312] Failed to read output from testmodel.py, exit status != 0: 11.927535976283252 11.948298564 11.778961672 Calling exit ...