Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009567, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001045/0.001045, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001812/0.001812, allocations: 282.2 kB / 291.4 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9384/0.9384, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004127, allocations: 16.55 kB / 0.598 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1336, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.4558/0.5894, allocations: 195.1 MB / 0.875 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009244/0.5987, allocations: 6.622 MB / 0.8815 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009797/0.5997, allocations: 34.62 kB / 0.8815 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.6011, allocations: 0.4974 MB / 0.882 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004424/0.6055, allocations: 1.806 MB / 0.8838 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.6078, allocations: 0.9109 MB / 0.8847 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003348/0.6112, allocations: 3.2 MB / 0.8878 GB, free: 96 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.6124, allocations: 0.7951 MB / 0.8886 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.6155, allocations: 1.521 MB / 0.8901 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.6168, allocations: 0.8637 MB / 0.8909 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.617, allocations: 44 kB / 0.891 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.6201, allocations: 1.544 MB / 0.8925 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004051/0.6206, allocations: 350.7 kB / 0.8928 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.6209, allocations: 269.1 kB / 0.8931 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.623, allocations: 1.715 MB / 0.8947 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.623, allocations: 0 / 0.8947 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.623, allocations: 0 / 0.8947 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.623, allocations: 0 / 0.8947 GB, free: 8.973 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003825/0.6269, allocations: 1.615 MB / 0.8963 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.6269, allocations: 12.03 kB / 0.8963 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.6299, allocations: 0.5838 MB / 0.8969 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.6316, allocations: 0.9259 MB / 0.8978 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005785/0.6322, allocations: 193.9 kB / 0.898 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.6323, allocations: 87.98 kB / 0.8981 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.635, allocations: 1.268 MB / 0.8993 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.635, allocations: 0 / 0.8993 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.6351, allocations: 32 kB / 0.8993 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.398e-05/0.6352, allocations: 45.98 kB / 0.8994 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/0.6389, allocations: 1.612 MB / 0.9009 GB, free: 2.492 MB / 0.6075 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.005995/0.6449, allocations: 4.094 MB / 0.9049 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/0.6473, allocations: 1.037 MB / 0.906 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.6487, allocations: 0.6917 MB / 0.9066 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.6498, allocations: 0.6399 MB / 0.9073 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.6499, allocations: 47.22 kB / 0.9073 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.435e-06/0.6499, allocations: 0 / 0.9073 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.004701/0.6546, allocations: 1.914 MB / 0.9092 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.6547, allocations: 60.06 kB / 0.9092 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.6557, allocations: 0.8115 MB / 0.91 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.617e-05/0.6558, allocations: 45.7 kB / 0.9101 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.6561, allocations: 444.4 kB / 0.9105 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.6564, allocations: 268.1 kB / 0.9107 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.6564, allocations: 12 kB / 0.9108 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6566, allocations: 334 kB / 0.9111 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.658, allocations: 0.5602 MB / 0.9116 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.6594, allocations: 0.6785 MB / 0.9123 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.6608, allocations: 0.6099 MB / 0.9129 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.6609, allocations: 8 kB / 0.9129 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003172/0.664, allocations: 1.4 MB / 0.9143 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.436e-05/0.6642, allocations: 147.9 kB / 0.9144 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.6642, allocations: 0 / 0.9144 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6642, allocations: 12.77 kB / 0.9144 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.6657, allocations: 275.7 kB / 0.9147 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006525/0.6663, allocations: 1.191 MB / 0.9158 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.6674, allocations: 191.5 kB / 0.916 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.66e-05/0.6675, allocations: 35.97 kB / 0.916 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.6676, allocations: 14.14 kB / 0.9161 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003086/0.6707, allocations: 1.298 MB / 0.9173 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.6707, allocations: 0 / 0.9173 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.6707, allocations: 8 kB / 0.9173 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.6718, allocations: 251.7 kB / 0.9176 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.6719, allocations: 4 kB / 0.9176 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009923/0.6729, allocations: 195.1 kB / 0.9178 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.807e-05/0.6729, allocations: 35.97 kB / 0.9178 GB, free: 0.625 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004837/0.6734, allocations: 368.9 kB / 0.9182 GB, free: 260 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.6736, allocations: 106.7 kB / 0.9183 GB, free: 152 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003387/0.677, allocations: 1.437 MB / 0.9197 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.677, allocations: 8 kB / 0.9197 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.677, allocations: 0 / 0.9197 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.6771, allocations: 7.984 kB / 0.9197 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005298/0.6824, allocations: 2.929 MB / 0.9225 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.6824, allocations: 4 kB / 0.9225 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.6836, allocations: 251.7 kB / 0.9228 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.6837, allocations: 8 kB / 0.9228 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/0.6837, allocations: 23.97 kB / 0.9228 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00054/0.6843, allocations: 1.192 MB / 0.924 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.6843, allocations: 11.94 kB / 0.924 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/0.6874, allocations: 1.529 MB / 0.9255 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.6878, allocations: 311.6 kB / 0.9258 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.688, allocations: 23.98 kB / 0.9258 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.6891, allocations: 159.7 kB / 0.9259 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.6892, allocations: 64.38 kB / 0.926 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/0.6893, allocations: 31.97 kB / 0.926 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007094/0.69, allocations: 0.57 MB / 0.9266 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.69, allocations: 0 / 0.9266 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001269/0.6913, allocations: 0.5302 MB / 0.9271 GB, free: 6.828 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000537/0.6919, allocations: 270.9 kB / 0.9274 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004869/0.6967, allocations: 2.127 MB / 0.9295 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6968, allocations: 0 / 0.9295 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00163/0.6984, allocations: 0.7027 MB / 0.9301 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.7007, allocations: 0.5274 MB / 0.9307 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.7048, allocations: 2.481 MB / 0.9331 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.7055, allocations: 1.098 MB / 0.9341 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001567/0.707, allocations: 391.5 kB / 0.9345 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.7074, allocations: 87.41 kB / 0.9346 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.7074, allocations: 4 kB / 0.9346 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.02963/0.737, allocations: 19.66 MB / 0.9538 GB, free: 11.68 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)