Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_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.0008611/0.0008611, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009305/0.0009305, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.635/2.635, allocations: 409.4 MB / 0.684 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 12 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7707/0.7711, allocations: 146.8 MB / 0.9811 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07149/0.8426, allocations: 71.15 MB / 1.051 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02486/0.8675, allocations: 17.72 MB / 1.068 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004619/0.8722, allocations: 99.38 kB / 1.068 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003617/0.8758, allocations: 0.8655 MB / 1.069 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.009674/0.8855, allocations: 2.844 MB / 1.072 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005282/0.8908, allocations: 1.487 MB / 1.073 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009566/0.9004, allocations: 7.583 MB / 1.081 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002694/0.9032, allocations: 1.448 MB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003943/0.9071, allocations: 1.863 MB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.9099, allocations: 1.598 MB / 1.085 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003073/0.9102, allocations: 72 kB / 1.085 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.9134, allocations: 0.9001 MB / 1.086 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005037/0.914, allocations: 382.2 kB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008328/0.9148, allocations: 496.5 kB / 1.087 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00328/0.9181, allocations: 2.673 MB / 1.09 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9181, allocations: 0 / 1.09 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9181, allocations: 4 kB / 1.09 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.99e-05/0.9182, allocations: 0 / 1.09 GB, free: 6.898 MB / 0.8419 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.003733/0.9219, allocations: 2.314 MB / 1.092 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.922, allocations: 11.97 kB / 1.092 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002619/0.9222, allocations: 198.6 kB / 1.092 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005976/0.9228, allocations: 269 kB / 1.092 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003062/0.9259, allocations: 1.909 MB / 1.094 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/0.926, allocations: 106.7 kB / 1.094 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.9262, allocations: 139.9 kB / 1.095 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.9287, allocations: 1.536 MB / 1.096 GB, free: 232 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.9287, allocations: 0 / 1.096 GB, free: 232 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.9289, allocations: 60 kB / 1.096 GB, free: 172 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/0.9289, allocations: 43.92 kB / 1.096 GB, free: 128 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.931, allocations: 1.158 MB / 1.097 GB, free: 14.96 MB / 0.8575 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.008099/0.9391, allocations: 7.603 MB / 1.105 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009166/0.94, allocations: 493.1 kB / 1.105 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/0.9407, allocations: 362.3 kB / 1.105 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008484/0.9415, allocations: 1.156 MB / 1.107 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.9416, allocations: 43.08 kB / 1.107 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=59): time 2.575e-06/0.9416, allocations: 0 / 1.107 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59): time 0.002201/0.9438, allocations: 1.02 MB / 1.108 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.9438, allocations: 63.91 kB / 1.108 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.9461, allocations: 1.736 MB / 1.109 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.651e-05/0.9462, allocations: 41.7 kB / 1.109 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007978/0.947, allocations: 0.9317 MB / 1.11 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.9473, allocations: 213 kB / 1.111 GB, free: 404 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.9473, allocations: 20 kB / 1.111 GB, free: 384 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9475, allocations: 349.9 kB / 1.111 GB, free: 28 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006955/0.9482, allocations: 346.4 kB / 1.111 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009914/0.9492, allocations: 0.7056 MB / 1.112 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008629/0.95, allocations: 458.7 kB / 1.112 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.9501, allocations: 4 kB / 1.112 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00223/0.9523, allocations: 1.252 MB / 1.114 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.9524, allocations: 13.56 kB / 1.114 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.9524, allocations: 11.95 kB / 1.114 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.622e-05/0.9524, allocations: 20.8 kB / 1.114 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.9535, allocations: 319.6 kB / 1.114 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.627e-05/0.9536, allocations: 19.94 kB / 1.114 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.9552, allocations: 250.4 kB / 1.114 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/0.9553, allocations: 55.92 kB / 1.114 GB, free: 12.44 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009033/0.9562, allocations: 438.9 kB / 1.115 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.9565, allocations: 193.7 kB / 1.115 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.9583, allocations: 0.9085 MB / 1.116 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.9583, allocations: 11.89 kB / 1.116 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.9583, allocations: 0 / 1.116 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/0.9596, allocations: 0.8386 MB / 1.117 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004145/0.9637, allocations: 2.475 MB / 1.119 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.9638, allocations: 4 kB / 1.119 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007792/0.9645, allocations: 212 kB / 1.119 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.9646, allocations: 4 kB / 1.119 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.9646, allocations: 16 kB / 1.119 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.9646, allocations: 7.938 kB / 1.119 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9646, allocations: 4 kB / 1.119 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.9668, allocations: 1.402 MB / 1.121 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007135/0.9675, allocations: 402.3 kB / 1.121 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/0.9678, allocations: 19.98 kB / 1.121 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.9689, allocations: 116.8 kB / 1.121 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.969, allocations: 56.45 kB / 1.121 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/0.9691, allocations: 35.97 kB / 1.121 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001685/0.9708, allocations: 1.2 MB / 1.122 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9708, allocations: 0 / 1.122 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001746/0.9726, allocations: 0.6318 MB / 1.123 GB, free: 3.254 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003481/0.976, allocations: 2.405 MB / 1.125 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.9777, allocations: 0.8471 MB / 1.126 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.9778, allocations: 0 / 1.126 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000698/0.9785, allocations: 376.2 kB / 1.127 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005661/0.9841, allocations: 1.218 MB / 1.128 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02523/1.009, allocations: 11.21 MB / 1.139 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/1.011, allocations: 1.401 MB / 1.14 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001963/1.013, allocations: 381 kB / 1.14 GB, free: 452 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.014, allocations: 0.761 MB / 1.141 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of SimCode: time 2.415e-06/1.014, allocations: 0 / 1.141 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/1.132, allocations: 56.49 MB / 1.196 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/1.132, allocations: 245.9 kB / 1.197 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.288/4.421, allocations: 0 / 1.197 GB, free: 7.586 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat does not exist to compare? outputFormat=mat