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.000946/0.0009458, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009342/0.0009343, allocations: 177.3 kB / 15.94 MB, free: 228 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.346/1.346, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.33/2.33, allocations: 409.2 MB / 0.6838 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004974, allocations: 12 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8926/0.8931, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06852/0.9617, allocations: 64.44 MB / 1.044 GB, free: 5.652 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0341/0.9958, allocations: 16.24 MB / 1.06 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005235/1.001, allocations: 95.31 kB / 1.06 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006494/1.008, allocations: 1.17 MB / 1.061 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01327/1.021, allocations: 3.536 MB / 1.064 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.007083/1.028, allocations: 2.312 MB / 1.067 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008301/1.036, allocations: 3.865 MB / 1.07 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/1.039, allocations: 1.471 MB / 1.072 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003799/1.043, allocations: 1.642 MB / 1.073 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002308/1.045, allocations: 1.073 MB / 1.074 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003297/1.045, allocations: 76 kB / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00363/1.049, allocations: 1.018 MB / 1.076 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005016/1.049, allocations: 366.5 kB / 1.076 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008746/1.05, allocations: 496.5 kB / 1.076 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003698/1.054, allocations: 2.642 MB / 1.079 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/1.054, allocations: 4 kB / 1.079 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.813e-06/1.054, allocations: 0 / 1.079 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.303e-05/1.054, allocations: 0 / 1.079 GB, free: 1.633 MB / 0.8262 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.004003/1.058, allocations: 2.316 MB / 1.081 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.058, allocations: 8.031 kB / 1.081 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002554/1.058, allocations: 202.6 kB / 1.081 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/1.059, allocations: 269 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/1.062, allocations: 1.779 MB / 1.083 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/1.062, allocations: 110.7 kB / 1.083 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/1.062, allocations: 144 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/1.065, allocations: 1.522 MB / 1.085 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/1.065, allocations: 0 / 1.085 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/1.065, allocations: 56 kB / 1.085 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-05/1.065, allocations: 43.98 kB / 1.085 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/1.067, allocations: 1.158 MB / 1.086 GB, free: 9.836 MB / 0.8419 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.008984/1.076, allocations: 7.657 MB / 1.094 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009711/1.077, allocations: 493.2 kB / 1.094 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009356/1.078, allocations: 1.152 MB / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/1.078, allocations: 47.12 kB / 1.095 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=59): time 3.516e-06/1.078, allocations: 0 / 1.095 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59): time 0.002422/1.081, allocations: 1.024 MB / 1.096 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/1.081, allocations: 59.97 kB / 1.097 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/1.083, allocations: 1.826 MB / 1.098 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/1.083, allocations: 41.7 kB / 1.098 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007894/1.084, allocations: 0.9238 MB / 1.099 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/1.084, allocations: 228.8 kB / 1.099 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/1.084, allocations: 20 kB / 1.099 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.084, allocations: 357.9 kB / 1.1 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/1.085, allocations: 354.3 kB / 1.1 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009202/1.086, allocations: 0.6978 MB / 1.101 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007856/1.087, allocations: 462.7 kB / 1.101 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.087, allocations: 0 / 1.101 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002306/1.089, allocations: 1.253 MB / 1.103 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.089, allocations: 8 kB / 1.103 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.089, allocations: 12 kB / 1.103 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/1.089, allocations: 19.95 kB / 1.103 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/1.09, allocations: 320.2 kB / 1.103 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.659e-05/1.09, allocations: 27.91 kB / 1.103 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/1.092, allocations: 254.3 kB / 1.103 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/1.092, allocations: 48 kB / 1.103 GB, free: 7.516 MB / 0.8575 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.0008398/1.093, allocations: 441.4 kB / 1.104 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/1.093, allocations: 193.7 kB / 1.104 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/1.095, allocations: 0.8962 MB / 1.105 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/1.095, allocations: 15.98 kB / 1.105 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.095, allocations: 3.953 kB / 1.105 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001319/1.096, allocations: 0.8308 MB / 1.105 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004144/1.101, allocations: 2.517 MB / 1.108 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.101, allocations: 7.938 kB / 1.108 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007888/1.101, allocations: 208 kB / 1.108 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/1.101, allocations: 12 kB / 1.108 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/1.101, allocations: 12 kB / 1.108 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.101, allocations: 8 kB / 1.108 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.101, allocations: 3.938 kB / 1.108 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/1.104, allocations: 1.548 MB / 1.11 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007644/1.105, allocations: 418.3 kB / 1.11 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/1.105, allocations: 16 kB / 1.11 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/1.106, allocations: 127.3 kB / 1.11 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/1.106, allocations: 48.45 kB / 1.11 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.781e-05/1.106, allocations: 39.91 kB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001767/1.108, allocations: 1.274 MB / 1.112 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.108, allocations: 4 kB / 1.112 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001762/1.11, allocations: 0.659 MB / 1.112 GB, free: 13.96 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.003559/1.113, allocations: 3.09 MB / 1.115 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00161/1.115, allocations: 0.843 MB / 1.116 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.115, allocations: 1 kB / 1.116 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006771/1.116, allocations: 379.4 kB / 1.116 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005717/1.121, allocations: 1.187 MB / 1.118 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.133, allocations: 11.54 MB / 1.129 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/1.134, allocations: 1.448 MB / 1.13 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002258/1.136, allocations: 375.6 kB / 1.131 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/1.138, allocations: 0.7648 MB / 1.131 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of SimCode: time 1.693e-06/1.138, allocations: 0 / 1.131 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08803/1.226, allocations: 56.63 MB / 1.187 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/1.226, allocations: 244.3 kB / 1.187 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.085/4.311, allocations: 3.938 kB / 1.187 GB, free: 1.801 MB / 0.9356 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