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.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: 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.001016/0.001016, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001062/0.001062, allocations: 196.3 kB / 16.14 MB, free: 6.688 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.625 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 1.02/1.02, allocations: 143 MB / 433 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1574, allocations: 82.04 MB / 0.5936 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3331/0.4905, allocations: 41.32 MB / 0.634 GB, free: 20.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.5022, allocations: 10.47 MB / 0.6442 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.5041, allocations: 56.47 kB / 0.6442 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.5057, allocations: 0.5219 MB / 0.6447 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.5096, allocations: 1.753 MB / 0.6465 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.512, allocations: 1.074 MB / 0.6475 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003393/0.5154, allocations: 4.511 MB / 0.6519 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.5164, allocations: 0.8901 MB / 0.6528 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.5183, allocations: 1.039 MB / 0.6538 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.5194, allocations: 0.8931 MB / 0.6547 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.5195, allocations: 49.06 kB / 0.6547 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.5214, allocations: 0.7733 MB / 0.6555 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.5216, allocations: 231.2 kB / 0.6557 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005763/0.5222, allocations: 0.5773 MB / 0.6562 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.5243, allocations: 1.961 MB / 0.6582 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5243, allocations: 3.938 kB / 0.6582 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5243, allocations: 1.344 kB / 0.6582 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.5243, allocations: 0 / 0.6582 GB, free: 6.473 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.002389/0.5267, allocations: 1.52 MB / 0.6597 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5268, allocations: 10.55 kB / 0.6597 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003716/0.5272, allocations: 136 kB / 0.6598 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.5287, allocations: 1.082 MB / 0.6608 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.5288, allocations: 50.84 kB / 0.6609 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.5289, allocations: 72.38 kB / 0.661 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.5303, allocations: 0.7892 MB / 0.6617 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.5303, allocations: 1.844 kB / 0.6617 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/0.5304, allocations: 34.88 kB / 0.6618 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.5305, allocations: 23.81 kB / 0.6618 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.5317, allocations: 0.5652 MB / 0.6623 GB, free: 4.066 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.003952/0.5356, allocations: 3.549 MB / 0.6658 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.5363, allocations: 265.2 kB / 0.6661 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.5366, allocations: 180.1 kB / 0.6662 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003933/0.537, allocations: 0.6546 MB / 0.6669 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.5371, allocations: 38.69 kB / 0.6669 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/0.5371, allocations: 0 / 0.6669 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001228/0.5383, allocations: 0.5146 MB / 0.6674 GB, free: 316 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.5384, allocations: 54.19 kB / 0.6675 GB, free: 252 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.5397, allocations: 0.9371 MB / 0.6684 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.5398, allocations: 33.08 kB / 0.6684 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/0.5403, allocations: 496.6 kB / 0.6689 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.5404, allocations: 115.5 kB / 0.669 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.5407, allocations: 118.7 kB / 0.6691 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5408, allocations: 330.2 kB / 0.6694 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.5412, allocations: 160.8 kB / 0.6696 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/0.5418, allocations: 358 kB / 0.6699 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/0.5428, allocations: 0.5102 MB / 0.6704 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5428, allocations: 4.656 kB / 0.6704 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001203/0.544, allocations: 0.6115 MB / 0.671 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.544, allocations: 8.562 kB / 0.671 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.544, allocations: 6.391 kB / 0.671 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.5441, allocations: 8.469 kB / 0.671 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.5445, allocations: 130.9 kB / 0.6712 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.5445, allocations: 10.45 kB / 0.6712 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008505/0.5454, allocations: 110 kB / 0.6713 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/0.5455, allocations: 33.39 kB / 0.6713 GB, free: 13.94 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003964/0.5459, allocations: 276.5 kB / 0.6716 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.5461, allocations: 98.42 kB / 0.6717 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.5471, allocations: 487.1 kB / 0.6721 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.5472, allocations: 8.406 kB / 0.6721 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5472, allocations: 1.281 kB / 0.6721 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007615/0.5479, allocations: 458.9 kB / 0.6726 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.5503, allocations: 1.359 MB / 0.6739 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5503, allocations: 2.766 kB / 0.6739 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.5507, allocations: 73.67 kB / 0.674 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.5507, allocations: 6.719 kB / 0.674 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.5507, allocations: 13.59 kB / 0.674 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.5507, allocations: 3.641 kB / 0.674 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5508, allocations: 1.344 kB / 0.674 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.5522, allocations: 0.7614 MB / 0.6748 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.5526, allocations: 226.9 kB / 0.675 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.5528, allocations: 12.47 kB / 0.675 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/0.5535, allocations: 55.75 kB / 0.675 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.5536, allocations: 26.61 kB / 0.6751 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/0.5536, allocations: 17.73 kB / 0.6751 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001349/0.555, allocations: 0.6481 MB / 0.6757 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.61e-07/0.555, allocations: 1.938 kB / 0.6757 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001183/0.5562, allocations: 333.6 kB / 0.676 GB, free: 11.51 MB / 0.5137 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 (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.0009458/0.5571, allocations: 385.4 kB / 0.6764 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009453/0.5581, allocations: 418.6 kB / 0.6768 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5581, allocations: 0 / 0.6768 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004562/0.5586, allocations: 194.8 kB / 0.677 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/0.5617, allocations: 0.604 MB / 0.6776 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.5648, allocations: 1.934 MB / 0.6795 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/0.5656, allocations: 1.039 MB / 0.6805 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009541/0.5665, allocations: 189.2 kB / 0.6807 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.5667, allocations: 80.17 kB / 0.6807 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.5667, allocations: 0 / 0.6807 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of Templates: time 0.03951/0.6063, allocations: 20.42 MB / 0.7007 GB, free: 15.95 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (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)