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.0008218/0.0008218, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008904/0.0008904, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8458/0.8458, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1712/0.1712, allocations: 36.35 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.082e-06/1.082e-06, allocations: 0 / 414.4 MB, free: 5.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.165e-05, allocations: 6.219 kB / 414.4 MB, free: 5.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01147/0.01148, allocations: 14.3 MB / 428.7 MB, free: 7.633 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.1601/0.1716, allocations: 12.16 MB / 440.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1718, allocations: 1.531 kB / 440.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.1721, allocations: 121.4 kB / 441 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.1726, allocations: 244.6 kB / 441.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009422/0.182, allocations: 5.53 MB / 446.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009193/0.183, allocations: 1.05 MB / 447.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.183, allocations: 17.42 kB / 447.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006271/0.1836, allocations: 0.5834 MB / 448.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.1841, allocations: 443.8 kB / 448.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.039e-05/0.1842, allocations: 42.41 kB / 448.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008707/0.1929, allocations: 6.118 MB / 455 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.193, allocations: 185.1 kB / 455.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.1932, allocations: 206.8 kB / 455.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00546/0.1987, allocations: 5.009 MB / 460.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1987, allocations: 1.469 kB / 460.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1987, allocations: 0 / 460.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1987, allocations: 0 / 460.4 MB, free: 9.242 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.002929/0.2016, allocations: 1.443 MB / 461.9 MB, free: 8.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2017, allocations: 14.28 kB / 461.9 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.972e-05/0.2018, allocations: 80.66 kB / 462 MB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007603/0.2025, allocations: 158.2 kB / 462.1 MB, free: 8.219 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.2029, allocations: 288.7 kB / 462.4 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.2031, allocations: 322.9 kB / 462.7 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.835e-05/0.2032, allocations: 33.23 kB / 462.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/0.2058, allocations: 1.983 MB / 464.7 MB, free: 6.465 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2058, allocations: 7.875 kB / 464.7 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/0.2059, allocations: 13.84 kB / 464.8 MB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.2059, allocations: 11.16 kB / 464.8 MB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003632/0.2095, allocations: 2.647 MB / 467.4 MB, free: 5.125 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.00226/0.2118, allocations: 3.786 MB / 471.2 MB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.2138, allocations: 1.336 MB / 472.5 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.2151, allocations: 0.9732 MB / 473.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07209/0.2872, allocations: 42.24 MB / 0.5037 GB, free: 5.344 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.2873, allocations: 34.83 kB / 0.5037 GB, free: 5.301 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.665e-06/0.2873, allocations: 0 / 0.5037 GB, free: 5.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.01304/0.3003, allocations: 5.787 MB / 0.5093 GB, free: 15.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.3004, allocations: 55.41 kB / 0.5094 GB, free: 15.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3005, allocations: 161.7 kB / 0.5096 GB, free: 15.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.491e-05/0.3006, allocations: 29.7 kB / 0.5096 GB, free: 15.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.3006, allocations: 155.5 kB / 0.5097 GB, free: 15.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.3008, allocations: 149.6 kB / 0.5099 GB, free: 14.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.3011, allocations: 225.9 kB / 0.5101 GB, free: 14.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.3011, allocations: 334.8 kB / 0.5104 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.3034, allocations: 1.113 MB / 0.5115 GB, free: 13.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.3055, allocations: 1.211 MB / 0.5127 GB, free: 12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/0.3094, allocations: 1.976 MB / 0.5146 GB, free: 9.996 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3094, allocations: 0 / 0.5146 GB, free: 9.996 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004434/0.3138, allocations: 2.338 MB / 0.5169 GB, free: 7.664 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3139, allocations: 4 kB / 0.5169 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3139, allocations: 4 kB / 0.5169 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3139, allocations: 4.656 kB / 0.5169 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.3152, allocations: 497.6 kB / 0.5174 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.3152, allocations: 6.344 kB / 0.5174 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008867/0.3161, allocations: 251.6 kB / 0.5176 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.3162, allocations: 82.95 kB / 0.5177 GB, free: 6.844 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.0002619/0.3164, allocations: 179.8 kB / 0.5179 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.3166, allocations: 27.8 kB / 0.5179 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007347/0.3239, allocations: 7.445 MB / 0.5252 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006055/0.33, allocations: 6.892 MB / 0.5319 GB, free: 8.277 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.33, allocations: 4 kB / 0.5319 GB, free: 8.273 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.33, allocations: 11.88 kB / 0.5319 GB, free: 8.266 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009212/0.3392, allocations: 10.72 MB / 0.5424 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3392, allocations: 0 / 0.5424 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.3404, allocations: 497.6 kB / 0.5429 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3404, allocations: 10.94 kB / 0.5429 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/0.3405, allocations: 47.91 kB / 0.5429 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3405, allocations: 8 kB / 0.5429 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3405, allocations: 0 / 0.5429 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006582/0.3471, allocations: 4.536 MB / 0.5473 GB, free: 8.148 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.3474, allocations: 203.1 kB / 0.5475 GB, free: 7.949 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.034e-05/0.3475, allocations: 16 kB / 0.5476 GB, free: 7.934 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007922/0.3483, allocations: 259.7 kB / 0.5478 GB, free: 7.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3484, allocations: 72.81 kB / 0.5479 GB, free: 7.609 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.3485, allocations: 51.91 kB / 0.5479 GB, free: 7.559 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.405e-05/0.3485, allocations: 124.8 kB / 0.548 GB, free: 7.441 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3485, allocations: 0 / 0.548 GB, free: 7.441 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002544/0.3511, allocations: 0.9789 MB / 0.549 GB, free: 6.461 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.009254/0.3603, allocations: 6.068 MB / 0.5549 GB, free: 476 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004139/0.3645, allocations: 2.635 MB / 0.5575 GB, free: 13.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3645, allocations: 0 / 0.5575 GB, free: 13.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.3665, allocations: 1.404 MB / 0.5589 GB, free: 12.45 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.367, allocations: 110.5 kB / 0.559 GB, free: 12.34 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.3823, allocations: 9.757 MB / 0.5685 GB, free: 2.445 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.3825, allocations: 333.8 kB / 0.5688 GB, free: 2.098 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001256/0.3837, allocations: 1.294 MB / 0.5701 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006269/0.3844, allocations: 312.2 kB / 0.5704 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of SimCode: time 7.92e-07/0.3844, allocations: 0 / 0.5704 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05512/0.4395, allocations: 51.03 MB / 0.6202 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.436/8.875, allocations: 4.062 kB / 0.6202 GB, free: 13.29 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 & /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: 11.175372012890875] Failed to read output from testmodel.py, exit status != 0: 8.984467933885753 9.143758418 8.79250427 Calling exit ...