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.001101/0.001101, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.995/0.995, allocations: 143 MB / 433.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 64.05 kB / 0.5142 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1953, allocations: 82.04 MB / 0.5943 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3093/0.5046, allocations: 41.56 MB / 0.6349 GB, free: 19.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01212/0.5168, allocations: 10.41 MB / 0.645 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.5188, allocations: 57.69 kB / 0.6451 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.5205, allocations: 0.6402 MB / 0.6457 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00662/0.5271, allocations: 1.885 MB / 0.6475 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003441/0.5306, allocations: 1.18 MB / 0.6487 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003904/0.5345, allocations: 3.386 MB / 0.652 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.536, allocations: 1.061 MB / 0.653 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.5385, allocations: 1.231 MB / 0.6542 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.54, allocations: 0.8873 MB / 0.6551 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003009/0.5403, allocations: 100.6 kB / 0.6552 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.5427, allocations: 0.8551 MB / 0.656 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004103/0.5431, allocations: 277.6 kB / 0.6563 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.5444, allocations: 0.6285 MB / 0.6569 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005157/0.5496, allocations: 2.005 MB / 0.6589 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5496, allocations: 1.156 kB / 0.6589 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5496, allocations: 0 / 0.6589 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.942e-05/0.5497, allocations: 0 / 0.6589 GB, free: 5.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.004546/0.5543, allocations: 1.51 MB / 0.6603 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.5543, allocations: 13.19 kB / 0.6604 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007801/0.5551, allocations: 134.7 kB / 0.6605 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.5579, allocations: 1.056 MB / 0.6615 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.5579, allocations: 55.72 kB / 0.6616 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.5581, allocations: 68.03 kB / 0.6616 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.5595, allocations: 0.797 MB / 0.6624 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.5596, allocations: 1.062 kB / 0.6624 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.5596, allocations: 31.78 kB / 0.6624 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.5597, allocations: 19.08 kB / 0.6625 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.5609, allocations: 0.5744 MB / 0.663 GB, free: 3.074 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.004344/0.5652, allocations: 3.571 MB / 0.6665 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005663/0.5658, allocations: 268.3 kB / 0.6668 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.5662, allocations: 175.6 kB / 0.6669 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005095/0.5667, allocations: 0.6553 MB / 0.6676 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.5667, allocations: 42.12 kB / 0.6676 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.5668, allocations: 0 / 0.6676 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31): time 0.001322/0.5681, allocations: 0.5158 MB / 0.6681 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.5681, allocations: 54.78 kB / 0.6682 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.5695, allocations: 0.9481 MB / 0.6691 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.5695, allocations: 37.02 kB / 0.6691 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.57, allocations: 0.4885 MB / 0.6696 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.5701, allocations: 114.9 kB / 0.6697 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.5703, allocations: 119 kB / 0.6698 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5704, allocations: 330 kB / 0.6701 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.5708, allocations: 165.8 kB / 0.6703 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.5713, allocations: 350.4 kB / 0.6706 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008729/0.5722, allocations: 0.5085 MB / 0.6711 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.5722, allocations: 2.125 kB / 0.6711 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001271/0.5735, allocations: 0.6127 MB / 0.6717 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.5735, allocations: 9.188 kB / 0.6717 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5735, allocations: 5.719 kB / 0.6717 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.5735, allocations: 7.75 kB / 0.6718 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.574, allocations: 123.1 kB / 0.6719 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.574, allocations: 13 kB / 0.6719 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007558/0.5748, allocations: 88.09 kB / 0.672 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.5749, allocations: 33.89 kB / 0.672 GB, free: 12.95 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.0004345/0.5753, allocations: 279.6 kB / 0.6723 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.5755, allocations: 94.59 kB / 0.6724 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.5766, allocations: 491.5 kB / 0.6728 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.5766, allocations: 4.562 kB / 0.6728 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5766, allocations: 0 / 0.6728 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007824/0.5774, allocations: 450.2 kB / 0.6733 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.5799, allocations: 1.37 MB / 0.6746 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.5799, allocations: 5.422 kB / 0.6746 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.5803, allocations: 78.84 kB / 0.6747 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.5803, allocations: 10.94 kB / 0.6747 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.5804, allocations: 9.562 kB / 0.6747 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/0.5804, allocations: 2.5 kB / 0.6747 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5804, allocations: 2.359 kB / 0.6747 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.5819, allocations: 0.7589 MB / 0.6754 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.5823, allocations: 229.1 kB / 0.6757 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.5825, allocations: 13.88 kB / 0.6757 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005403/0.583, allocations: 31.17 kB / 0.6757 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.5831, allocations: 25.44 kB / 0.6757 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.5831, allocations: 20.14 kB / 0.6757 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009982/0.5842, allocations: 0.6575 MB / 0.6764 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5842, allocations: 1.031 kB / 0.6764 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001154/0.5853, allocations: 335.1 kB / 0.6767 GB, free: 10.52 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.0008199/0.5861, allocations: 406 kB / 0.6771 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.5872, allocations: 447.2 kB / 0.6775 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5873, allocations: 1.156 kB / 0.6775 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.5877, allocations: 194.8 kB / 0.6777 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.5906, allocations: 0.6153 MB / 0.6783 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.5933, allocations: 1.623 MB / 0.6799 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/0.594, allocations: 1.037 MB / 0.6809 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008891/0.5949, allocations: 200.5 kB / 0.6811 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.5951, allocations: 82.2 kB / 0.6812 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of SimCode: time 1.392e-06/0.5951, allocations: 0 / 0.6812 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of Templates: time 0.04025/0.6354, allocations: 21.5 MB / 0.7022 GB, free: 14.6 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)