Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.574/1.574, allocations: 292.3 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 69.5 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1866, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06924/0.2559, allocations: 76.66 MB / 0.8577 GB, free: 1.023 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02419/0.2802, allocations: 18.81 MB / 0.876 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003665/0.2839, allocations: 95.38 kB / 0.8761 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003398/0.2873, allocations: 1.033 MB / 0.8771 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.2975, allocations: 3.344 MB / 0.8804 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006854/0.3043, allocations: 1.918 MB / 0.8823 GB, free: 7.777 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01015/0.3145, allocations: 8.871 MB / 0.8909 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.3173, allocations: 1.729 MB / 0.8926 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00408/0.3214, allocations: 1.94 MB / 0.8945 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002791/0.3242, allocations: 1.777 MB / 0.8962 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003148/0.3245, allocations: 100 kB / 0.8963 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003972/0.3285, allocations: 1.457 MB / 0.8978 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000552/0.3291, allocations: 458.1 kB / 0.8982 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.3306, allocations: 1.135 MB / 0.8993 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004526/0.3352, allocations: 3.642 MB / 0.9029 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3352, allocations: 0 / 0.9029 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3352, allocations: 0 / 0.9029 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.959e-05/0.3352, allocations: 0 / 0.9029 GB, free: 2.562 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004076/0.3393, allocations: 2.707 MB / 0.9055 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3394, allocations: 12.03 kB / 0.9055 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/0.3396, allocations: 202.8 kB / 0.9057 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006776/0.3403, allocations: 266 kB / 0.906 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/0.3433, allocations: 1.955 MB / 0.9079 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.015e-05/0.3433, allocations: 110.7 kB / 0.908 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.3435, allocations: 140 kB / 0.9081 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/0.3462, allocations: 1.516 MB / 0.9096 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.3462, allocations: 7.938 kB / 0.9096 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.3464, allocations: 59.94 kB / 0.9097 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/0.3464, allocations: 40 kB / 0.9097 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.3485, allocations: 1.13 MB / 0.9108 GB, free: 10.22 MB / 0.7325 GB 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.00765/0.3562, allocations: 7.567 MB / 0.9182 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009789/0.3572, allocations: 472.5 kB / 0.9186 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006456/0.3579, allocations: 330.9 kB / 0.919 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3104/0.6683, allocations: 1.15 MB / 0.9201 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.6683, allocations: 38.77 kB / 0.9201 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 2.835e-06/0.6684, allocations: 0.9688 kB / 0.9201 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.002643/0.671, allocations: 0.9633 MB / 0.9211 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.671, allocations: 59.66 kB / 0.9211 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/0.6735, allocations: 1.739 MB / 0.9228 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.454e-05/0.6736, allocations: 44.89 kB / 0.9229 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006655/0.6743, allocations: 0.9228 MB / 0.9238 GB, free: 135 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.6745, allocations: 218.3 kB / 0.924 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.6748, allocations: 231.1 kB / 0.9242 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.6748, allocations: 349.8 kB / 0.9245 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006653/0.6755, allocations: 330.1 kB / 0.9248 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009454/0.6765, allocations: 0.697 MB / 0.9255 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.678, allocations: 1.008 MB / 0.9265 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.678, allocations: 3 kB / 0.9265 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002171/0.6802, allocations: 1.216 MB / 0.9277 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.6802, allocations: 14.78 kB / 0.9277 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.6803, allocations: 9 kB / 0.9277 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.6803, allocations: 14.94 kB / 0.9277 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009485/0.6812, allocations: 285.9 kB / 0.928 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.6813, allocations: 21.86 kB / 0.928 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.6827, allocations: 241.4 kB / 0.9283 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/0.6827, allocations: 52.84 kB / 0.9283 GB, free: 132.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006342/0.6834, allocations: 436.9 kB / 0.9287 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.6837, allocations: 205 kB / 0.9289 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.6852, allocations: 0.8505 MB / 0.9297 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.6852, allocations: 8.188 kB / 0.9298 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6853, allocations: 0 / 0.9298 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/0.6864, allocations: 0.8012 MB / 0.9305 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00391/0.6903, allocations: 2.423 MB / 0.9329 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6903, allocations: 6.594 kB / 0.9329 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007508/0.6911, allocations: 182.3 kB / 0.9331 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.6911, allocations: 5.25 kB / 0.9331 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.6912, allocations: 25.86 kB / 0.9331 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.6912, allocations: 6.125 kB / 0.9331 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6912, allocations: 4.531 kB / 0.9331 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.6933, allocations: 1.331 MB / 0.9344 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/0.6939, allocations: 364.5 kB / 0.9348 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.6941, allocations: 17.44 kB / 0.9348 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.6952, allocations: 110.7 kB / 0.9349 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6954, allocations: 54.19 kB / 0.9349 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/0.6954, allocations: 33.81 kB / 0.935 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001567/0.697, allocations: 1.211 MB / 0.9362 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.697, allocations: 0 / 0.9362 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001826/0.6988, allocations: 0.6343 MB / 0.9368 GB, free: 128.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.00371/0.7026, allocations: 2.375 MB / 0.9391 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.7045, allocations: 0.8105 MB / 0.9399 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7045, allocations: 7.062 kB / 0.9399 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008704/0.7054, allocations: 350.7 kB / 0.9402 GB, free: 127.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005945/0.7114, allocations: 1.207 MB / 0.9414 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02723/0.7386, allocations: 14.64 MB / 0.9557 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/0.7394, allocations: 1.4 MB / 0.9571 GB, free: 117 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001805/0.7412, allocations: 382.8 kB / 0.9574 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007851/0.742, allocations: 0.7528 MB / 0.9582 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.742, allocations: 4 kB / 0.9582 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6387/1.381, allocations: 55.33 MB / 1.012 GB, free: 66.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/1.381, allocations: 262.1 kB / 1.012 GB, free: 66.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/4.486, allocations: 0 / 1.012 GB, free: 66.66 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)