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.001543/0.00155, allocations: 106.8 kB / 15.99 MB, free: 6.363 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.001604/0.001605, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.8284/0.8284, allocations: 143.1 MB / 433.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 59.91 kB / 0.5143 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3861, allocations: 82.02 MB / 0.5944 GB, free: 16.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0334/0.4195, allocations: 41.26 MB / 0.6347 GB, free: 7.062 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.4339, allocations: 10.34 MB / 0.6448 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/0.4366, allocations: 55.69 kB / 0.6449 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.4386, allocations: 0.5518 MB / 0.6454 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005016/0.4436, allocations: 1.764 MB / 0.6471 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.4468, allocations: 1.089 MB / 0.6482 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004688/0.4515, allocations: 3.422 MB / 0.6515 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.4529, allocations: 1.042 MB / 0.6525 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/0.4559, allocations: 1.26 MB / 0.6538 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.457, allocations: 0.91 MB / 0.6547 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.4572, allocations: 100 kB / 0.6548 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.4592, allocations: 0.8771 MB / 0.6556 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.4595, allocations: 271 kB / 0.6559 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006342/0.4601, allocations: 0.6376 MB / 0.6565 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.462, allocations: 1.575 MB / 0.658 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.462, allocations: 0 / 0.658 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.462, allocations: 3.938 kB / 0.658 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.4621, allocations: 0 / 0.658 GB, free: 15.12 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.002377/0.4644, allocations: 1.523 MB / 0.6595 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4645, allocations: 8.031 kB / 0.6595 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.4648, allocations: 131.4 kB / 0.6597 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.4663, allocations: 1.088 MB / 0.6607 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.4664, allocations: 50 kB / 0.6608 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.903e-05/0.4665, allocations: 76 kB / 0.6608 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.4678, allocations: 0.7827 MB / 0.6616 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.4678, allocations: 8 kB / 0.6616 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.74e-05/0.4679, allocations: 32 kB / 0.6616 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.4679, allocations: 16 kB / 0.6617 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.469, allocations: 0.5711 MB / 0.6622 GB, free: 10.71 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.003718/0.4727, allocations: 3.548 MB / 0.6657 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.4733, allocations: 262.4 kB / 0.6659 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.4736, allocations: 177.3 kB / 0.6661 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004758/0.4741, allocations: 0.6532 MB / 0.6667 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.4741, allocations: 38.55 kB / 0.6668 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/0.4741, allocations: 7.938 kB / 0.6668 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001107/0.4752, allocations: 0.5126 MB / 0.6673 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.4753, allocations: 55.41 kB / 0.6673 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.4763, allocations: 0.9339 MB / 0.6683 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.4764, allocations: 33.7 kB / 0.6683 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.4767, allocations: 0.4956 MB / 0.6688 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.971e-05/0.4768, allocations: 114.4 kB / 0.6689 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.477, allocations: 118 kB / 0.669 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4771, allocations: 325.9 kB / 0.6693 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.4775, allocations: 165 kB / 0.6695 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.4779, allocations: 354.9 kB / 0.6698 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007504/0.4787, allocations: 0.5032 MB / 0.6703 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4787, allocations: 0 / 0.6703 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001022/0.4797, allocations: 0.6053 MB / 0.6709 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.4798, allocations: 12.67 kB / 0.6709 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4798, allocations: 4 kB / 0.6709 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4798, allocations: 16 kB / 0.6709 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.4802, allocations: 127.8 kB / 0.671 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.4803, allocations: 8 kB / 0.671 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007128/0.481, allocations: 115.1 kB / 0.6712 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.481, allocations: 28 kB / 0.6712 GB, free: 0.9219 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003344/0.4814, allocations: 281.5 kB / 0.6714 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.4815, allocations: 94.88 kB / 0.6715 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009032/0.4824, allocations: 499.8 kB / 0.672 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.4825, allocations: 4 kB / 0.672 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4825, allocations: 0 / 0.672 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006807/0.4831, allocations: 453.5 kB / 0.6724 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.4851, allocations: 1.366 MB / 0.6738 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4851, allocations: 4 kB / 0.6738 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.4854, allocations: 75.89 kB / 0.6739 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4854, allocations: 3.938 kB / 0.6739 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.4855, allocations: 12 kB / 0.6739 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.4855, allocations: 0 / 0.6739 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4855, allocations: 4 kB / 0.6739 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.4867, allocations: 0.7623 MB / 0.6746 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.487, allocations: 227.7 kB / 0.6748 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.4871, allocations: 8 kB / 0.6748 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005358/0.4876, allocations: 55.86 kB / 0.6749 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.4877, allocations: 31.89 kB / 0.6749 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.4878, allocations: 19.98 kB / 0.6749 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007228/0.4885, allocations: 0.6471 MB / 0.6756 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4885, allocations: 0 / 0.6756 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009184/0.4894, allocations: 323.5 kB / 0.6759 GB, free: 11.92 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.0007924/0.4902, allocations: 397.9 kB / 0.6763 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000893/0.4911, allocations: 447.7 kB / 0.6767 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4911, allocations: 1.375 kB / 0.6767 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.4915, allocations: 188.1 kB / 0.6769 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.4939, allocations: 0.6083 MB / 0.6775 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.4964, allocations: 1.974 MB / 0.6794 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.4969, allocations: 1.032 MB / 0.6804 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.4971, allocations: 87.41 kB / 0.6805 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.4971, allocations: 0 / 0.6805 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of Templates: time 0.02552/0.5227, allocations: 18.05 MB / 0.6981 GB, free: 5.32 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)