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.001676/0.001676, allocations: 113.2 kB / 20.44 MB, free: 1.324 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.002061/0.002061, allocations: 213.3 kB / 23.74 MB, free: 4.539 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.366/1.366, allocations: 207.6 MB / 234.5 MB, free: 9.977 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.2761/0.2761, allocations: 49.57 MB / 336.3 MB, free: 4.102 MB / 270.1 MB " [Timeout remaining time 180] 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="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.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.00219/0.00219, allocations: 71.89 kB / 476.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1125, allocations: 62.42 MB / 0.5263 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.2152/0.3277, allocations: 15.8 MB / 0.5417 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.3414, allocations: 13.9 MB / 0.5553 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.3416, allocations: 2.188 kB / 0.5553 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.3421, allocations: 138.4 kB / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006446/0.3428, allocations: 253.2 kB / 0.5556 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01496/0.3577, allocations: 5.512 MB / 0.561 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001637/0.3594, allocations: 1.044 MB / 0.562 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.366e-05/0.3594, allocations: 17.69 kB / 0.5621 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008693/0.3603, allocations: 0.4982 MB / 0.5625 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006985/0.361, allocations: 474.8 kB / 0.563 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.3611, allocations: 41.66 kB / 0.563 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01222/0.3733, allocations: 6.372 MB / 0.5693 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.3736, allocations: 177.6 kB / 0.5694 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.374, allocations: 242 kB / 0.5697 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008828/0.3828, allocations: 3.933 MB / 0.5735 GB, free: 14.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3828, allocations: 0 / 0.5735 GB, free: 14.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.3828, allocations: 7.984 kB / 0.5735 GB, free: 14.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.3828, allocations: 0 / 0.5735 GB, free: 14.9 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.005814/0.3886, allocations: 1.455 MB / 0.5749 GB, free: 14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3887, allocations: 10 kB / 0.5749 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.3888, allocations: 77.56 kB / 0.575 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.3902, allocations: 163.1 kB / 0.5752 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/0.3908, allocations: 295.7 kB / 0.5754 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004208/0.3912, allocations: 315.3 kB / 0.5757 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.3914, allocations: 37.47 kB / 0.5758 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/0.3962, allocations: 1.882 MB / 0.5776 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3962, allocations: 0 / 0.5776 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.3963, allocations: 24.55 kB / 0.5776 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.3963, allocations: 11.62 kB / 0.5777 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007058/0.4034, allocations: 2.647 MB / 0.5802 GB, free: 10.87 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.005313/0.4087, allocations: 4.799 MB / 0.5849 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003846/0.4126, allocations: 1.34 MB / 0.5862 GB, free: 5.395 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/0.415, allocations: 0.9773 MB / 0.5872 GB, free: 4.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1454/0.5604, allocations: 42.1 MB / 0.6283 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.5604, allocations: 40.75 kB / 0.6283 GB, free: 12.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.935e-06/0.5604, allocations: 0 / 0.6283 GB, free: 12.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02243/0.5829, allocations: 5.778 MB / 0.634 GB, free: 6.812 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.5829, allocations: 55.41 kB / 0.634 GB, free: 6.746 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.5831, allocations: 149.7 kB / 0.6342 GB, free: 6.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.5833, allocations: 41.7 kB / 0.6342 GB, free: 6.543 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.5834, allocations: 152.8 kB / 0.6344 GB, free: 6.391 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.5836, allocations: 158.7 kB / 0.6345 GB, free: 6.234 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/0.584, allocations: 217.8 kB / 0.6347 GB, free: 6.016 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5842, allocations: 338.8 kB / 0.635 GB, free: 5.676 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003563/0.5877, allocations: 1.117 MB / 0.6361 GB, free: 4.559 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003738/0.5915, allocations: 1.208 MB / 0.6373 GB, free: 3.316 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006832/0.5983, allocations: 1.964 MB / 0.6392 GB, free: 1.316 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.5983, allocations: 0 / 0.6392 GB, free: 1.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007896/0.6062, allocations: 2.336 MB / 0.6415 GB, free: 14.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.6062, allocations: 4 kB / 0.6415 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6063, allocations: 4 kB / 0.6415 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.6063, allocations: 4 kB / 0.6415 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/0.6089, allocations: 495.5 kB / 0.642 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.6089, allocations: 11.94 kB / 0.642 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.6107, allocations: 243.6 kB / 0.6422 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.6109, allocations: 87.86 kB / 0.6423 GB, free: 14.14 MB / 494.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.0004218/0.6113, allocations: 174.3 kB / 0.6425 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.6115, allocations: 27.86 kB / 0.6425 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.6237, allocations: 7.436 MB / 0.6498 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01093/0.6346, allocations: 6.893 MB / 0.6565 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.6346, allocations: 0 / 0.6565 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.6346, allocations: 3.984 kB / 0.6565 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/0.6505, allocations: 10.88 MB / 0.6671 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.6505, allocations: 1.078 kB / 0.6671 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002542/0.653, allocations: 495.2 kB / 0.6676 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/0.653, allocations: 7.984 kB / 0.6676 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/0.6532, allocations: 43.92 kB / 0.6677 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.6532, allocations: 7.938 kB / 0.6677 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.6532, allocations: 7.969 kB / 0.6677 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/0.6644, allocations: 4.547 MB / 0.6721 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006204/0.665, allocations: 207.1 kB / 0.6723 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.6652, allocations: 19.62 kB / 0.6723 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.6668, allocations: 255.6 kB / 0.6726 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.667, allocations: 76.81 kB / 0.6726 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.6671, allocations: 59.89 kB / 0.6727 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001062/0.6672, allocations: 107.3 kB / 0.6728 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6672, allocations: 0 / 0.6728 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003367/0.6706, allocations: 0.979 MB / 0.6738 GB, free: 13.55 MB / 0.5137 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.01679/0.6874, allocations: 5.978 MB / 0.6796 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007948/0.6954, allocations: 2.619 MB / 0.6822 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6954, allocations: 0 / 0.6822 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003836/0.6992, allocations: 1.408 MB / 0.6835 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009151/0.7001, allocations: 112.6 kB / 0.6836 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02821/0.7283, allocations: 9.773 MB / 0.6932 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/0.729, allocations: 0.9282 MB / 0.6941 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002328/0.7313, allocations: 1.286 MB / 0.6953 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009554/0.7322, allocations: 311.1 kB / 0.6956 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.7322, allocations: 0 / 0.6956 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6455/1.378, allocations: 50.43 MB / 0.7449 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.95/18.33, allocations: 8 kB / 0.7449 GB, free: 4.367 MB / 0.5762 GB " [Timeout remaining time 642] (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: 25.915106874890625] Failed to read output from testmodel.py, exit status != 0: 18.466010272037238 18.494247434 18.106145323 Calling exit ...