Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.00171/0.00171, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002104/0.002104, allocations: 212.8 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.393/1.393, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1476/0.1476, allocations: 26.81 MB / 340.7 MB, free: 8.184 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002007/0.002007, allocations: 68.19 kB / 477 MB, free: 3.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3173, allocations: 60.48 MB / 0.5249 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01753/0.3348, allocations: 15.91 MB / 0.5404 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.3524, allocations: 13.9 MB / 0.554 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.3526, allocations: 1.344 kB / 0.554 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.3531, allocations: 140 kB / 0.5541 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007031/0.3538, allocations: 256.2 kB / 0.5543 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.3708, allocations: 5.524 MB / 0.5597 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.3722, allocations: 1.04 MB / 0.5608 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.519e-05/0.3723, allocations: 16.59 kB / 0.5608 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009119/0.3732, allocations: 0.4994 MB / 0.5613 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007413/0.374, allocations: 470.8 kB / 0.5617 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.621e-05/0.3741, allocations: 43.44 kB / 0.5617 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01313/0.3872, allocations: 6.384 MB / 0.568 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.3875, allocations: 191.5 kB / 0.5682 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004903/0.388, allocations: 243.2 kB / 0.5684 GB, free: 8.375 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.3984, allocations: 3.944 MB / 0.5722 GB, free: 4.422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3984, allocations: 0 / 0.5722 GB, free: 4.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3984, allocations: 0 / 0.5722 GB, free: 4.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3984, allocations: 4 kB / 0.5722 GB, free: 4.418 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.005398/0.4038, allocations: 1.454 MB / 0.5737 GB, free: 2.926 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.4038, allocations: 15.97 kB / 0.5737 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.404, allocations: 74.72 kB / 0.5738 GB, free: 2.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002655/0.4066, allocations: 368.4 kB / 0.5741 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006619/0.4073, allocations: 297.9 kB / 0.5744 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004219/0.4077, allocations: 314.8 kB / 0.5747 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.4078, allocations: 31.94 kB / 0.5747 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004782/0.4126, allocations: 1.884 MB / 0.5766 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.4126, allocations: 3.938 kB / 0.5766 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.184e-05/0.4127, allocations: 16 kB / 0.5766 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.4127, allocations: 16.64 kB / 0.5766 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006916/0.4197, allocations: 2.644 MB / 0.5792 GB, free: 13.16 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.00512/0.4248, allocations: 4.801 MB / 0.5839 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003841/0.4286, allocations: 1.341 MB / 0.5852 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/0.4311, allocations: 0.981 MB / 0.5861 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1461/0.5772, allocations: 43.81 MB / 0.6289 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.5772, allocations: 46.83 kB / 0.629 GB, free: 9.496 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.474e-06/0.5772, allocations: 0 / 0.629 GB, free: 9.496 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02165/0.5989, allocations: 5.773 MB / 0.6346 GB, free: 3.688 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.5989, allocations: 55.41 kB / 0.6347 GB, free: 3.621 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.5991, allocations: 160.6 kB / 0.6348 GB, free: 3.457 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.5992, allocations: 33.64 kB / 0.6348 GB, free: 3.418 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.5993, allocations: 156.8 kB / 0.635 GB, free: 3.262 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.5996, allocations: 154.7 kB / 0.6351 GB, free: 3.109 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004471/0.6, allocations: 217.8 kB / 0.6353 GB, free: 2.887 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6002, allocations: 338.8 kB / 0.6357 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003522/0.6037, allocations: 1.113 MB / 0.6368 GB, free: 1.434 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/0.6074, allocations: 1.215 MB / 0.6379 GB, free: 192 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006716/0.6141, allocations: 1.964 MB / 0.6399 GB, free: 14.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.6141, allocations: 4 kB / 0.6399 GB, free: 14.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007719/0.6218, allocations: 2.339 MB / 0.6421 GB, free: 11.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.6218, allocations: 8.031 kB / 0.6422 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.6218, allocations: 4 kB / 0.6422 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.6219, allocations: 4 kB / 0.6422 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002574/0.6244, allocations: 491.2 kB / 0.6426 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.6245, allocations: 11.88 kB / 0.6426 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.6263, allocations: 255.6 kB / 0.6429 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/0.6265, allocations: 83.86 kB / 0.643 GB, free: 11 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.0004592/0.6269, allocations: 169.7 kB / 0.6431 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.6272, allocations: 19.91 kB / 0.6431 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.6393, allocations: 7.444 MB / 0.6504 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01099/0.6503, allocations: 6.881 MB / 0.6571 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.6503, allocations: 3.938 kB / 0.6571 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.6503, allocations: 3.984 kB / 0.6571 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/0.666, allocations: 10.87 MB / 0.6678 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.666, allocations: 0 / 0.6678 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/0.6685, allocations: 499.2 kB / 0.6682 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.459e-05/0.6685, allocations: 4 kB / 0.6682 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.6687, allocations: 47.91 kB / 0.6683 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.6687, allocations: 7.938 kB / 0.6683 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6687, allocations: 4 kB / 0.6683 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/0.6797, allocations: 4.535 MB / 0.6727 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005819/0.6803, allocations: 203.1 kB / 0.6729 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.6805, allocations: 16 kB / 0.6729 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/0.6821, allocations: 259.6 kB / 0.6732 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.6823, allocations: 80.73 kB / 0.6733 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.6824, allocations: 55.91 kB / 0.6733 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.656e-05/0.6825, allocations: 111.2 kB / 0.6734 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6825, allocations: 0 / 0.6734 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002758/0.6853, allocations: 0.9789 MB / 0.6744 GB, free: 10.43 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.01517/0.7004, allocations: 5.985 MB / 0.6802 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007522/0.708, allocations: 2.631 MB / 0.6828 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.708, allocations: 3.938 kB / 0.6828 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003618/0.7116, allocations: 1.404 MB / 0.6842 GB, free: 380 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008221/0.7124, allocations: 103.8 kB / 0.6843 GB, free: 276 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02665/0.7391, allocations: 9.773 MB / 0.6938 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.7396, allocations: 0.9282 MB / 0.6947 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002218/0.7419, allocations: 1.29 MB / 0.696 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009221/0.7428, allocations: 319.1 kB / 0.6963 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of SimCode: time 1.173e-06/0.7428, allocations: 0 / 0.6963 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3077/1.051, allocations: 50.52 MB / 0.7456 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.82, allocations: 10.69 kB / 0.7456 GB, free: 186.9 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance_fmu --startTime=0 --stopTime=19 --stepSize=0.0076 --timeout=50 --tolerance=1e-09 ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.427626010030508] Failed to read output from testmodel.py, exit status != 0: 14.95959677407518 14.97873479 14.576725576 Calling exit ...