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.0007978/0.0007978, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.006318/0.006318, allocations: 172 kB / 16.26 MB, free: 6.613 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.361/1.361, allocations: 223.3 MB / 240.3 MB, free: 5.371 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.9961/0.9961, allocations: 143.2 MB / 434.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003932, allocations: 12 kB / 0.5164 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 83.4 MB / 0.5978 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3152/0.4882, allocations: 40.49 MB / 0.6374 GB, free: 19.65 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.499, allocations: 10.34 MB / 0.6475 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.5005, allocations: 53 kB / 0.6475 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.5018, allocations: 0.5177 MB / 0.648 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003853/0.5056, allocations: 1.759 MB / 0.6497 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.508, allocations: 1.078 MB / 0.6508 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004031/0.512, allocations: 4.502 MB / 0.6552 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.5131, allocations: 0.8553 MB / 0.656 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.5149, allocations: 1.021 MB / 0.657 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.516, allocations: 0.8646 MB / 0.6579 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.5162, allocations: 37.53 kB / 0.6579 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.518, allocations: 0.768 MB / 0.6587 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.5182, allocations: 210.7 kB / 0.6589 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005844/0.5188, allocations: 0.5761 MB / 0.6594 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.521, allocations: 1.922 MB / 0.6613 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.521, allocations: 0 / 0.6613 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5211, allocations: 3.938 kB / 0.6613 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.682e-05/0.5211, allocations: 1.375 kB / 0.6613 GB, free: 6.145 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.002186/0.5233, allocations: 1.306 MB / 0.6626 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.5233, allocations: 14.31 kB / 0.6626 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003795/0.5237, allocations: 133.9 kB / 0.6627 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.5255, allocations: 1.076 MB / 0.6638 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.321e-05/0.5255, allocations: 55.53 kB / 0.6638 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.5256, allocations: 72.06 kB / 0.6639 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.5271, allocations: 0.8029 MB / 0.6647 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.5271, allocations: 1.875 kB / 0.6647 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-05/0.5272, allocations: 30.3 kB / 0.6647 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.5273, allocations: 27.5 kB / 0.6647 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.5284, allocations: 0.5887 MB / 0.6653 GB, free: 3.867 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.003905/0.5323, allocations: 3.564 MB / 0.6688 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.5329, allocations: 273.9 kB / 0.669 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.5333, allocations: 190.9 kB / 0.6692 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000351/0.5336, allocations: 0.6552 MB / 0.6699 GB, free: 356 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.5337, allocations: 38.08 kB / 0.6699 GB, free: 312 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.953e-06/0.5337, allocations: 3.938 kB / 0.6699 GB, free: 308 kB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001246/0.5349, allocations: 0.5427 MB / 0.6704 GB, free: 104 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.535, allocations: 54.88 kB / 0.6705 GB, free: 40 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.5363, allocations: 0.9336 MB / 0.6714 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.5363, allocations: 31.73 kB / 0.6714 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/0.5368, allocations: 0.4891 MB / 0.6719 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.5369, allocations: 115.9 kB / 0.672 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.537, allocations: 53.45 kB / 0.6721 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5371, allocations: 332.8 kB / 0.6724 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.5375, allocations: 175.2 kB / 0.6726 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.5381, allocations: 364.5 kB / 0.6729 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009156/0.539, allocations: 0.5319 MB / 0.6734 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.539, allocations: 2.594 kB / 0.6734 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001257/0.5403, allocations: 0.6353 MB / 0.674 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5403, allocations: 6.875 kB / 0.6741 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.5403, allocations: 5.062 kB / 0.6741 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5404, allocations: 7.812 kB / 0.6741 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.5408, allocations: 132 kB / 0.6742 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.5408, allocations: 9.891 kB / 0.6742 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008722/0.5417, allocations: 118.4 kB / 0.6743 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.5418, allocations: 25.62 kB / 0.6743 GB, free: 13.76 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.000456/0.5422, allocations: 284.9 kB / 0.6746 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.5424, allocations: 99.59 kB / 0.6747 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.5435, allocations: 0.4987 MB / 0.6752 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.5435, allocations: 4.062 kB / 0.6752 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5435, allocations: 0 / 0.6752 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007614/0.5443, allocations: 478.2 kB / 0.6757 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.5466, allocations: 1.38 MB / 0.677 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.5466, allocations: 2.5 kB / 0.677 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.547, allocations: 87.11 kB / 0.6771 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.547, allocations: 5.719 kB / 0.6771 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.547, allocations: 9.422 kB / 0.6771 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.547, allocations: 4.125 kB / 0.6771 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.547, allocations: 5.781 kB / 0.6771 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.5485, allocations: 0.79 MB / 0.6779 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.5489, allocations: 251.9 kB / 0.6781 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.5491, allocations: 7.781 kB / 0.6781 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005881/0.5497, allocations: 60.72 kB / 0.6782 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.468e-05/0.5497, allocations: 31.28 kB / 0.6782 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.5498, allocations: 19.98 kB / 0.6782 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009059/0.5507, allocations: 0.6478 MB / 0.6789 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5507, allocations: 0 / 0.6789 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001024/0.5517, allocations: 328.5 kB / 0.6792 GB, free: 11.3 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.0007104/0.5525, allocations: 400.3 kB / 0.6796 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009832/0.5534, allocations: 444.1 kB / 0.68 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5535, allocations: 0 / 0.68 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.5539, allocations: 193.3 kB / 0.6802 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/0.5569, allocations: 0.5988 MB / 0.6808 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.5595, allocations: 1.994 MB / 0.6827 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.5602, allocations: 1.032 MB / 0.6837 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008155/0.561, allocations: 197.6 kB / 0.6839 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.5612, allocations: 85.53 kB / 0.684 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.5612, allocations: 0 / 0.684 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.03617/0.5974, allocations: 20.45 MB / 0.7039 GB, free: 15.12 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)