Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 105.4 kB / 15.7 MB, free: 24 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.001163/0.001163, allocations: 196.1 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.935/1.935, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 72.64 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2134, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.6534/0.8668, allocations: 214.2 MB / 0.9933 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.8787, allocations: 6.947 MB / 1 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.881, allocations: 46.97 kB / 1 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.8834, allocations: 0.7847 MB / 1.001 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007684/0.8911, allocations: 2.499 MB / 1.003 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.8943, allocations: 1.182 MB / 1.005 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003908/0.8982, allocations: 2.78 MB / 1.007 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.8996, allocations: 1.101 MB / 1.008 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004274/0.9039, allocations: 1.986 MB / 1.01 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.9058, allocations: 0.9299 MB / 1.011 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.906, allocations: 115.8 kB / 1.011 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004555/0.9106, allocations: 2.448 MB / 1.014 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004269/0.911, allocations: 424.4 kB / 1.014 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007827/0.9118, allocations: 0.6951 MB / 1.015 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003741/0.9156, allocations: 2.492 MB / 1.017 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9156, allocations: 7.938 kB / 1.017 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.036e-06/0.9156, allocations: 3.984 kB / 1.017 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.9156, allocations: 0 / 1.017 GB, free: 15.25 MB / 0.7481 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.00454/0.9202, allocations: 1.841 MB / 1.019 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.9202, allocations: 9.812 kB / 1.019 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/0.9233, allocations: 0.5393 MB / 1.02 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.9251, allocations: 1.004 MB / 1.021 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.9252, allocations: 66.62 kB / 1.021 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.9253, allocations: 83.66 kB / 1.021 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.9279, allocations: 1.226 MB / 1.022 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.9279, allocations: 3.984 kB / 1.022 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.928, allocations: 34.53 kB / 1.022 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/0.9281, allocations: 47.8 kB / 1.022 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/0.9315, allocations: 1.524 MB / 1.023 GB, free: 11.36 MB / 0.7481 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.006154/0.9377, allocations: 4.042 MB / 1.027 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.94, allocations: 0.9765 MB / 1.028 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.9415, allocations: 0.6503 MB / 1.029 GB, free: 7.293 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.9425, allocations: 0.611 MB / 1.03 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.9426, allocations: 51 kB / 1.03 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.314e-06/0.9426, allocations: 0 / 1.03 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.004641/0.9472, allocations: 1.778 MB / 1.031 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.9473, allocations: 62.73 kB / 1.031 GB, free: 5.703 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009955/0.9483, allocations: 0.821 MB / 1.032 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.818e-05/0.9484, allocations: 46.61 kB / 1.032 GB, free: 5.18 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.9487, allocations: 445.4 kB / 1.033 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.949, allocations: 256.4 kB / 1.033 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.9492, allocations: 152.9 kB / 1.033 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.9494, allocations: 337.4 kB / 1.033 GB, free: 4.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.9507, allocations: 0.5323 MB / 1.034 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.9522, allocations: 0.6597 MB / 1.035 GB, free: 3.508 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/0.9548, allocations: 1.127 MB / 1.036 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9548, allocations: 0 / 1.036 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003165/0.958, allocations: 1.343 MB / 1.037 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.958, allocations: 37.77 kB / 1.037 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.958, allocations: 1.125 kB / 1.037 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.9581, allocations: 4 kB / 1.037 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.9595, allocations: 261.8 kB / 1.037 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006926/0.9602, allocations: 1.199 MB / 1.038 GB, free: 240 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.9613, allocations: 147.3 kB / 1.039 GB, free: 92 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-05/0.9614, allocations: 31.98 kB / 1.039 GB, free: 60 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00165/0.963, allocations: 0.7556 MB / 1.039 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001442/0.9645, allocations: 0.652 MB / 1.04 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002666/0.9672, allocations: 1.123 MB / 1.041 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.9672, allocations: 0 / 1.041 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003144/0.9703, allocations: 1.337 MB / 1.042 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.9704, allocations: 37.64 kB / 1.042 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.9704, allocations: 4 kB / 1.042 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.9704, allocations: 4 kB / 1.042 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.9715, allocations: 228.1 kB / 1.043 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.9716, allocations: 4 kB / 1.043 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.9726, allocations: 139.3 kB / 1.043 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-05/0.9727, allocations: 35.97 kB / 1.043 GB, free: 11.66 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002718/0.973, allocations: 227.1 kB / 1.043 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.9731, allocations: 106.7 kB / 1.043 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.9765, allocations: 1.34 MB / 1.044 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.9765, allocations: 8 kB / 1.044 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.9765, allocations: 0 / 1.044 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.9765, allocations: 3.984 kB / 1.044 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00519/0.9817, allocations: 2.837 MB / 1.047 GB, free: 7.051 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.9818, allocations: 4.031 kB / 1.047 GB, free: 7.047 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.9829, allocations: 231.6 kB / 1.047 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.9829, allocations: 8 kB / 1.047 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/0.983, allocations: 23.98 kB / 1.047 GB, free: 6.789 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005643/0.9836, allocations: 1.192 MB / 1.049 GB, free: 5.551 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.9836, allocations: 7.938 kB / 1.049 GB, free: 5.543 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/0.9867, allocations: 1.447 MB / 1.05 GB, free: 4.035 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000454/0.9872, allocations: 311.5 kB / 1.05 GB, free: 3.711 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.9873, allocations: 20 kB / 1.05 GB, free: 3.691 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.9883, allocations: 107.8 kB / 1.05 GB, free: 3.586 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.9885, allocations: 60.44 kB / 1.051 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.9886, allocations: 35.97 kB / 1.051 GB, free: 3.492 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000686/0.9893, allocations: 0.5699 MB / 1.051 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9893, allocations: 4 kB / 1.051 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001432/0.9907, allocations: 0.5302 MB / 1.052 GB, free: 2.375 MB / 0.7637 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006754/0.9914, allocations: 275.6 kB / 1.052 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005111/0.9965, allocations: 2.03 MB / 1.054 GB, free: 68 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.9965, allocations: 0 / 1.054 GB, free: 68 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.9981, allocations: 0.6714 MB / 1.055 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/1, allocations: 499.1 kB / 1.055 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/1.005, allocations: 2.06 MB / 1.057 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/1.005, allocations: 1.091 MB / 1.058 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00137/1.007, allocations: 391.5 kB / 1.058 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/1.007, allocations: 87.41 kB / 1.059 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/1.007, allocations: 0 / 1.059 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.03534/1.043, allocations: 20.83 MB / 1.079 GB, free: 6.676 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)