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.0009505/0.0009504, 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.00122/0.00122, 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.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.058/1.058, allocations: 143.3 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 16 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1859, allocations: 83.4 MB / 0.5973 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3566/0.5426, allocations: 64.43 MB / 0.6603 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02598/0.5686, allocations: 16.26 MB / 0.6761 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005253/0.5739, allocations: 89.69 kB / 0.6762 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005965/0.5799, allocations: 1.174 MB / 0.6774 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01479/0.5948, allocations: 3.544 MB / 0.6808 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009037/0.6038, allocations: 2.308 MB / 0.6831 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.6144, allocations: 3.868 MB / 0.6869 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003624/0.6181, allocations: 1.477 MB / 0.6883 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005335/0.6234, allocations: 1.641 MB / 0.6899 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.6268, allocations: 1.078 MB / 0.691 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008482/0.6276, allocations: 74.47 kB / 0.691 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005845/0.6335, allocations: 1.01 MB / 0.692 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.6347, allocations: 371.2 kB / 0.6924 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.6364, allocations: 495.1 kB / 0.6928 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006595/0.643, allocations: 2.821 MB / 0.6956 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6431, allocations: 0 / 0.6956 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6431, allocations: 0 / 0.6956 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000163/0.6433, allocations: 0 / 0.6956 GB, free: 14.46 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.006829/0.6501, allocations: 2.32 MB / 0.6979 GB, free: 13 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.6502, allocations: 8.75 kB / 0.6979 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007115/0.6509, allocations: 199.2 kB / 0.6981 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.6523, allocations: 265.9 kB / 0.6983 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005012/0.6573, allocations: 1.8 MB / 0.7001 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.6575, allocations: 109.9 kB / 0.7002 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000453/0.6579, allocations: 139.6 kB / 0.7003 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/0.6624, allocations: 1.515 MB / 0.7018 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/0.6625, allocations: 2 kB / 0.7018 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.6627, allocations: 57.31 kB / 0.7019 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.6628, allocations: 45.95 kB / 0.7019 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/0.6658, allocations: 1.157 MB / 0.703 GB, free: 10.38 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.01123/0.6771, allocations: 7.663 MB / 0.7105 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.6782, allocations: 498.5 kB / 0.711 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009291/0.6791, allocations: 1.162 MB / 0.7121 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.6792, allocations: 42.97 kB / 0.7122 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.315e-06/0.6792, allocations: 0 / 0.7122 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.00255/0.6817, allocations: 1.024 MB / 0.7132 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.6818, allocations: 57.72 kB / 0.7132 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.6845, allocations: 1.827 MB / 0.715 GB, free: 280 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.6846, allocations: 39.8 kB / 0.715 GB, free: 240 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008155/0.6855, allocations: 0.9311 MB / 0.7159 GB, free: 15.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.6857, allocations: 221 kB / 0.7162 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.6858, allocations: 21.25 kB / 0.7162 GB, free: 15.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6859, allocations: 355.2 kB / 0.7165 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007442/0.6867, allocations: 344 kB / 0.7168 GB, free: 14.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009594/0.6876, allocations: 0.7027 MB / 0.7175 GB, free: 14.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008042/0.6885, allocations: 461.8 kB / 0.718 GB, free: 13.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.6885, allocations: 3.281 kB / 0.718 GB, free: 13.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002397/0.6909, allocations: 1.248 MB / 0.7192 GB, free: 13.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.6909, allocations: 10.22 kB / 0.7192 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.6909, allocations: 10.09 kB / 0.7192 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.691, allocations: 23.77 kB / 0.7192 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.6921, allocations: 320.6 kB / 0.7195 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/0.6921, allocations: 24.89 kB / 0.7196 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.6941, allocations: 250.8 kB / 0.7198 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.6942, allocations: 51.81 kB / 0.7199 GB, free: 12.99 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.0009588/0.6951, allocations: 435.9 kB / 0.7203 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/0.6955, allocations: 192.5 kB / 0.7205 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.6973, allocations: 0.9087 MB / 0.7213 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.6973, allocations: 15.94 kB / 0.7214 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6973, allocations: 0 / 0.7214 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001342/0.6987, allocations: 0.8308 MB / 0.7222 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004467/0.7032, allocations: 2.525 MB / 0.7246 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.7032, allocations: 0 / 0.7246 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.704, allocations: 212 kB / 0.7248 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.704, allocations: 4 kB / 0.7248 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.7041, allocations: 23.98 kB / 0.7249 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.7041, allocations: 7.938 kB / 0.7249 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.7041, allocations: 4 kB / 0.7249 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.7066, allocations: 1.548 MB / 0.7264 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009238/0.7075, allocations: 426.3 kB / 0.7268 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.7078, allocations: 12 kB / 0.7268 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.7089, allocations: 125.3 kB / 0.7269 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.7091, allocations: 52.44 kB / 0.727 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.978e-05/0.7091, allocations: 43.91 kB / 0.727 GB, free: 5.852 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001806/0.7109, allocations: 1.271 MB / 0.7283 GB, free: 4.562 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.711, allocations: 0 / 0.7283 GB, free: 4.562 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002013/0.713, allocations: 0.6552 MB / 0.7289 GB, free: 3.906 MB / 0.545 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.004236/0.7172, allocations: 3.116 MB / 0.7319 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.7191, allocations: 0.8514 MB / 0.7328 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.7191, allocations: 0 / 0.7328 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007179/0.7198, allocations: 371.8 kB / 0.7331 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006396/0.7262, allocations: 1.19 MB / 0.7343 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.7374, allocations: 11.54 MB / 0.7456 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.7386, allocations: 1.444 MB / 0.747 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002314/0.741, allocations: 386.4 kB / 0.7473 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/0.742, allocations: 0.7648 MB / 0.7481 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/0.7421, allocations: 0 / 0.7481 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08623/0.8283, allocations: 57.18 MB / 0.8039 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.8285, allocations: 242.5 kB / 0.8042 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.153/3.982, allocations: 0 / 0.8042 GB, free: 7.312 MB / 0.6231 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: