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.0007291/0.0007291, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0008724/0.0008724, allocations: 172.7 kB / 15.95 MB, free: 208 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.158/1.158, allocations: 223.3 MB / 240 MB, free: 5.328 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.8598/0.8598, allocations: 143.2 MB / 434.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002624, allocations: 8 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1267, allocations: 83.41 MB / 0.5972 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2442/0.371, allocations: 38.3 MB / 0.6346 GB, free: 21.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009121/0.3801, allocations: 9.754 MB / 0.6442 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.3812, allocations: 52.59 kB / 0.6442 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009503/0.3822, allocations: 461.8 kB / 0.6447 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.3847, allocations: 1.471 MB / 0.6461 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.3864, allocations: 0.8606 MB / 0.6469 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002628/0.3891, allocations: 3.855 MB / 0.6507 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006989/0.3898, allocations: 0.7343 MB / 0.6514 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.3909, allocations: 0.988 MB / 0.6524 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006606/0.3915, allocations: 0.8069 MB / 0.6532 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.66e-05/0.3916, allocations: 35.59 kB / 0.6532 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.3927, allocations: 0.4895 MB / 0.6537 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.3929, allocations: 191.1 kB / 0.6539 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.3931, allocations: 264.8 kB / 0.6541 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.3941, allocations: 1.455 MB / 0.6555 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3941, allocations: 3.859 kB / 0.6555 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3941, allocations: 0 / 0.6555 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.3941, allocations: 0.5 kB / 0.6555 GB, free: 9.766 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.001631/0.3958, allocations: 1.315 MB / 0.6568 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.3958, allocations: 8.375 kB / 0.6568 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.3961, allocations: 138.8 kB / 0.657 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.3974, allocations: 1.045 MB / 0.658 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.3974, allocations: 59.36 kB / 0.658 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.141e-05/0.3975, allocations: 72.31 kB / 0.6581 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.3987, allocations: 0.7955 MB / 0.6589 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3987, allocations: 1 kB / 0.6589 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.3988, allocations: 36.3 kB / 0.6589 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.3988, allocations: 22.84 kB / 0.659 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.3998, allocations: 0.5887 MB / 0.6595 GB, free: 7.512 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.003077/0.4029, allocations: 3.544 MB / 0.663 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.4034, allocations: 277.9 kB / 0.6633 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.4037, allocations: 188.2 kB / 0.6634 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/0.4041, allocations: 0.663 MB / 0.6641 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.4041, allocations: 41.61 kB / 0.6641 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.323e-06/0.4041, allocations: 0 / 0.6641 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.000989/0.4051, allocations: 0.5403 MB / 0.6646 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.4051, allocations: 63.41 kB / 0.6647 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000984/0.4061, allocations: 0.9198 MB / 0.6656 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.4061, allocations: 33.05 kB / 0.6656 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.4064, allocations: 499.1 kB / 0.6661 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.77e-05/0.4065, allocations: 117 kB / 0.6662 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.4065, allocations: 9.688 kB / 0.6662 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.4066, allocations: 325.2 kB / 0.6665 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.4069, allocations: 173.6 kB / 0.6667 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.4073, allocations: 361.5 kB / 0.6671 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.4077, allocations: 229.1 kB / 0.6673 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.4077, allocations: 2.219 kB / 0.6673 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009083/0.4086, allocations: 0.6402 MB / 0.6679 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4086, allocations: 7.531 kB / 0.6679 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4086, allocations: 5.719 kB / 0.6679 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.4087, allocations: 8.75 kB / 0.6679 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.4091, allocations: 128.3 kB / 0.668 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.4091, allocations: 14 kB / 0.6681 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/0.4097, allocations: 115.9 kB / 0.6682 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.4097, allocations: 26.75 kB / 0.6682 GB, free: 1.703 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.0002754/0.41, allocations: 279.2 kB / 0.6685 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.4101, allocations: 103.7 kB / 0.6686 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008601/0.411, allocations: 0.4956 MB / 0.669 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.411, allocations: 3.531 kB / 0.669 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.411, allocations: 1.609 kB / 0.669 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006156/0.4116, allocations: 470.1 kB / 0.6695 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.4134, allocations: 1.386 MB / 0.6709 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4134, allocations: 5.406 kB / 0.6709 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.4137, allocations: 78.45 kB / 0.6709 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4137, allocations: 3.688 kB / 0.6709 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.4137, allocations: 8.484 kB / 0.6709 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4137, allocations: 3.547 kB / 0.6709 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4137, allocations: 1.281 kB / 0.6709 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.4149, allocations: 0.8032 MB / 0.6717 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.4152, allocations: 250.3 kB / 0.672 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.4153, allocations: 8.734 kB / 0.672 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/0.4158, allocations: 53.27 kB / 0.672 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.4158, allocations: 28.75 kB / 0.6721 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.4159, allocations: 23.61 kB / 0.6721 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007987/0.4167, allocations: 0.638 MB / 0.6727 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4167, allocations: 1.031 kB / 0.6727 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008836/0.4176, allocations: 336.2 kB / 0.673 GB, free: 15.23 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 (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.0005884/0.4182, allocations: 366.2 kB / 0.6734 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007754/0.419, allocations: 440 kB / 0.6738 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.419, allocations: 5.062 kB / 0.6738 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.4193, allocations: 194.5 kB / 0.674 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.4217, allocations: 0.5937 MB / 0.6746 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.4244, allocations: 1.965 MB / 0.6765 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.425, allocations: 1.038 MB / 0.6775 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007738/0.4257, allocations: 199.8 kB / 0.6777 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.4259, allocations: 78.86 kB / 0.6778 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of SimCode: time 6.72e-07/0.4259, allocations: 4 kB / 0.6778 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of Templates: time 0.03133/0.4573, allocations: 19.76 MB / 0.6971 GB, free: 5.328 MB / 0.5137 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)