Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009147/0.0009147, allocations: 100.1 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.0009265/0.0009265, allocations: 177.3 kB / 15.95 MB, free: 216 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.311/1.311, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9902/0.9902, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002886, allocations: 8 kB / 0.5158 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1432, allocations: 83.4 MB / 0.5973 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2927/0.436, allocations: 34.81 MB / 0.6313 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.4463, allocations: 8.955 MB / 0.64 GB, free: 17.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.4476, allocations: 45.72 kB / 0.6401 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.4491, allocations: 0.6087 MB / 0.6407 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.4531, allocations: 1.828 MB / 0.6424 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.4562, allocations: 1.36 MB / 0.6438 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002478/0.4587, allocations: 1.973 MB / 0.6457 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000866/0.4596, allocations: 0.743 MB / 0.6464 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.4608, allocations: 0.8885 MB / 0.6473 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005459/0.4614, allocations: 0.5406 MB / 0.6478 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.609e-05/0.4615, allocations: 37.62 kB / 0.6478 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.4628, allocations: 0.5504 MB / 0.6484 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.463, allocations: 187 kB / 0.6486 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.4632, allocations: 266.4 kB / 0.6488 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.4643, allocations: 1.44 MB / 0.6502 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.4643, allocations: 0 / 0.6502 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4643, allocations: 0 / 0.6502 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.4643, allocations: 0 / 0.6502 GB, free: 12.75 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001781/0.4661, allocations: 1.314 MB / 0.6515 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.4662, allocations: 10.47 kB / 0.6515 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.4664, allocations: 139.6 kB / 0.6516 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.4678, allocations: 0.9877 MB / 0.6526 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.4678, allocations: 55.22 kB / 0.6527 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-05/0.4679, allocations: 67.78 kB / 0.6527 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.4691, allocations: 0.7973 MB / 0.6535 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.4692, allocations: 1.406 kB / 0.6535 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/0.4692, allocations: 30.5 kB / 0.6535 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.4693, allocations: 22.44 kB / 0.6536 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.4703, allocations: 0.5964 MB / 0.6541 GB, free: 10.52 MB / 0.4981 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.003395/0.4738, allocations: 3.575 MB / 0.6576 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.4743, allocations: 266.2 kB / 0.6579 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003469/0.4747, allocations: 0.6572 MB / 0.6585 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.4747, allocations: 41.95 kB / 0.6586 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.4747, allocations: 0 / 0.6586 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001161/0.4759, allocations: 0.5506 MB / 0.6591 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.4759, allocations: 54.69 kB / 0.6592 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.4772, allocations: 0.9639 MB / 0.6601 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.4772, allocations: 33.73 kB / 0.6601 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.4776, allocations: 499.8 kB / 0.6606 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.114e-05/0.4777, allocations: 116.4 kB / 0.6607 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.4777, allocations: 9.312 kB / 0.6607 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.4778, allocations: 330.4 kB / 0.661 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.4782, allocations: 172.6 kB / 0.6612 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/0.4787, allocations: 359.5 kB / 0.6616 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.4791, allocations: 226.1 kB / 0.6618 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4791, allocations: 1.719 kB / 0.6618 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001159/0.4803, allocations: 0.6389 MB / 0.6624 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4803, allocations: 6.781 kB / 0.6624 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.4803, allocations: 11.09 kB / 0.6624 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.4804, allocations: 11.44 kB / 0.6624 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.4809, allocations: 132.2 kB / 0.6625 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.4809, allocations: 17.81 kB / 0.6626 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007347/0.4816, allocations: 114.8 kB / 0.6627 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.4817, allocations: 30.58 kB / 0.6627 GB, free: 4.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003403/0.482, allocations: 272.3 kB / 0.663 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.4822, allocations: 106.5 kB / 0.6631 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009892/0.4831, allocations: 0.4966 MB / 0.6636 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.4832, allocations: 8.656 kB / 0.6636 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4832, allocations: 0 / 0.6636 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007155/0.4839, allocations: 475.2 kB / 0.664 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.4861, allocations: 1.401 MB / 0.6654 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4861, allocations: 1.281 kB / 0.6654 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.4865, allocations: 81.41 kB / 0.6655 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.4865, allocations: 4.766 kB / 0.6655 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.4865, allocations: 8.203 kB / 0.6655 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.4865, allocations: 7.906 kB / 0.6655 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4865, allocations: 5.625 kB / 0.6655 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.4879, allocations: 0.854 MB / 0.6663 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/0.4883, allocations: 259.4 kB / 0.6666 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.4884, allocations: 8.734 kB / 0.6666 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006874/0.4891, allocations: 64.69 kB / 0.6666 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.4892, allocations: 28.34 kB / 0.6667 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.4892, allocations: 21.14 kB / 0.6667 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009646/0.4902, allocations: 0.6719 MB / 0.6673 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4902, allocations: 1.125 kB / 0.6673 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001091/0.4913, allocations: 340.4 kB / 0.6677 GB, free: 2.152 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0006807/0.492, allocations: 398.5 kB / 0.668 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009557/0.493, allocations: 436.2 kB / 0.6685 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.493, allocations: 1.312 kB / 0.6685 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.4934, allocations: 195.7 kB / 0.6686 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/0.4961, allocations: 0.5934 MB / 0.6692 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.4987, allocations: 1.968 MB / 0.6711 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000669/0.4994, allocations: 1.055 MB / 0.6722 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008545/0.5003, allocations: 199 kB / 0.6724 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.5005, allocations: 84.66 kB / 0.6725 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.5005, allocations: 0 / 0.6725 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.03694/0.5374, allocations: 20.43 MB / 0.6924 GB, free: 8.691 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) Environment - environmentSimulation: