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.001272/0.001272, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001569/0.001569, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.32/1.32, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2735/0.2735, allocations: 49.6 MB / 336.4 MB, free: 3.875 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.002391/0.002391, allocations: 71.91 kB / 476.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1072, allocations: 62.43 MB / 0.5263 GB, free: 14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.2041/0.3113, allocations: 14.33 MB / 0.5403 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.3245, allocations: 12.16 MB / 0.5521 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.3247, allocations: 5.094 kB / 0.5522 GB, free: 8.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.3252, allocations: 113.8 kB / 0.5523 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006519/0.3258, allocations: 235.8 kB / 0.5525 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01442/0.3402, allocations: 5.465 MB / 0.5578 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.3418, allocations: 1.035 MB / 0.5588 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.373e-05/0.3418, allocations: 17.19 kB / 0.5588 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.3428, allocations: 0.4929 MB / 0.5593 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008821/0.3437, allocations: 458.9 kB / 0.5598 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.3439, allocations: 42.69 kB / 0.5598 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01086/0.3548, allocations: 6.093 MB / 0.5658 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.355, allocations: 178.7 kB / 0.5659 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004133/0.3554, allocations: 225.8 kB / 0.5661 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00579/0.3612, allocations: 3.937 MB / 0.57 GB, free: 1.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3612, allocations: 0 / 0.57 GB, free: 1.418 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3612, allocations: 0 / 0.57 GB, free: 1.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3612, allocations: 1.594 kB / 0.57 GB, free: 1.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.00451/0.3657, allocations: 1.448 MB / 0.5714 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3658, allocations: 9.812 kB / 0.5714 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.821e-05/0.3659, allocations: 80.06 kB / 0.5715 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.3672, allocations: 163.7 kB / 0.5716 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.3677, allocations: 301.5 kB / 0.5719 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003819/0.3681, allocations: 310.4 kB / 0.5722 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.3683, allocations: 36.75 kB / 0.5723 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004969/0.3732, allocations: 1.989 MB / 0.5742 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3732, allocations: 0 / 0.5742 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.469e-05/0.3733, allocations: 15.75 kB / 0.5742 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.3734, allocations: 12.25 kB / 0.5742 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007171/0.3805, allocations: 2.641 MB / 0.5768 GB, free: 13.28 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.00487/0.3854, allocations: 3.795 MB / 0.5805 GB, free: 9.723 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00393/0.3893, allocations: 1.339 MB / 0.5818 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002557/0.3919, allocations: 0.9769 MB / 0.5828 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1494/0.5413, allocations: 42.25 MB / 0.624 GB, free: 0.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.5413, allocations: 38.89 kB / 0.6241 GB, free: 464 kB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.5413, allocations: 0 / 0.6241 GB, free: 464 kB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.02281/0.5642, allocations: 5.788 MB / 0.6297 GB, free: 10.63 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.5642, allocations: 55.41 kB / 0.6298 GB, free: 10.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.5644, allocations: 157.6 kB / 0.6299 GB, free: 10.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.5645, allocations: 37.7 kB / 0.63 GB, free: 10.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.5646, allocations: 156.8 kB / 0.6301 GB, free: 10.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.5648, allocations: 158.6 kB / 0.6303 GB, free: 10.04 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000446/0.5652, allocations: 221.8 kB / 0.6305 GB, free: 9.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5654, allocations: 334.8 kB / 0.6308 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00378/0.5692, allocations: 1.117 MB / 0.6319 GB, free: 8.367 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00389/0.5731, allocations: 1.204 MB / 0.6331 GB, free: 7.129 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007138/0.5802, allocations: 1.968 MB / 0.635 GB, free: 5.125 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5802, allocations: 4 kB / 0.635 GB, free: 5.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008079/0.5883, allocations: 2.335 MB / 0.6373 GB, free: 2.777 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5883, allocations: 8 kB / 0.6373 GB, free: 2.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5883, allocations: 0 / 0.6373 GB, free: 2.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.5883, allocations: 8 kB / 0.6373 GB, free: 2.762 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.591, allocations: 495.4 kB / 0.6378 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.591, allocations: 7.938 kB / 0.6378 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.5928, allocations: 247.6 kB / 0.638 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.593, allocations: 79.86 kB / 0.6381 GB, free: 1.949 MB / 478.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.0004106/0.5934, allocations: 190.2 kB / 0.6383 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.5936, allocations: 19.91 kB / 0.6383 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.606, allocations: 7.432 MB / 0.6455 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01136/0.6174, allocations: 6.885 MB / 0.6523 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.6174, allocations: 0 / 0.6523 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.6174, allocations: 3.984 kB / 0.6523 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.6336, allocations: 10.74 MB / 0.6628 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.6336, allocations: 0 / 0.6628 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/0.6362, allocations: 495.2 kB / 0.6632 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.6362, allocations: 8.438 kB / 0.6632 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.6363, allocations: 47.91 kB / 0.6633 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.6363, allocations: 7.938 kB / 0.6633 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6363, allocations: 3.062 kB / 0.6633 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/0.648, allocations: 4.539 MB / 0.6677 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006667/0.6487, allocations: 219.1 kB / 0.6679 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.6488, allocations: 12 kB / 0.6679 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/0.6505, allocations: 259.6 kB / 0.6682 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.6507, allocations: 80.8 kB / 0.6683 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/0.6509, allocations: 51.91 kB / 0.6683 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.521e-05/0.651, allocations: 111.2 kB / 0.6684 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.651, allocations: 0 / 0.6684 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003095/0.6541, allocations: 0.9712 MB / 0.6694 GB, free: 1.527 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.01632/0.6704, allocations: 5.979 MB / 0.6752 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007863/0.6782, allocations: 2.627 MB / 0.6778 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6782, allocations: 0 / 0.6778 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003764/0.682, allocations: 1.412 MB / 0.6792 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008115/0.6828, allocations: 112.5 kB / 0.6793 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/0.7107, allocations: 9.762 MB / 0.6888 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.711, allocations: 333.7 kB / 0.6891 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002234/0.7133, allocations: 1.298 MB / 0.6904 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008949/0.7142, allocations: 315 kB / 0.6907 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of SimCode: time 6.52e-07/0.7142, allocations: 0 / 0.6907 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09295/0.8071, allocations: 50.84 MB / 0.7403 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.98, allocations: 15.95 kB / 0.7403 GB, free: 8.43 MB / 0.5762 GB " [Timeout remaining time 645] (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.98967995028943] Failed to read output from testmodel.py, exit status != 0: 15.136476770043373 15.151034333 14.78671121 Calling exit ...