Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008261/0.0008261, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005376/0.005376, allocations: 169.6 kB / 16.27 MB, free: 6.648 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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005092/0.0005088, allocations: 9.375 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3426, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0414/0.3841, allocations: 40.51 MB / 1.114 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01544/0.3996, allocations: 10.36 MB / 1.124 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.4017, allocations: 47.69 kB / 1.124 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.4034, allocations: 0.5205 MB / 1.124 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005346/0.4088, allocations: 1.749 MB / 1.126 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002846/0.4117, allocations: 1.076 MB / 1.127 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005383/0.4171, allocations: 4.506 MB / 1.132 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.4185, allocations: 0.8503 MB / 1.132 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.4206, allocations: 1.011 MB / 1.133 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.4218, allocations: 0.8748 MB / 1.134 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.422, allocations: 40 kB / 1.134 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.4238, allocations: 0.7637 MB / 1.135 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.4241, allocations: 207.1 kB / 1.135 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006104/0.4247, allocations: 0.5846 MB / 1.136 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.4269, allocations: 1.834 MB / 1.138 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.4269, allocations: 0 / 1.138 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4269, allocations: 8 kB / 1.138 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.427, allocations: 0 / 1.138 GB, free: 6.41 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.002276/0.4292, allocations: 1.293 MB / 1.139 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4293, allocations: 12.03 kB / 1.139 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.4296, allocations: 135.4 kB / 1.139 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.4313, allocations: 1.084 MB / 1.14 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.4313, allocations: 57.94 kB / 1.14 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.4314, allocations: 76 kB / 1.14 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.4329, allocations: 0.7944 MB / 1.141 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.4329, allocations: 4 kB / 1.141 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.562e-05/0.433, allocations: 28 kB / 1.141 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.433, allocations: 23.94 kB / 1.141 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.4342, allocations: 0.5906 MB / 1.142 GB, free: 2.184 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.00407/0.4383, allocations: 3.559 MB / 1.145 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.439, allocations: 270.4 kB / 1.145 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/0.4394, allocations: 189.3 kB / 1.145 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006908/0.4401, allocations: 0.6571 MB / 1.146 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.4402, allocations: 30.56 kB / 1.146 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 3.857e-06/0.4402, allocations: 0 / 1.146 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001434/0.4416, allocations: 0.5553 MB / 1.147 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.4417, allocations: 55.41 kB / 1.147 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.443, allocations: 0.9376 MB / 1.148 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.443, allocations: 33.7 kB / 1.148 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.4434, allocations: 499.7 kB / 1.148 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.4435, allocations: 118.4 kB / 1.148 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.4436, allocations: 45.7 kB / 1.148 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4437, allocations: 333.9 kB / 1.149 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.4441, allocations: 173 kB / 1.149 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.4446, allocations: 366.8 kB / 1.149 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.4455, allocations: 0.5266 MB / 1.15 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.4455, allocations: 4 kB / 1.15 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001159/0.4467, allocations: 0.6405 MB / 1.15 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4467, allocations: 8 kB / 1.15 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.4467, allocations: 4 kB / 1.15 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.4467, allocations: 8 kB / 1.15 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.4472, allocations: 144.2 kB / 1.15 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.4472, allocations: 8 kB / 1.15 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/0.448, allocations: 111.2 kB / 1.151 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.448, allocations: 27.94 kB / 1.151 GB, free: 8.316 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.0003523/0.4484, allocations: 277.5 kB / 1.151 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.4485, allocations: 102.8 kB / 1.151 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.4496, allocations: 0.4998 MB / 1.151 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.4496, allocations: 4 kB / 1.151 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4496, allocations: 4 kB / 1.151 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007602/0.4504, allocations: 477.5 kB / 1.152 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.4525, allocations: 1.374 MB / 1.153 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4525, allocations: 0 / 1.153 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.4529, allocations: 83.83 kB / 1.153 GB, free: 5.398 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.4529, allocations: 0 / 1.153 GB, free: 5.398 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.4529, allocations: 11.98 kB / 1.153 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.4529, allocations: 4 kB / 1.153 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4529, allocations: 3.938 kB / 1.153 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.4543, allocations: 0.7995 MB / 1.154 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.4546, allocations: 251.6 kB / 1.154 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.4547, allocations: 8 kB / 1.154 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.4554, allocations: 55.91 kB / 1.154 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.4554, allocations: 27.91 kB / 1.154 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.4555, allocations: 28.05 kB / 1.154 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008546/0.4563, allocations: 0.6471 MB / 1.155 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4563, allocations: 0 / 1.155 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009885/0.4573, allocations: 335.4 kB / 1.155 GB, free: 3.184 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.0007399/0.4581, allocations: 380.8 kB / 1.156 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009453/0.459, allocations: 432.1 kB / 1.156 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4591, allocations: 0 / 1.156 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.4595, allocations: 209.3 kB / 1.156 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/0.4627, allocations: 0.6021 MB / 1.157 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.4656, allocations: 1.986 MB / 1.159 GB, free: 15.56 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/0.4662, allocations: 1.044 MB / 1.16 GB, free: 14.48 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008916/0.4671, allocations: 195 kB / 1.16 GB, free: 14.29 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.4673, allocations: 87.3 kB / 1.16 GB, free: 14.21 MB / 0.92 GB Notification: Performance of SimCode: time 8.12e-07/0.4673, allocations: 0 / 1.16 GB, free: 14.21 MB / 0.92 GB Notification: Performance of Templates: time 0.03603/0.5033, allocations: 20.21 MB / 1.18 GB, free: 10.25 MB / 0.9356 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)