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.001411/0.001411, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001455/0.001455, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.422/1.422, allocations: 207.6 MB / 231.8 MB, free: 4.047 MB / 174.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.4205/0.4205, allocations: 49.5 MB / 333.2 MB, free: 0.8047 MB / 254.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.002232/0.002232, allocations: 71.44 kB / 471.6 MB, free: 41.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1132, allocations: 62.35 MB / 0.5215 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01984/0.133, allocations: 15.73 MB / 0.5368 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01837/0.1514, allocations: 13.86 MB / 0.5504 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.1516, allocations: 7.938 kB / 0.5504 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.1521, allocations: 135.2 kB / 0.5505 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006797/0.1528, allocations: 246.6 kB / 0.5507 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01649/0.1693, allocations: 5.502 MB / 0.5561 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.1708, allocations: 1.034 MB / 0.5571 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.333e-05/0.1709, allocations: 24.75 kB / 0.5571 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000845/0.1718, allocations: 0.5103 MB / 0.5576 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007065/0.1725, allocations: 462.8 kB / 0.5581 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.709e-05/0.1726, allocations: 40 kB / 0.5581 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0132/0.1858, allocations: 6.36 MB / 0.5643 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.1861, allocations: 183.5 kB / 0.5645 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.1865, allocations: 247.2 kB / 0.5647 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009597/0.1961, allocations: 3.929 MB / 0.5686 GB, free: 1.801 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1961, allocations: 4 kB / 0.5686 GB, free: 1.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1961, allocations: 4 kB / 0.5686 GB, free: 1.793 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.1962, allocations: 0 / 0.5686 GB, free: 1.793 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.006002/0.2022, allocations: 1.526 MB / 0.5701 GB, free: 220 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2022, allocations: 11.89 kB / 0.5701 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.667e-05/0.2022, allocations: 12.84 kB / 0.5701 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.2024, allocations: 78.72 kB / 0.5702 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.2039, allocations: 160.6 kB / 0.5703 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005768/0.2045, allocations: 339.9 kB / 0.5707 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/0.2048, allocations: 134.6 kB / 0.5708 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.205, allocations: 32 kB / 0.5708 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005594/0.2106, allocations: 1.876 MB / 0.5726 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.2106, allocations: 0 / 0.5726 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.2107, allocations: 15.94 kB / 0.5727 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.2107, allocations: 12.56 kB / 0.5727 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008099/0.2188, allocations: 2.659 MB / 0.5753 GB, free: 10.8 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.00554/0.2244, allocations: 4.831 MB / 0.58 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004517/0.2289, allocations: 1.338 MB / 0.5813 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002834/0.2317, allocations: 0.9693 MB / 0.5822 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4196/0.6514, allocations: 76.34 MB / 0.6568 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.6514, allocations: 37.64 kB / 0.6568 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.675e-06/0.6514, allocations: 0 / 0.6568 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.02251/0.6739, allocations: 5.852 MB / 0.6625 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.6739, allocations: 59.72 kB / 0.6626 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.6741, allocations: 152.8 kB / 0.6627 GB, free: 111 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.6742, allocations: 33.7 kB / 0.6628 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.6743, allocations: 149.5 kB / 0.6629 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.6744, allocations: 154.2 kB / 0.6631 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/0.6749, allocations: 223.9 kB / 0.6633 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.675, allocations: 335.2 kB / 0.6636 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003627/0.6786, allocations: 1.116 MB / 0.6647 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003649/0.6822, allocations: 1.214 MB / 0.6659 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006843/0.6891, allocations: 1.969 MB / 0.6678 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6891, allocations: 0 / 0.6678 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007736/0.6968, allocations: 2.338 MB / 0.6701 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.6968, allocations: 4 kB / 0.6701 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.6968, allocations: 4 kB / 0.6701 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.6969, allocations: 4 kB / 0.6701 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/0.6995, allocations: 0.4889 MB / 0.6706 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.6995, allocations: 7.938 kB / 0.6706 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.7013, allocations: 255.6 kB / 0.6708 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.7015, allocations: 83.86 kB / 0.6709 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.000385/0.7019, allocations: 169.3 kB / 0.6711 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.7021, allocations: 19.91 kB / 0.6711 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009675/0.7118, allocations: 7.121 MB / 0.678 GB, free: 95.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00874/0.7205, allocations: 6.564 MB / 0.6844 GB, free: 89.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.7205, allocations: 0 / 0.6844 GB, free: 89.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.7205, allocations: 11.92 kB / 0.6845 GB, free: 89.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.7323, allocations: 10.46 MB / 0.6947 GB, free: 78.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.7323, allocations: 0 / 0.6947 GB, free: 78.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/0.7348, allocations: 491.2 kB / 0.6951 GB, free: 77.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-05/0.7348, allocations: 7.938 kB / 0.6951 GB, free: 77.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.7349, allocations: 47.91 kB / 0.6952 GB, free: 77.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.7349, allocations: 4 kB / 0.6952 GB, free: 77.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7349, allocations: 2.125 kB / 0.6952 GB, free: 77.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.7451, allocations: 4.504 MB / 0.6996 GB, free: 73.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.7456, allocations: 288.2 kB / 0.6999 GB, free: 73.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.7458, allocations: 16.06 kB / 0.6999 GB, free: 73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/0.7474, allocations: 247.6 kB / 0.7001 GB, free: 72.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.7476, allocations: 80.84 kB / 0.7002 GB, free: 72.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.7477, allocations: 51.91 kB / 0.7002 GB, free: 72.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.551e-05/0.7478, allocations: 111.2 kB / 0.7004 GB, free: 72.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7478, allocations: 0 / 0.7004 GB, free: 72.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002639/0.7504, allocations: 0.9813 MB / 0.7013 GB, free: 71.57 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.01433/0.7647, allocations: 5.936 MB / 0.7071 GB, free: 65.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007142/0.7719, allocations: 2.608 MB / 0.7097 GB, free: 63.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7719, allocations: 0 / 0.7097 GB, free: 63.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003344/0.7752, allocations: 1.4 MB / 0.711 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.0008048/0.776, allocations: 99.05 kB / 0.7111 GB, free: 61.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/0.8018, allocations: 9.763 MB / 0.7207 GB, free: 51.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.802, allocations: 0.9282 MB / 0.7216 GB, free: 50.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001657/0.8037, allocations: 1.287 MB / 0.7228 GB, free: 49.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008547/0.8046, allocations: 311.1 kB / 0.7231 GB, free: 49.14 MB / 0.4981 GB Notification: Performance of SimCode: time 1.193e-06/0.8046, allocations: 0 / 0.7231 GB, free: 49.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06993/0.8745, allocations: 49.21 MB / 0.7712 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.61, allocations: 7.797 kB / 0.7712 GB, free: 15.85 MB / 0.5137 GB " [Timeout remaining time 647] (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: 16.285073118982837] Failed to read output from testmodel.py, exit status != 0: 12.770145546994172 12.78770892 12.587578247 Calling exit ...