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.001123/0.001123, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.008865/0.008866, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.647/1.647, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 473.4 MB / 0.7469 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 11.28 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3307, allocations: 162.2 MB / 1.074 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03882/0.3696, allocations: 40.5 MB / 1.114 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01554/0.3852, allocations: 10.36 MB / 1.124 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.3877, allocations: 51.62 kB / 1.124 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.3897, allocations: 0.5205 MB / 1.124 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006056/0.3957, allocations: 1.749 MB / 1.126 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.3989, allocations: 1.081 MB / 1.127 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006119/0.405, allocations: 4.502 MB / 1.132 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.4069, allocations: 0.8581 MB / 1.132 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.4102, allocations: 1.007 MB / 1.133 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.4122, allocations: 0.8709 MB / 1.134 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003322/0.4126, allocations: 40 kB / 1.134 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.4154, allocations: 0.7638 MB / 1.135 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005531/0.416, allocations: 207 kB / 1.135 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.4174, allocations: 0.5807 MB / 1.136 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003721/0.4211, allocations: 1.842 MB / 1.138 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4211, allocations: 4 kB / 1.138 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4212, allocations: 0 / 1.138 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.833e-05/0.4212, allocations: 0 / 1.138 GB, free: 6.32 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.00284/0.4241, allocations: 1.301 MB / 1.139 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.4241, allocations: 8.031 kB / 1.139 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.4245, allocations: 135.4 kB / 1.139 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.4263, allocations: 1.084 MB / 1.14 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.4264, allocations: 65.94 kB / 1.14 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.4265, allocations: 68 kB / 1.14 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.428, allocations: 0.7983 MB / 1.141 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.428, allocations: 4 kB / 1.141 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.058e-05/0.4281, allocations: 28 kB / 1.141 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.4281, allocations: 16 kB / 1.141 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.4293, allocations: 0.5945 MB / 1.142 GB, free: 2.09 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.004158/0.4335, allocations: 3.559 MB / 1.145 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/0.4341, allocations: 270.4 kB / 1.145 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.4345, allocations: 195.3 kB / 1.145 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005515/0.435, allocations: 0.6532 MB / 1.146 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.4351, allocations: 34.56 kB / 1.146 GB, free: 13 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.364e-06/0.4351, allocations: 8 kB / 1.146 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001261/0.4364, allocations: 0.5436 MB / 1.147 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.4364, allocations: 55.41 kB / 1.147 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.4377, allocations: 0.9376 MB / 1.148 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.4377, allocations: 37.7 kB / 1.148 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/0.4382, allocations: 499.7 kB / 1.148 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.4383, allocations: 114.4 kB / 1.148 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/0.4384, allocations: 45.7 kB / 1.148 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4385, allocations: 333.9 kB / 1.149 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.4389, allocations: 173 kB / 1.149 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.4394, allocations: 362.8 kB / 1.149 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008619/0.4403, allocations: 0.5305 MB / 1.15 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4403, allocations: 4 kB / 1.15 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001146/0.4414, allocations: 0.6366 MB / 1.15 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.4415, allocations: 8 kB / 1.15 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4415, allocations: 4 kB / 1.15 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.4415, allocations: 8 kB / 1.15 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.442, allocations: 144.2 kB / 1.15 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.442, allocations: 12 kB / 1.15 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/0.4427, allocations: 111.2 kB / 1.151 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.4428, allocations: 27.94 kB / 1.151 GB, free: 8.223 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.0003621/0.4431, allocations: 277.6 kB / 1.151 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.4433, allocations: 98.78 kB / 1.151 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.4443, allocations: 0.5005 MB / 1.151 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.4443, allocations: 4 kB / 1.151 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4443, allocations: 0 / 1.151 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007568/0.4451, allocations: 477.5 kB / 1.152 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.4472, allocations: 1.378 MB / 1.153 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.4472, allocations: 0 / 1.153 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.4476, allocations: 87.83 kB / 1.153 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.4476, allocations: 0 / 1.153 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.4476, allocations: 15.98 kB / 1.153 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4476, allocations: 0 / 1.153 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4476, allocations: 4.156 kB / 1.153 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.4489, allocations: 0.7954 MB / 1.154 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.4493, allocations: 251.6 kB / 1.154 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.4494, allocations: 8 kB / 1.154 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/0.45, allocations: 56.67 kB / 1.154 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.4501, allocations: 27.95 kB / 1.154 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.4501, allocations: 19.98 kB / 1.154 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008751/0.451, allocations: 0.6471 MB / 1.155 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.91e-07/0.451, allocations: 4 kB / 1.155 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009954/0.452, allocations: 335.4 kB / 1.155 GB, free: 3.094 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.0008538/0.4529, allocations: 380.6 kB / 1.156 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.4539, allocations: 436.8 kB / 1.156 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4539, allocations: 4 kB / 1.156 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004062/0.4543, allocations: 200.4 kB / 1.156 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/0.4576, allocations: 0.608 MB / 1.157 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.4604, allocations: 1.983 MB / 1.159 GB, free: 15.47 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/0.461, allocations: 1.048 MB / 1.16 GB, free: 14.39 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000841/0.4619, allocations: 199.5 kB / 1.16 GB, free: 14.2 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.4621, allocations: 79.36 kB / 1.16 GB, free: 14.12 MB / 0.92 GB Notification: Performance of SimCode: time 6.01e-07/0.4621, allocations: 0 / 1.16 GB, free: 14.12 MB / 0.92 GB Notification: Performance of Templates: time 0.03776/0.4999, allocations: 20.2 MB / 1.18 GB, free: 10.16 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)