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.001252/0.001252, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001308/0.001308, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.271/1.271, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 179] 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.2664/0.2664, allocations: 49.56 MB / 337.1 MB, free: 4.215 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="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.002056/0.002056, allocations: 75.88 kB / 477.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1067, allocations: 62.41 MB / 0.527 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.2076/0.3143, allocations: 15.8 MB / 0.5424 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.3273, allocations: 13.9 MB / 0.556 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.3275, allocations: 1.812 kB / 0.556 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.3279, allocations: 134.7 kB / 0.5561 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007462/0.3286, allocations: 255 kB / 0.5564 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0169/0.3455, allocations: 5.518 MB / 0.5618 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.3471, allocations: 1.048 MB / 0.5628 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.629e-05/0.3471, allocations: 14 kB / 0.5628 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007242/0.3479, allocations: 0.4985 MB / 0.5633 GB, free: 4.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006377/0.3485, allocations: 462.2 kB / 0.5637 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.723e-05/0.3486, allocations: 42.94 kB / 0.5638 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01203/0.3606, allocations: 6.382 MB / 0.57 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.3608, allocations: 185.7 kB / 0.5702 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003881/0.3612, allocations: 242.4 kB / 0.5704 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007759/0.369, allocations: 3.927 MB / 0.5743 GB, free: 15.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.369, allocations: 5.125 kB / 0.5743 GB, free: 15.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.369, allocations: 0 / 0.5743 GB, free: 15.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.369, allocations: 0 / 0.5743 GB, free: 15.06 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.005837/0.3748, allocations: 1.46 MB / 0.5757 GB, free: 14.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3749, allocations: 9.688 kB / 0.5757 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.416e-05/0.3749, allocations: 7.875 kB / 0.5757 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.375, allocations: 77.5 kB / 0.5758 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.3764, allocations: 161 kB / 0.5759 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.377, allocations: 299.3 kB / 0.5762 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004327/0.3774, allocations: 319.2 kB / 0.5765 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.3776, allocations: 31.81 kB / 0.5766 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005107/0.3827, allocations: 1.89 MB / 0.5784 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3827, allocations: 0.9688 kB / 0.5784 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.3828, allocations: 12.81 kB / 0.5784 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.3828, allocations: 15.5 kB / 0.5784 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007461/0.3903, allocations: 2.651 MB / 0.581 GB, free: 11.03 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.00527/0.3955, allocations: 4.798 MB / 0.5857 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/0.3997, allocations: 1.335 MB / 0.587 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002627/0.4023, allocations: 0.9772 MB / 0.588 GB, free: 5.078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1494/0.5517, allocations: 42.1 MB / 0.6291 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.5517, allocations: 38.89 kB / 0.6291 GB, free: 12.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.5517, allocations: 0 / 0.6291 GB, free: 12.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02425/0.576, allocations: 5.774 MB / 0.6347 GB, free: 6.988 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.576, allocations: 55.41 kB / 0.6348 GB, free: 6.922 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.5762, allocations: 161.6 kB / 0.635 GB, free: 6.754 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001447/0.5764, allocations: 33.7 kB / 0.635 GB, free: 6.715 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.5765, allocations: 156.8 kB / 0.6351 GB, free: 6.559 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.5767, allocations: 154.7 kB / 0.6353 GB, free: 6.406 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005287/0.5773, allocations: 229.8 kB / 0.6355 GB, free: 6.176 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5774, allocations: 334.8 kB / 0.6358 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003923/0.5813, allocations: 1.118 MB / 0.6369 GB, free: 4.723 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00398/0.5853, allocations: 1.2 MB / 0.6381 GB, free: 3.488 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007229/0.5925, allocations: 1.968 MB / 0.64 GB, free: 1.484 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5925, allocations: 0 / 0.64 GB, free: 1.484 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008329/0.6009, allocations: 2.332 MB / 0.6423 GB, free: 15.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.6009, allocations: 8 kB / 0.6423 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6009, allocations: 4 kB / 0.6423 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.6009, allocations: 4 kB / 0.6423 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/0.6036, allocations: 499.4 kB / 0.6428 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.6036, allocations: 4 kB / 0.6428 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.6055, allocations: 252.5 kB / 0.643 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.6057, allocations: 83.86 kB / 0.6431 GB, free: 14.31 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.0004609/0.6062, allocations: 178.3 kB / 0.6433 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.6065, allocations: 23.86 kB / 0.6433 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/0.6189, allocations: 7.436 MB / 0.6506 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01138/0.6303, allocations: 6.893 MB / 0.6573 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.6303, allocations: 3.984 kB / 0.6573 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.6303, allocations: 3.984 kB / 0.6573 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.6462, allocations: 10.87 MB / 0.6679 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.6462, allocations: 11.94 kB / 0.6679 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002501/0.6487, allocations: 494.1 kB / 0.6684 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.6487, allocations: 4 kB / 0.6684 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/0.6489, allocations: 47.91 kB / 0.6684 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.6489, allocations: 7.938 kB / 0.6685 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6489, allocations: 0 / 0.6685 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.6606, allocations: 4.539 MB / 0.6729 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.6612, allocations: 199.1 kB / 0.6731 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.6613, allocations: 19.98 kB / 0.6731 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/0.663, allocations: 255.6 kB / 0.6733 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.6632, allocations: 76.81 kB / 0.6734 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/0.6633, allocations: 59.91 kB / 0.6735 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.131e-05/0.6634, allocations: 107.2 kB / 0.6736 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6634, allocations: 0 / 0.6736 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003456/0.6669, allocations: 0.9828 MB / 0.6745 GB, free: 13.73 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.01707/0.6839, allocations: 5.979 MB / 0.6804 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008187/0.6921, allocations: 2.623 MB / 0.6829 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.6921, allocations: 0 / 0.6829 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003985/0.6961, allocations: 1.408 MB / 0.6843 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008607/0.697, allocations: 108.4 kB / 0.6844 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/0.7268, allocations: 9.777 MB / 0.694 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.7274, allocations: 0.9321 MB / 0.6949 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002199/0.7296, allocations: 1.286 MB / 0.6961 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009231/0.7305, allocations: 311.1 kB / 0.6964 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of SimCode: time 9.11e-07/0.7305, allocations: 0 / 0.6964 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09309/0.8236, allocations: 50.45 MB / 0.7457 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.29, allocations: 7.797 kB / 0.7457 GB, free: 4.512 MB / 0.5762 GB " [Timeout remaining time 646] (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: 17.55027428898029] Failed to read output from testmodel.py, exit status != 0: 14.484148234012537 14.510828033 14.136956129 Calling exit ...