Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001539/0.001539, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.00181/0.00181, allocations: 195.2 kB / 16.25 MB, free: 6.637 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.501/1.501, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.744/2.744, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 66.52 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3389, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03957/0.3785, allocations: 41.26 MB / 1.108 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.3944, allocations: 10.34 MB / 1.118 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.3967, allocations: 55.62 kB / 1.118 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.3987, allocations: 0.5479 MB / 1.119 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005063/0.4038, allocations: 1.766 MB / 1.12 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.4067, allocations: 1.083 MB / 1.121 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004446/0.4111, allocations: 3.418 MB / 1.125 GB, free: 128 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.4127, allocations: 1.052 MB / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.416, allocations: 1.237 MB / 1.127 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.4174, allocations: 0.9217 MB / 1.128 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.4175, allocations: 100 kB / 1.128 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.4195, allocations: 0.8732 MB / 1.129 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.4198, allocations: 279 kB / 1.129 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007409/0.4206, allocations: 0.626 MB / 1.13 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.4233, allocations: 1.916 MB / 1.132 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4233, allocations: 4 kB / 1.132 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4233, allocations: 0 / 1.132 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.4233, allocations: 0 / 1.132 GB, free: 9.09 MB / 0.8887 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.002567/0.4259, allocations: 1.518 MB / 1.133 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.426, allocations: 8.031 kB / 1.133 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003649/0.4263, allocations: 135.4 kB / 1.133 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.4279, allocations: 1.084 MB / 1.134 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.428, allocations: 54 kB / 1.134 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4281, allocations: 72 kB / 1.134 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.4295, allocations: 0.7944 MB / 1.135 GB, free: 5.297 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.4296, allocations: 0 / 1.135 GB, free: 5.297 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.4296, allocations: 28 kB / 1.135 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.4297, allocations: 16 kB / 1.135 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.4308, allocations: 0.575 MB / 1.136 GB, free: 4.676 MB / 0.8887 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.003914/0.4347, allocations: 3.54 MB / 1.139 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.4353, allocations: 266.3 kB / 1.14 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.4356, allocations: 174.8 kB / 1.14 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000563/0.4362, allocations: 0.661 MB / 1.14 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.4362, allocations: 38.55 kB / 1.14 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 1.794e-06/0.4362, allocations: 0 / 1.14 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001199/0.4374, allocations: 0.5124 MB / 1.141 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.4375, allocations: 59.41 kB / 1.141 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.4386, allocations: 0.9339 MB / 1.142 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.4387, allocations: 33.64 kB / 1.142 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.4391, allocations: 0.4918 MB / 1.142 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.4392, allocations: 114.4 kB / 1.142 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.4394, allocations: 122 kB / 1.143 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4395, allocations: 325.9 kB / 1.143 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.4398, allocations: 165 kB / 1.143 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.4403, allocations: 354.8 kB / 1.143 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008623/0.4412, allocations: 0.511 MB / 1.144 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.4412, allocations: 0 / 1.144 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001139/0.4424, allocations: 0.6174 MB / 1.144 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4424, allocations: 11.94 kB / 1.144 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.4424, allocations: 8 kB / 1.144 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.4425, allocations: 8 kB / 1.145 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.4429, allocations: 119.8 kB / 1.145 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.4429, allocations: 15.92 kB / 1.145 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007458/0.4437, allocations: 111.3 kB / 1.145 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.4437, allocations: 24 kB / 1.145 GB, free: 10.89 MB / 0.9044 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.000394/0.4441, allocations: 286.2 kB / 1.145 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.4443, allocations: 94.88 kB / 1.145 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.4453, allocations: 0.4884 MB / 1.146 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.4454, allocations: 4 kB / 1.146 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.4454, allocations: 0 / 1.146 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008111/0.4462, allocations: 453.2 kB / 1.146 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.4482, allocations: 1.346 MB / 1.147 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4483, allocations: 4 kB / 1.147 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.4486, allocations: 79.88 kB / 1.147 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.4486, allocations: 8.094 kB / 1.147 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.4487, allocations: 12 kB / 1.147 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4487, allocations: 0 / 1.147 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4487, allocations: 4 kB / 1.147 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.4501, allocations: 0.7607 MB / 1.148 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003453/0.4504, allocations: 231.6 kB / 1.148 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.4505, allocations: 7.984 kB / 1.148 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005726/0.4511, allocations: 55.98 kB / 1.148 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.4512, allocations: 23.97 kB / 1.149 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.4512, allocations: 27.92 kB / 1.149 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008585/0.4521, allocations: 0.6471 MB / 1.149 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4521, allocations: 0 / 1.149 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001038/0.4532, allocations: 327.5 kB / 1.149 GB, free: 5.887 MB / 0.9044 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.0008016/0.454, allocations: 380.8 kB / 1.15 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009913/0.455, allocations: 455.8 kB / 1.15 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.455, allocations: 0 / 1.15 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.4554, allocations: 185.3 kB / 1.15 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/0.458, allocations: 0.6156 MB / 1.151 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.4609, allocations: 1.938 MB / 1.153 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/0.4616, allocations: 1.04 MB / 1.154 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007567/0.4624, allocations: 200.1 kB / 1.154 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.4626, allocations: 83.42 kB / 1.154 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of SimCode: time 8.02e-07/0.4626, allocations: 0 / 1.154 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of Templates: time 0.03753/0.5001, allocations: 20.74 MB / 1.174 GB, free: 12.49 MB / 0.9356 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)