Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.008134/0.008134, allocations: 100.6 kB / 15.73 MB, free: 6.031 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.002023/0.002023, allocations: 194.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9984/0.9984, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 71.83 kB / 0.5951 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4183, allocations: 82.02 MB / 0.6752 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07587/0.4942, allocations: 77.16 MB / 0.7505 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02969/0.5239, allocations: 18.92 MB / 0.769 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004648/0.5286, allocations: 115.3 kB / 0.7691 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003995/0.5327, allocations: 1.242 MB / 0.7703 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.5429, allocations: 3.63 MB / 0.7739 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005632/0.5485, allocations: 2.099 MB / 0.7759 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009128/0.5577, allocations: 6.683 MB / 0.7824 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003805/0.5615, allocations: 2.088 MB / 0.7845 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005971/0.5675, allocations: 2.368 MB / 0.7868 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003259/0.5708, allocations: 1.759 MB / 0.7885 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008241/0.5716, allocations: 200 kB / 0.7887 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005125/0.5768, allocations: 1.626 MB / 0.7903 GB, free: 172 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009969/0.5778, allocations: 0.5332 MB / 0.7908 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002671/0.5805, allocations: 1.252 MB / 0.792 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007273/0.5878, allocations: 3.922 MB / 0.7959 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.5878, allocations: 0 / 0.7959 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5878, allocations: 0 / 0.7959 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001265/0.588, allocations: 0 / 0.7959 GB, free: 10.44 MB / 0.6231 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.005708/0.5937, allocations: 2.715 MB / 0.7985 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.5937, allocations: 12.03 kB / 0.7985 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003928/0.5941, allocations: 206.8 kB / 0.7987 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009132/0.5951, allocations: 265.9 kB / 0.799 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.5988, allocations: 2.027 MB / 0.8009 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-05/0.5989, allocations: 110.7 kB / 0.8011 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.5991, allocations: 140 kB / 0.8012 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/0.6019, allocations: 1.52 MB / 0.8027 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.872e-05/0.602, allocations: 0 / 0.8027 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.6022, allocations: 60 kB / 0.8027 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.6022, allocations: 36 kB / 0.8028 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.6045, allocations: 1.13 MB / 0.8039 GB, free: 2.023 MB / 0.6231 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.009161/0.6137, allocations: 7.622 MB / 0.8113 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009921/0.6147, allocations: 476.5 kB / 0.8118 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/0.6153, allocations: 336 kB / 0.8121 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008051/0.6162, allocations: 1.156 MB / 0.8132 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.6162, allocations: 47.16 kB / 0.8133 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=59): time 2.965e-06/0.6162, allocations: 0 / 0.8133 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59): time 0.002277/0.6185, allocations: 0.9612 MB / 0.8142 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.6186, allocations: 59.91 kB / 0.8143 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/0.6213, allocations: 1.783 MB / 0.816 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.6215, allocations: 41.7 kB / 0.816 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007652/0.6223, allocations: 0.9355 MB / 0.8169 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.6226, allocations: 216.9 kB / 0.8172 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.6229, allocations: 226.7 kB / 0.8174 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.623, allocations: 345.9 kB / 0.8177 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006724/0.6237, allocations: 330.4 kB / 0.818 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009748/0.6247, allocations: 0.6899 MB / 0.8187 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.6263, allocations: 1.008 MB / 0.8197 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.6263, allocations: 8 kB / 0.8197 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002545/0.6289, allocations: 1.218 MB / 0.8209 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.6289, allocations: 8 kB / 0.8209 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.6289, allocations: 15.94 kB / 0.8209 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/0.629, allocations: 16 kB / 0.8209 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009561/0.6299, allocations: 288.2 kB / 0.8212 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/0.63, allocations: 23.92 kB / 0.8212 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.6313, allocations: 162.4 kB / 0.8214 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-05/0.6314, allocations: 52 kB / 0.8214 GB, free: 14.81 MB / 0.6544 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.0008546/0.6323, allocations: 437.4 kB / 0.8218 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005153/0.6328, allocations: 193.7 kB / 0.822 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.6346, allocations: 0.8639 MB / 0.8229 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.6346, allocations: 4 kB / 0.8229 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.6346, allocations: 7.984 kB / 0.8229 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/0.6359, allocations: 0.7957 MB / 0.8236 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004165/0.64, allocations: 2.458 MB / 0.826 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.6401, allocations: 8.25 kB / 0.8261 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007434/0.6408, allocations: 171.8 kB / 0.8262 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.6408, allocations: 8 kB / 0.8262 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.6409, allocations: 12 kB / 0.8262 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/0.6409, allocations: 15.92 kB / 0.8263 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6409, allocations: 4 kB / 0.8263 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.6433, allocations: 1.336 MB / 0.8276 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007523/0.644, allocations: 378.4 kB / 0.8279 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/0.6444, allocations: 12 kB / 0.8279 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.6454, allocations: 71.75 kB / 0.828 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.6455, allocations: 52.5 kB / 0.8281 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.056e-05/0.6456, allocations: 35.97 kB / 0.8281 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001882/0.6475, allocations: 1.243 MB / 0.8293 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6475, allocations: 0 / 0.8293 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001876/0.6494, allocations: 0.6513 MB / 0.8299 GB, free: 5.84 MB / 0.6544 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.003834/0.6532, allocations: 2.411 MB / 0.8323 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.655, allocations: 0.8117 MB / 0.8331 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.655, allocations: 7.938 kB / 0.8331 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006737/0.6557, allocations: 360.4 kB / 0.8334 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005113/0.6608, allocations: 1.194 MB / 0.8346 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02126/0.6821, allocations: 12.55 MB / 0.8469 GB, free: 3.992 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.6834, allocations: 1.405 MB / 0.8482 GB, free: 2.555 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001591/0.685, allocations: 384.1 kB / 0.8486 GB, free: 2.188 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.6861, allocations: 0.7609 MB / 0.8493 GB, free: 1.426 MB / 0.67 GB Notification: Performance of SimCode: time 1.012e-06/0.6861, allocations: 0 / 0.8493 GB, free: 1.426 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4201/1.106, allocations: 58.97 MB / 0.9069 GB, free: 156.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.27, allocations: 5.812 kB / 0.9069 GB, free: 156.2 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)