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.0008231/0.0008231, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008164/0.0008164, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.859/0.859, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 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.1925/0.1925, allocations: 36.34 MB / 274.3 MB, free: 10.91 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 414.4 MB, free: 5.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.824e-05, allocations: 2.281 kB / 414.4 MB, free: 5.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.0119/0.01192, allocations: 14.31 MB / 428.8 MB, free: 7.617 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.1928/0.2047, allocations: 12.16 MB / 440.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.2049, allocations: 1.125 kB / 440.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.2053, allocations: 115.9 kB / 441 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005284/0.2058, allocations: 248 kB / 441.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0117/0.2175, allocations: 5.528 MB / 446.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.2188, allocations: 1.048 MB / 447.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.424e-05/0.2188, allocations: 19.31 kB / 447.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.2195, allocations: 0.5865 MB / 448.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.22, allocations: 445.3 kB / 448.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.304e-05/0.2201, allocations: 42.75 kB / 448.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008968/0.2291, allocations: 6.108 MB / 455 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.2293, allocations: 192.1 kB / 455.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.2294, allocations: 206.7 kB / 455.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004334/0.2338, allocations: 5.01 MB / 460.4 MB, free: 9.227 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2338, allocations: 5.375 kB / 460.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2338, allocations: 0 / 460.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.2338, allocations: 0 / 460.4 MB, free: 9.223 MB / 362.7 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.00253/0.2363, allocations: 1.44 MB / 461.9 MB, free: 8.344 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2364, allocations: 8.844 kB / 461.9 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.46e-05/0.2364, allocations: 81.5 kB / 462 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007033/0.2371, allocations: 160.2 kB / 462.1 MB, free: 8.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.2375, allocations: 292.8 kB / 462.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.2377, allocations: 311.4 kB / 462.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/0.2378, allocations: 36.52 kB / 462.7 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/0.2404, allocations: 1.987 MB / 464.7 MB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2405, allocations: 5.5 kB / 464.7 MB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/0.2405, allocations: 17.36 kB / 464.8 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.2406, allocations: 11.5 kB / 464.8 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003684/0.2442, allocations: 2.643 MB / 467.4 MB, free: 5.109 MB / 362.7 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.002401/0.2466, allocations: 3.78 MB / 471.2 MB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.2486, allocations: 1.336 MB / 472.5 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.2499, allocations: 0.9764 MB / 473.5 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06925/0.3192, allocations: 42.24 MB / 0.5037 GB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.3192, allocations: 42.83 kB / 0.5037 GB, free: 5.281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 3.156e-06/0.3192, allocations: 3.938 kB / 0.5037 GB, free: 5.277 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.01265/0.3319, allocations: 5.784 MB / 0.5094 GB, free: 15.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.3319, allocations: 59.41 kB / 0.5094 GB, free: 15.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.332, allocations: 149.8 kB / 0.5096 GB, free: 15.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.3321, allocations: 37.7 kB / 0.5096 GB, free: 15.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.3322, allocations: 148.9 kB / 0.5097 GB, free: 15.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.3323, allocations: 150.6 kB / 0.5099 GB, free: 14.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.3326, allocations: 225.9 kB / 0.5101 GB, free: 14.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.3327, allocations: 330.8 kB / 0.5104 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.3347, allocations: 1.125 MB / 0.5115 GB, free: 13.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/0.3367, allocations: 1.208 MB / 0.5127 GB, free: 11.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003858/0.3406, allocations: 1.97 MB / 0.5146 GB, free: 9.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3406, allocations: 1.969 kB / 0.5146 GB, free: 9.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004413/0.345, allocations: 2.333 MB / 0.5169 GB, free: 7.652 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.345, allocations: 8 kB / 0.5169 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3451, allocations: 4 kB / 0.5169 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.3451, allocations: 4 kB / 0.5169 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.3463, allocations: 0.4894 MB / 0.5174 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.3464, allocations: 9.344 kB / 0.5174 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008566/0.3472, allocations: 247.6 kB / 0.5176 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.3473, allocations: 79.86 kB / 0.5177 GB, free: 6.828 MB / 426.7 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.0002961/0.3476, allocations: 180.5 kB / 0.5179 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.3478, allocations: 27.8 kB / 0.5179 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006876/0.3546, allocations: 7.445 MB / 0.5252 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00615/0.3608, allocations: 6.892 MB / 0.5319 GB, free: 8.258 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3608, allocations: 0 / 0.5319 GB, free: 8.258 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.3608, allocations: 3.984 kB / 0.5319 GB, free: 8.254 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009105/0.3699, allocations: 10.73 MB / 0.5424 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.3699, allocations: 0 / 0.5424 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.3713, allocations: 499.9 kB / 0.5429 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3713, allocations: 4 kB / 0.5429 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.496e-05/0.3714, allocations: 47.91 kB / 0.5429 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.3714, allocations: 8 kB / 0.5429 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3714, allocations: 0 / 0.5429 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006289/0.3777, allocations: 4.539 MB / 0.5473 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.378, allocations: 207.1 kB / 0.5475 GB, free: 7.934 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.3781, allocations: 19.61 kB / 0.5476 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008051/0.3789, allocations: 251.7 kB / 0.5478 GB, free: 7.672 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.379, allocations: 84.8 kB / 0.5479 GB, free: 7.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/0.3791, allocations: 51.91 kB / 0.5479 GB, free: 7.539 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.3792, allocations: 114.2 kB / 0.548 GB, free: 7.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3792, allocations: 0 / 0.548 GB, free: 7.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003345/0.3825, allocations: 0.9828 MB / 0.549 GB, free: 6.445 MB / 458.7 MB 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.009975/0.3925, allocations: 6.069 MB / 0.5549 GB, free: 460 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004413/0.3969, allocations: 2.63 MB / 0.5575 GB, free: 13.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3969, allocations: 0 / 0.5575 GB, free: 13.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.3989, allocations: 1.41 MB / 0.5589 GB, free: 12.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.3995, allocations: 103.8 kB / 0.559 GB, free: 12.33 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.4147, allocations: 9.764 MB / 0.5685 GB, free: 2.426 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.415, allocations: 333.4 kB / 0.5688 GB, free: 2.082 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001266/0.4162, allocations: 1.292 MB / 0.5701 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006222/0.4168, allocations: 316.2 kB / 0.5704 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of SimCode: time 1.784e-06/0.4168, allocations: 0 / 0.5704 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06425/0.4811, allocations: 51.03 MB / 0.6202 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/8.88, allocations: 3.984 kB / 0.6202 GB, free: 13.28 MB / 0.5261 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance_res.csv --start-time 0 --stop-time 19 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0076 ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.32510094717145] Failed to read output from testmodel.py, exit status != 0: 8.985186671838164 9.143666715 8.757543955 Calling exit ...