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.001509/0.001509, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.00146/0.00146, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.8724/0.8724, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 59.91 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3509, allocations: 82.03 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03611/0.3871, allocations: 41.57 MB / 0.6363 GB, free: 6.504 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01447/0.4016, allocations: 10.41 MB / 0.6464 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.4032, allocations: 59.62 kB / 0.6465 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.4049, allocations: 0.6404 MB / 0.6471 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004851/0.4097, allocations: 1.881 MB / 0.649 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.4127, allocations: 1.19 MB / 0.6501 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004156/0.4169, allocations: 3.402 MB / 0.6534 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.4183, allocations: 1.052 MB / 0.6545 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/0.4208, allocations: 1.233 MB / 0.6557 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.4219, allocations: 0.8789 MB / 0.6565 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.422, allocations: 104 kB / 0.6566 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.4239, allocations: 0.8617 MB / 0.6575 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.4241, allocations: 282.9 kB / 0.6577 GB, free: 476 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006264/0.4248, allocations: 0.626 MB / 0.6584 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.4273, allocations: 2.023 MB / 0.6603 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4273, allocations: 0 / 0.6603 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4273, allocations: 0 / 0.6603 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.4273, allocations: 0 / 0.6603 GB, free: 13.81 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.002381/0.4297, allocations: 1.522 MB / 0.6618 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.4298, allocations: 8.031 kB / 0.6618 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/0.4301, allocations: 135.4 kB / 0.662 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.432, allocations: 1.111 MB / 0.663 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.4321, allocations: 50 kB / 0.6631 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.4322, allocations: 75.91 kB / 0.6632 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.4336, allocations: 0.7944 MB / 0.6639 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.4336, allocations: 4 kB / 0.6639 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/0.4337, allocations: 28 kB / 0.664 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.4337, allocations: 20 kB / 0.664 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.4349, allocations: 0.5711 MB / 0.6645 GB, free: 9.367 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.004072/0.4389, allocations: 3.544 MB / 0.668 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.4395, allocations: 266.4 kB / 0.6683 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.4399, allocations: 177.3 kB / 0.6684 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005101/0.4404, allocations: 0.657 MB / 0.6691 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.4404, allocations: 46.53 kB / 0.6691 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.4405, allocations: 4 kB / 0.6691 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001229/0.4417, allocations: 0.5132 MB / 0.6696 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.4418, allocations: 59.34 kB / 0.6697 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.443, allocations: 0.9456 MB / 0.6706 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.4431, allocations: 37.7 kB / 0.6706 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.4435, allocations: 0.4917 MB / 0.6711 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.4437, allocations: 106.5 kB / 0.6712 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.4439, allocations: 118 kB / 0.6713 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.444, allocations: 333.9 kB / 0.6717 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.4443, allocations: 165 kB / 0.6718 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.4448, allocations: 350.9 kB / 0.6721 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008234/0.4457, allocations: 0.5071 MB / 0.6726 GB, free: 484 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.4457, allocations: 4 kB / 0.6726 GB, free: 480 kB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001128/0.4468, allocations: 0.606 MB / 0.6732 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4468, allocations: 8 kB / 0.6732 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.4469, allocations: 8 kB / 0.6732 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.4469, allocations: 8 kB / 0.6733 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/0.4473, allocations: 127.8 kB / 0.6734 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.4473, allocations: 11.98 kB / 0.6734 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/0.4479, allocations: 83.19 kB / 0.6735 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.448, allocations: 24 kB / 0.6735 GB, free: 15.59 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.0003462/0.4483, allocations: 285.5 kB / 0.6738 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.4485, allocations: 98.78 kB / 0.6739 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009716/0.4495, allocations: 489.4 kB / 0.6743 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.4495, allocations: 7.984 kB / 0.6743 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4495, allocations: 0 / 0.6743 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006954/0.4502, allocations: 450.4 kB / 0.6748 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.4523, allocations: 1.367 MB / 0.6761 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4523, allocations: 0 / 0.6761 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.4527, allocations: 83.88 kB / 0.6762 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.4527, allocations: 3.938 kB / 0.6762 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.4527, allocations: 8 kB / 0.6762 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.4527, allocations: 4 kB / 0.6762 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4528, allocations: 0 / 0.6762 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.454, allocations: 0.7749 MB / 0.6769 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.4544, allocations: 227.7 kB / 0.6772 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.4545, allocations: 8 kB / 0.6772 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/0.455, allocations: 39.97 kB / 0.6772 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.4551, allocations: 24.03 kB / 0.6772 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.4552, allocations: 23.98 kB / 0.6773 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00088/0.4561, allocations: 0.6588 MB / 0.6779 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4561, allocations: 0 / 0.6779 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00103/0.4571, allocations: 331.5 kB / 0.6782 GB, free: 10.58 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.0008061/0.4579, allocations: 404.3 kB / 0.6786 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008806/0.4588, allocations: 416.8 kB / 0.679 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4588, allocations: 0 / 0.679 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.4592, allocations: 192.4 kB / 0.6792 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.4617, allocations: 0.6229 MB / 0.6798 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.4646, allocations: 1.589 MB / 0.6813 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006625/0.4653, allocations: 1.032 MB / 0.6824 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006609/0.4659, allocations: 195.6 kB / 0.6825 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.4661, allocations: 79.42 kB / 0.6826 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/0.4661, allocations: 0 / 0.6826 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of Templates: time 0.03474/0.5009, allocations: 21.47 MB / 0.7036 GB, free: 0.8711 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)