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.001461/0.001461, allocations: 108 kB / 15.61 MB, free: 152 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.001808/0.001808, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.53 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3266, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03881/0.3654, allocations: 41.6 MB / 1.109 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01574/0.3812, allocations: 10.41 MB / 1.119 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.3833, allocations: 59.62 kB / 1.119 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.3851, allocations: 0.6365 MB / 1.12 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00512/0.3903, allocations: 1.877 MB / 1.121 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.3934, allocations: 1.185 MB / 1.123 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005333/0.3987, allocations: 3.387 MB / 1.126 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.4006, allocations: 1.06 MB / 1.127 GB, free: 14 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003483/0.4041, allocations: 1.235 MB / 1.128 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.4054, allocations: 0.8711 MB / 1.129 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.4056, allocations: 100 kB / 1.129 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.4076, allocations: 0.8578 MB / 1.13 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.4079, allocations: 287 kB / 1.13 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006512/0.4085, allocations: 0.6298 MB / 1.131 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.411, allocations: 1.897 MB / 1.133 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4111, allocations: 0 / 1.133 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4111, allocations: 0 / 1.133 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.4111, allocations: 4 kB / 1.133 GB, free: 8.113 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.002382/0.4135, allocations: 1.518 MB / 1.134 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4135, allocations: 8.031 kB / 1.134 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/0.4139, allocations: 135.4 kB / 1.134 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.4155, allocations: 1.045 MB / 1.135 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.4156, allocations: 58 kB / 1.135 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.4157, allocations: 75.84 kB / 1.135 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.417, allocations: 0.7905 MB / 1.136 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.417, allocations: 0 / 1.136 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.896e-05/0.4171, allocations: 31.98 kB / 1.136 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.4171, allocations: 20 kB / 1.136 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.4182, allocations: 0.575 MB / 1.137 GB, free: 3.73 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.003989/0.4222, allocations: 3.567 MB / 1.14 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.4229, allocations: 270.3 kB / 1.141 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.4232, allocations: 182.2 kB / 1.141 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/0.4238, allocations: 0.6532 MB / 1.141 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.4238, allocations: 38.56 kB / 1.141 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.4239, allocations: 4 kB / 1.141 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001215/0.4251, allocations: 0.5085 MB / 1.142 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.4251, allocations: 55.41 kB / 1.142 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.4262, allocations: 0.9494 MB / 1.143 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.4263, allocations: 37.7 kB / 1.143 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.4267, allocations: 0.4917 MB / 1.143 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.4268, allocations: 110.4 kB / 1.144 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.4269, allocations: 118 kB / 1.144 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4271, allocations: 329.9 kB / 1.144 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.4275, allocations: 165 kB / 1.144 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/0.428, allocations: 354.9 kB / 1.144 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008127/0.4288, allocations: 0.5032 MB / 1.145 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.4288, allocations: 4 kB / 1.145 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001151/0.43, allocations: 0.6169 MB / 1.146 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.43, allocations: 8.688 kB / 1.146 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.43, allocations: 4 kB / 1.146 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.4301, allocations: 12 kB / 1.146 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.4305, allocations: 123.8 kB / 1.146 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.4305, allocations: 15.92 kB / 1.146 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.4312, allocations: 83.25 kB / 1.146 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/0.4312, allocations: 24 kB / 1.146 GB, free: 9.934 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.0003692/0.4316, allocations: 273.6 kB / 1.146 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.4318, allocations: 106.8 kB / 1.146 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.4328, allocations: 480.4 kB / 1.147 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.4328, allocations: 11.98 kB / 1.147 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4328, allocations: 4.062 kB / 1.147 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000731/0.4336, allocations: 457.2 kB / 1.147 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.4356, allocations: 1.356 MB / 1.148 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.4356, allocations: 4 kB / 1.148 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003438/0.436, allocations: 75.89 kB / 1.148 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.436, allocations: 3.938 kB / 1.148 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.436, allocations: 15.92 kB / 1.149 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.436, allocations: 4.156 kB / 1.149 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4361, allocations: 8 kB / 1.149 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.4373, allocations: 0.7596 MB / 1.149 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.4377, allocations: 235.5 kB / 1.149 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.4378, allocations: 8 kB / 1.149 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005182/0.4383, allocations: 39.94 kB / 1.15 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.4384, allocations: 28.03 kB / 1.15 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.4384, allocations: 15.98 kB / 1.15 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008391/0.4393, allocations: 0.6588 MB / 1.15 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4393, allocations: 0 / 1.15 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009705/0.4403, allocations: 339.4 kB / 1.151 GB, free: 4.914 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.0007345/0.441, allocations: 398.6 kB / 1.151 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009838/0.442, allocations: 456.2 kB / 1.151 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.442, allocations: 0 / 1.151 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.4424, allocations: 188.8 kB / 1.152 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.4451, allocations: 0.6134 MB / 1.152 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.4475, allocations: 1.618 MB / 1.154 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.4481, allocations: 1.04 MB / 1.155 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007454/0.4489, allocations: 199.3 kB / 1.155 GB, free: 388 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.449, allocations: 79.42 kB / 1.155 GB, free: 308 kB / 0.9044 GB Notification: Performance of SimCode: time 8.11e-07/0.449, allocations: 0 / 1.155 GB, free: 308 kB / 0.9044 GB Notification: Performance of Templates: time 0.03448/0.4835, allocations: 21.24 MB / 1.176 GB, free: 11.33 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)