Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_9_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.0007956/0.0007956, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008282/0.0008282, allocations: 172.7 kB / 15.95 MB, free: 208 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.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003783, allocations: 12 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7235/0.7239, allocations: 142.3 MB / 0.9538 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07228/0.7962, allocations: 71.15 MB / 1.023 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02804/0.8243, allocations: 17.72 MB / 1.041 GB, free: 6.992 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00437/0.8287, allocations: 95.38 kB / 1.041 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003767/0.8325, allocations: 0.8772 MB / 1.042 GB, free: 6.016 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01074/0.8433, allocations: 2.837 MB / 1.044 GB, free: 3.164 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005678/0.849, allocations: 1.492 MB / 1.046 GB, free: 1.691 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01261/0.8616, allocations: 7.597 MB / 1.053 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003819/0.8655, allocations: 1.447 MB / 1.055 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004806/0.8703, allocations: 1.863 MB / 1.056 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003412/0.8738, allocations: 1.59 MB / 1.058 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006542/0.8744, allocations: 76 kB / 1.058 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004224/0.8787, allocations: 0.8962 MB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0009805/0.8797, allocations: 390.2 kB / 1.059 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.8811, allocations: 492.5 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004832/0.8859, allocations: 2.669 MB / 1.062 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.886, allocations: 4 kB / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.515e-06/0.886, allocations: 0 / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000133/0.8861, allocations: 0 / 1.062 GB, free: 0.6172 MB / 0.8106 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.005958/0.8921, allocations: 2.306 MB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.8922, allocations: 12.03 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006928/0.8929, allocations: 206.6 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.8937, allocations: 265 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/0.8972, allocations: 1.907 MB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-05/0.8974, allocations: 106.7 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.8976, allocations: 152 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.9003, allocations: 1.533 MB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.9004, allocations: 7.938 kB / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.9005, allocations: 55.98 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.405e-05/0.9005, allocations: 40 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.9028, allocations: 1.154 MB / 1.07 GB, free: 8.68 MB / 0.8262 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.009007/0.9118, allocations: 7.587 MB / 1.077 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009779/0.9128, allocations: 0.4928 MB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006699/0.9135, allocations: 350.3 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009352/0.9144, allocations: 1.145 MB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.9145, allocations: 47.12 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=59): time 2.354e-06/0.9145, allocations: 7.938 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59): time 0.002273/0.9168, allocations: 1.02 MB / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.9168, allocations: 67.92 kB / 1.08 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/0.9191, allocations: 1.736 MB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.9192, allocations: 41.7 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008401/0.92, allocations: 0.9316 MB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.9203, allocations: 213 kB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.9203, allocations: 24 kB / 1.083 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.9205, allocations: 345.9 kB / 1.084 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/0.9212, allocations: 346.4 kB / 1.084 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009669/0.9221, allocations: 0.7095 MB / 1.085 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008528/0.923, allocations: 466.7 kB / 1.085 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.923, allocations: 7.938 kB / 1.085 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002246/0.9253, allocations: 1.253 MB / 1.086 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.9253, allocations: 8 kB / 1.086 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.9253, allocations: 12 kB / 1.086 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.9254, allocations: 16 kB / 1.086 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009939/0.9264, allocations: 316 kB / 1.087 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.372e-05/0.9264, allocations: 23.92 kB / 1.087 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.9279, allocations: 246.4 kB / 1.087 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/0.928, allocations: 52 kB / 1.087 GB, free: 6.172 MB / 0.8419 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.0008362/0.9288, allocations: 441.4 kB / 1.087 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.9291, allocations: 193.6 kB / 1.088 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.9309, allocations: 0.9071 MB / 1.088 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.931, allocations: 11.98 kB / 1.088 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.931, allocations: 4 kB / 1.088 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/0.9323, allocations: 0.8308 MB / 1.089 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/0.9366, allocations: 2.482 MB / 1.092 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.9366, allocations: 4 kB / 1.092 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007864/0.9374, allocations: 200 kB / 1.092 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.9374, allocations: 11.94 kB / 1.092 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.9375, allocations: 15.98 kB / 1.092 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.9375, allocations: 12 kB / 1.092 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9375, allocations: 0 / 1.092 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/0.94, allocations: 1.398 MB / 1.093 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008241/0.9408, allocations: 406.2 kB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.941, allocations: 12 kB / 1.094 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.9421, allocations: 127.6 kB / 1.094 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.9422, allocations: 48.5 kB / 1.094 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.11e-05/0.9423, allocations: 35.97 kB / 1.094 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001801/0.9441, allocations: 1.204 MB / 1.095 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9441, allocations: 3.938 kB / 1.095 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001928/0.946, allocations: 0.6318 MB / 1.096 GB, free: 12.97 MB / 0.8575 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.00378/0.9498, allocations: 2.397 MB / 1.098 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001733/0.9516, allocations: 0.8436 MB / 1.099 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.9516, allocations: 8.312 kB / 1.099 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007176/0.9523, allocations: 379.4 kB / 1.099 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005473/0.9578, allocations: 1.209 MB / 1.1 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0243/0.9821, allocations: 11.21 MB / 1.111 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009787/0.9831, allocations: 1.413 MB / 1.113 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001768/0.9849, allocations: 382.8 kB / 1.113 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009892/0.9859, allocations: 0.7609 MB / 1.114 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of SimCode: time 1.072e-06/0.9859, allocations: 3.938 kB / 1.114 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09705/1.083, allocations: 56.51 MB / 1.169 GB, free: 1.504 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/1.083, allocations: 254 kB / 1.169 GB, free: 1.25 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/4.197, allocations: 0 / 1.169 GB, free: 1.25 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat does not exist to compare? outputFormat=mat