Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.005195/0.005195, allocations: 102 kB / 15.73 MB, free: 6.035 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.001284/0.001284, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.487/1.487, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 251.7 MB / 0.5094 GB, free: 3.098 MB / 414.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.001435/0.001435, allocations: 74.09 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2788, allocations: 104.7 MB / 0.828 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.9483/1.227, allocations: 214.5 MB / 1.038 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01412/1.241, allocations: 7.073 MB / 1.044 GB, free: 15.11 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0027/1.244, allocations: 43.75 kB / 1.044 GB, free: 15.07 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002774/1.247, allocations: 0.8194 MB / 1.045 GB, free: 14.25 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009092/1.256, allocations: 2.75 MB / 1.048 GB, free: 11.48 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00381/1.26, allocations: 1.19 MB / 1.049 GB, free: 10.31 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005096/1.265, allocations: 2.806 MB / 1.052 GB, free: 7.492 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/1.267, allocations: 1.084 MB / 1.053 GB, free: 6.391 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006196/1.273, allocations: 1.911 MB / 1.055 GB, free: 4.473 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003242/1.277, allocations: 0.9839 MB / 1.056 GB, free: 3.492 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003571/1.277, allocations: 116 kB / 1.056 GB, free: 3.379 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005784/1.283, allocations: 2.459 MB / 1.058 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005549/1.283, allocations: 430.6 kB / 1.059 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/1.285, allocations: 0.6843 MB / 1.059 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006312/1.291, allocations: 2.5 MB / 1.062 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.291, allocations: 4 kB / 1.062 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.944e-06/1.291, allocations: 0 / 1.062 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.863e-05/1.291, allocations: 0 / 1.062 GB, free: 13.3 MB / 0.8106 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.004785/1.296, allocations: 1.844 MB / 1.064 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/1.296, allocations: 8.031 kB / 1.064 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/1.299, allocations: 0.537 MB / 1.064 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/1.301, allocations: 1.008 MB / 1.065 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/1.301, allocations: 66 kB / 1.065 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/1.301, allocations: 87.94 kB / 1.065 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/1.304, allocations: 1.225 MB / 1.066 GB, free: 8.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/1.304, allocations: 0 / 1.066 GB, free: 8.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.9e-05/1.304, allocations: 32 kB / 1.066 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.125e-05/1.304, allocations: 45.98 kB / 1.067 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/1.307, allocations: 1.53 MB / 1.068 GB, free: 6.809 MB / 0.8106 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.007098/1.314, allocations: 4.037 MB / 1.072 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/1.317, allocations: 0.9755 MB / 1.073 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/1.318, allocations: 0.6629 MB / 1.074 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/1.32, allocations: 0.6087 MB / 1.074 GB, free: 128 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/1.32, allocations: 47.2 kB / 1.074 GB, free: 72 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=76): time 3.186e-06/1.32, allocations: 0 / 1.074 GB, free: 72 kB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.00489/1.325, allocations: 1.781 MB / 1.076 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/1.325, allocations: 64.06 kB / 1.076 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/1.326, allocations: 0.8154 MB / 1.077 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/1.326, allocations: 45.7 kB / 1.077 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/1.327, allocations: 436.6 kB / 1.077 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/1.327, allocations: 264.1 kB / 1.077 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/1.327, allocations: 154.5 kB / 1.078 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.327, allocations: 334 kB / 1.078 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/1.329, allocations: 0.5394 MB / 1.078 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/1.33, allocations: 0.6559 MB / 1.079 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/1.333, allocations: 1.127 MB / 1.08 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/1.333, allocations: 4 kB / 1.08 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003333/1.336, allocations: 1.349 MB / 1.082 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/1.336, allocations: 33.7 kB / 1.082 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.336, allocations: 4 kB / 1.082 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/1.336, allocations: 4 kB / 1.082 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/1.338, allocations: 254.4 kB / 1.082 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000798/1.339, allocations: 1.199 MB / 1.083 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/1.34, allocations: 143.4 kB / 1.083 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1.34, allocations: 39.98 kB / 1.083 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001771/1.342, allocations: 0.7516 MB / 1.084 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001485/1.343, allocations: 0.6481 MB / 1.085 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002682/1.346, allocations: 1.124 MB / 1.086 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.157e-06/1.346, allocations: 0 / 1.086 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003307/1.349, allocations: 1.341 MB / 1.087 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.213e-05/1.349, allocations: 33.7 kB / 1.087 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/1.349, allocations: 0 / 1.087 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/1.349, allocations: 11.88 kB / 1.087 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.351, allocations: 227.8 kB / 1.087 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/1.351, allocations: 7.938 kB / 1.087 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/1.352, allocations: 135.3 kB / 1.087 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/1.352, allocations: 39.97 kB / 1.087 GB, free: 2.281 MB / 0.8262 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.0003032/1.352, allocations: 223.7 kB / 1.088 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/1.352, allocations: 106.7 kB / 1.088 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/1.356, allocations: 1.341 MB / 1.089 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.356, allocations: 8 kB / 1.089 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/1.356, allocations: 0 / 1.089 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.356, allocations: 3.984 kB / 1.089 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005813/1.362, allocations: 2.839 MB / 1.092 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.362, allocations: 4 kB / 1.092 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.363, allocations: 227.7 kB / 1.092 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.574e-05/1.363, allocations: 8 kB / 1.092 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.881e-05/1.363, allocations: 23.92 kB / 1.092 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006648/1.364, allocations: 1.195 MB / 1.093 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.364, allocations: 7.938 kB / 1.093 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/1.367, allocations: 1.443 MB / 1.095 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007392/1.368, allocations: 315.5 kB / 1.095 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/1.368, allocations: 16 kB / 1.095 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.369, allocations: 111.9 kB / 1.095 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.37, allocations: 56.38 kB / 1.095 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.433e-05/1.37, allocations: 35.97 kB / 1.095 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000948/1.371, allocations: 0.5739 MB / 1.096 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/1.371, allocations: 0 / 1.096 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00172/1.372, allocations: 0.5341 MB / 1.096 GB, free: 8.973 MB / 0.8419 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.0007135/1.373, allocations: 272 kB / 1.096 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005359/1.378, allocations: 2.033 MB / 1.098 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.379, allocations: 0 / 1.098 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/1.38, allocations: 0.6675 MB / 1.099 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/1.383, allocations: 489.8 kB / 1.1 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00502/1.388, allocations: 2.052 MB / 1.102 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/1.389, allocations: 1.102 MB / 1.103 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001899/1.391, allocations: 387.5 kB / 1.103 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/1.391, allocations: 87.39 kB / 1.103 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of SimCode: time 2.385e-06/1.391, allocations: 0 / 1.103 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of Templates: time 0.04108/1.432, allocations: 20.98 MB / 1.124 GB, free: 13.09 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)