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.0009932/0.0009931, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009848/0.0009847, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.34 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 1.049/1.049, allocations: 143.2 MB / 435.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003705, allocations: 12 kB / 0.517 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1715, allocations: 83.41 MB / 0.5985 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.355/0.5265, allocations: 40.48 MB / 0.638 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01236/0.5389, allocations: 10.34 MB / 0.6481 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.541, allocations: 45.75 kB / 0.6482 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.5425, allocations: 0.5288 MB / 0.6487 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004882/0.5474, allocations: 1.742 MB / 0.6504 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.5502, allocations: 1.073 MB / 0.6514 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004993/0.5552, allocations: 4.524 MB / 0.6559 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.5565, allocations: 0.8482 MB / 0.6567 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.5586, allocations: 1.018 MB / 0.6577 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.5603, allocations: 0.8587 MB / 0.6585 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.5604, allocations: 36.5 kB / 0.6586 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.5625, allocations: 0.7745 MB / 0.6593 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.5628, allocations: 212.7 kB / 0.6595 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007881/0.5636, allocations: 0.5741 MB / 0.6601 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.5655, allocations: 1.52 MB / 0.6616 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5655, allocations: 0 / 0.6616 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5655, allocations: 0 / 0.6616 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.371e-05/0.5655, allocations: 0 / 0.6616 GB, free: 6.23 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.002349/0.5679, allocations: 1.307 MB / 0.6628 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5679, allocations: 8.844 kB / 0.6628 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.5683, allocations: 143.8 kB / 0.663 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.5699, allocations: 1.082 MB / 0.664 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/0.5699, allocations: 55.97 kB / 0.6641 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.5701, allocations: 67.31 kB / 0.6642 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.5716, allocations: 0.8029 MB / 0.6649 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.5716, allocations: 1.125 kB / 0.6649 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/0.5717, allocations: 31.06 kB / 0.665 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.789e-05/0.5717, allocations: 27.67 kB / 0.665 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.5729, allocations: 0.5891 MB / 0.6656 GB, free: 3.945 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.004093/0.577, allocations: 3.56 MB / 0.6691 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005744/0.5776, allocations: 279.6 kB / 0.6693 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.578, allocations: 183.6 kB / 0.6695 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000373/0.5784, allocations: 0.6593 MB / 0.6701 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.5784, allocations: 37.25 kB / 0.6702 GB, free: 392 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/0.5784, allocations: 0 / 0.6702 GB, free: 392 kB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001304/0.5797, allocations: 0.5478 MB / 0.6707 GB, free: 184 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.5798, allocations: 58.38 kB / 0.6708 GB, free: 116 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.5811, allocations: 0.9299 MB / 0.6717 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.5812, allocations: 31.95 kB / 0.6717 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/0.5816, allocations: 0.4924 MB / 0.6722 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.5817, allocations: 111.9 kB / 0.6723 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.5818, allocations: 48.48 kB / 0.6723 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.582, allocations: 330.5 kB / 0.6726 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.5824, allocations: 178.8 kB / 0.6728 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.5829, allocations: 364.4 kB / 0.6732 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009132/0.5838, allocations: 0.5327 MB / 0.6737 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.5839, allocations: 1.031 kB / 0.6737 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001324/0.5852, allocations: 0.6317 MB / 0.6743 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.5852, allocations: 12.06 kB / 0.6743 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.5852, allocations: 4.719 kB / 0.6743 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.5853, allocations: 12.03 kB / 0.6743 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.5857, allocations: 131.5 kB / 0.6745 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.5858, allocations: 9.375 kB / 0.6745 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009271/0.5867, allocations: 118.3 kB / 0.6746 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.5868, allocations: 26.27 kB / 0.6746 GB, free: 13.84 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.0004956/0.5873, allocations: 275.9 kB / 0.6749 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.5874, allocations: 104 kB / 0.675 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.5885, allocations: 0.4986 MB / 0.6755 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5885, allocations: 4.922 kB / 0.6755 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5886, allocations: 1.031 kB / 0.6755 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007979/0.5894, allocations: 478.4 kB / 0.6759 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.5919, allocations: 1.383 MB / 0.6773 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5919, allocations: 2.766 kB / 0.6773 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.5923, allocations: 87.14 kB / 0.6774 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.5923, allocations: 6 kB / 0.6774 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.5923, allocations: 9.422 kB / 0.6774 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.5923, allocations: 3.859 kB / 0.6774 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.5923, allocations: 5.281 kB / 0.6774 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.5938, allocations: 0.7983 MB / 0.6782 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/0.5943, allocations: 247 kB / 0.6784 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.5944, allocations: 8.141 kB / 0.6784 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005941/0.595, allocations: 65.02 kB / 0.6785 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.5951, allocations: 34.41 kB / 0.6785 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.5952, allocations: 16.52 kB / 0.6785 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009471/0.5961, allocations: 0.6527 MB / 0.6791 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5962, allocations: 0 / 0.6791 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001163/0.5973, allocations: 331.7 kB / 0.6795 GB, free: 11.37 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.000846/0.5982, allocations: 384.2 kB / 0.6798 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.5992, allocations: 440 kB / 0.6802 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5992, allocations: 1.75 kB / 0.6803 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004152/0.5997, allocations: 202.9 kB / 0.6804 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/0.6031, allocations: 0.5994 MB / 0.681 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.6062, allocations: 2.026 MB / 0.683 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007535/0.607, allocations: 1.034 MB / 0.684 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.6073, allocations: 84.44 kB / 0.6841 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of SimCode: time 7.82e-07/0.6073, allocations: 0 / 0.6841 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of Templates: time 0.03487/0.6421, allocations: 17.95 MB / 0.7016 GB, free: 1.84 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)