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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.0008046/0.0008046, allocations: 91.06 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.0008428/0.0008429, 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.313/1.313, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9708/0.9708, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003002, allocations: 8 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 83.42 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3229/0.4584, allocations: 71.13 MB / 0.667 GB, free: 13.99 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.02491/0.4833, allocations: 17.75 MB / 0.6843 GB, free: 1.145 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003305/0.4867, allocations: 95.16 kB / 0.6844 GB, free: 1.105 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.002616/0.4893, allocations: 0.8745 MB / 0.6853 GB, free: 0.6289 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.008842/0.4981, allocations: 2.834 MB / 0.688 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005411/0.5036, allocations: 1.49 MB / 0.6895 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01334/0.5169, allocations: 7.6 MB / 0.6969 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004194/0.5211, allocations: 1.448 MB / 0.6983 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/0.5262, allocations: 1.866 MB / 0.7002 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004073/0.5303, allocations: 1.594 MB / 0.7017 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006037/0.5309, allocations: 74.19 kB / 0.7018 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004604/0.5355, allocations: 0.8951 MB / 0.7027 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000953/0.5365, allocations: 392.6 kB / 0.703 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.5378, allocations: 489.3 kB / 0.7035 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004168/0.542, allocations: 2.851 MB / 0.7063 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.542, allocations: 0 / 0.7063 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5421, allocations: 5.406 kB / 0.7063 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.297e-05/0.5422, allocations: 0 / 0.7063 GB, free: 7.047 MB / 0.5294 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.004929/0.5471, allocations: 2.318 MB / 0.7086 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.5471, allocations: 9.562 kB / 0.7086 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003804/0.5475, allocations: 202.3 kB / 0.7088 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008504/0.5484, allocations: 270.5 kB / 0.709 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/0.5522, allocations: 1.916 MB / 0.7109 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.5523, allocations: 109.2 kB / 0.711 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.5525, allocations: 138.4 kB / 0.7111 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002818/0.5553, allocations: 1.527 MB / 0.7126 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.5554, allocations: 5.781 kB / 0.7126 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.5555, allocations: 62.06 kB / 0.7127 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.5556, allocations: 40.05 kB / 0.7127 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.5579, allocations: 1.157 MB / 0.7138 GB, free: 1.91 MB / 0.5294 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.008821/0.5668, allocations: 7.602 MB / 0.7213 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009483/0.5677, allocations: 488.4 kB / 0.7217 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006326/0.5684, allocations: 355.4 kB / 0.7221 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009326/0.5693, allocations: 1.16 MB / 0.7232 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.5694, allocations: 47.02 kB / 0.7233 GB, free: 9.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.184e-06/0.5694, allocations: 0 / 0.7233 GB, free: 9.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002209/0.5716, allocations: 1.02 MB / 0.7243 GB, free: 8.785 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.5717, allocations: 57.47 kB / 0.7243 GB, free: 8.723 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/0.5744, allocations: 1.74 MB / 0.726 GB, free: 7.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/0.5745, allocations: 37.7 kB / 0.726 GB, free: 7.277 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008414/0.5753, allocations: 0.9356 MB / 0.727 GB, free: 6.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.5756, allocations: 220.9 kB / 0.7272 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.5756, allocations: 20 kB / 0.7272 GB, free: 6.094 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5758, allocations: 349.9 kB / 0.7275 GB, free: 5.746 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/0.5765, allocations: 346.4 kB / 0.7278 GB, free: 5.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009897/0.5775, allocations: 0.7056 MB / 0.7285 GB, free: 4.547 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/0.5784, allocations: 466.7 kB / 0.729 GB, free: 4.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.5784, allocations: 4 kB / 0.729 GB, free: 4.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002219/0.5806, allocations: 1.249 MB / 0.7302 GB, free: 2.828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.5806, allocations: 11.95 kB / 0.7302 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.5807, allocations: 12.09 kB / 0.7302 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.463e-05/0.5807, allocations: 23.98 kB / 0.7303 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.5817, allocations: 315.5 kB / 0.7306 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-05/0.5818, allocations: 19.94 kB / 0.7306 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.5834, allocations: 250.4 kB / 0.7308 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/0.5835, allocations: 52.53 kB / 0.7309 GB, free: 2.156 MB / 0.545 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.0007225/0.5842, allocations: 441.4 kB / 0.7313 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.5846, allocations: 193.7 kB / 0.7315 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.5864, allocations: 0.9155 MB / 0.7324 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.5865, allocations: 4 kB / 0.7324 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.5865, allocations: 4 kB / 0.7324 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/0.5879, allocations: 0.8308 MB / 0.7332 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/0.5922, allocations: 2.482 MB / 0.7356 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.5922, allocations: 4.188 kB / 0.7356 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/0.5929, allocations: 211.8 kB / 0.7358 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.936e-05/0.593, allocations: 4 kB / 0.7358 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.593, allocations: 19.98 kB / 0.7358 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.593, allocations: 4 kB / 0.7358 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.593, allocations: 7.938 kB / 0.7358 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.5954, allocations: 1.398 MB / 0.7372 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007864/0.5962, allocations: 406.3 kB / 0.7376 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/0.5966, allocations: 24 kB / 0.7376 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.5979, allocations: 124.3 kB / 0.7377 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.598, allocations: 52.45 kB / 0.7378 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/0.5981, allocations: 35.97 kB / 0.7378 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001785/0.5999, allocations: 1.196 MB / 0.739 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5999, allocations: 0 / 0.739 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002028/0.602, allocations: 0.6356 MB / 0.7396 GB, free: 8.969 MB / 0.5606 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.003487/0.6055, allocations: 2.409 MB / 0.742 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.607, allocations: 0.8469 MB / 0.7428 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6071, allocations: 4 kB / 0.7428 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000658/0.6077, allocations: 376.4 kB / 0.7432 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004874/0.6126, allocations: 1.207 MB / 0.7443 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/0.6368, allocations: 11.21 MB / 0.7553 GB, free: 7.957 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.6379, allocations: 1.409 MB / 0.7567 GB, free: 6.516 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00165/0.6396, allocations: 384.7 kB / 0.757 GB, free: 6.152 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009619/0.6406, allocations: 0.7648 MB / 0.7578 GB, free: 5.387 MB / 0.5763 GB Notification: Performance of SimCode: time 6.81e-07/0.6406, allocations: 0 / 0.7578 GB, free: 5.387 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08542/0.726, allocations: 56.98 MB / 0.8134 GB, free: 13.22 MB / 0.6388 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.7262, allocations: 245.4 kB / 0.8136 GB, free: 12.89 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.039/3.765, allocations: 2.344 kB / 0.8137 GB, free: 12.89 MB / 0.6388 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/linux/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) Environment - environmentSimulation: