Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009365/0.0009365, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001077/0.001077, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5536/0.5536, allocations: 95.59 MB / 366 MB, free: 10.39 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005506/0.0005506, allocations: 20 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3337, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5355/0.8692, allocations: 187.5 MB / 0.6881 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008804/0.8781, allocations: 6.118 MB / 0.694 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.8797, allocations: 51.97 kB / 0.6941 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.8818, allocations: 0.707 MB / 0.6948 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006456/0.8883, allocations: 2.112 MB / 0.6968 GB, free: 288 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005583/0.8939, allocations: 1.596 MB / 0.6984 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003571/0.8975, allocations: 1.84 MB / 0.7002 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.8991, allocations: 0.9393 MB / 0.7011 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003152/0.9022, allocations: 1.269 MB / 0.7024 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.9041, allocations: 0.918 MB / 0.7033 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.9043, allocations: 62.97 kB / 0.7033 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003789/0.9081, allocations: 1.39 MB / 0.7047 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004518/0.9086, allocations: 424.5 kB / 0.7051 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004452/0.9091, allocations: 339.8 kB / 0.7054 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.9119, allocations: 2.11 MB / 0.7075 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.9119, allocations: 4 kB / 0.7075 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.305e-06/0.9119, allocations: 0 / 0.7075 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.9119, allocations: 0 / 0.7075 GB, free: 13.62 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.00389/0.9158, allocations: 1.824 MB / 0.7092 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.9159, allocations: 16.95 kB / 0.7093 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005328/0.9164, allocations: 176.5 kB / 0.7094 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.9181, allocations: 0.9063 MB / 0.7103 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.9181, allocations: 86.98 kB / 0.7104 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.9183, allocations: 112 kB / 0.7105 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.9212, allocations: 1.425 MB / 0.7119 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.9212, allocations: 2.625 kB / 0.7119 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.9214, allocations: 49.5 kB / 0.7119 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.364e-05/0.9215, allocations: 56.73 kB / 0.712 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/0.9245, allocations: 1.758 MB / 0.7137 GB, free: 11.17 MB / 0.4981 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.007381/0.9319, allocations: 4.725 MB / 0.7183 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.9335, allocations: 0.9473 MB / 0.7193 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002255/0.9358, allocations: 2.265 MB / 0.7215 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.9359, allocations: 52.81 kB / 0.7215 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=97): time 3.577e-06/0.9359, allocations: 3.938 kB / 0.7215 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97): time 0.00329/0.9392, allocations: 1.663 MB / 0.7231 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.9393, allocations: 64.41 kB / 0.7232 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.9405, allocations: 1.028 MB / 0.7242 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.9407, allocations: 47.27 kB / 0.7243 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/0.9411, allocations: 0.5451 MB / 0.7248 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.9414, allocations: 328.6 kB / 0.7251 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.9415, allocations: 17.62 kB / 0.7251 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.9416, allocations: 347.9 kB / 0.7255 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008809/0.9425, allocations: 0.4994 MB / 0.7259 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009577/0.9434, allocations: 0.6572 MB / 0.7266 GB, free: 132 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009877/0.9444, allocations: 0.595 MB / 0.7272 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.9445, allocations: 4 kB / 0.7272 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002574/0.947, allocations: 1.456 MB / 0.7286 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005635/0.9476, allocations: 1.263 MB / 0.7298 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.9476, allocations: 8 kB / 0.7298 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/0.9477, allocations: 8 kB / 0.7298 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.9492, allocations: 307.4 kB / 0.7301 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000712/0.95, allocations: 1.186 MB / 0.7313 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.9512, allocations: 170.4 kB / 0.7314 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.9513, allocations: 62.52 kB / 0.7315 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.9513, allocations: 10.03 kB / 0.7315 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002315/0.9536, allocations: 1.329 MB / 0.7328 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9537, allocations: 4 kB / 0.7328 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.9537, allocations: 8 kB / 0.7328 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.9548, allocations: 255.1 kB / 0.7331 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.9548, allocations: 6.531 kB / 0.7331 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.9558, allocations: 164.7 kB / 0.7332 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.956, allocations: 58.02 kB / 0.7333 GB, free: 10.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (126): * Single equations (assignments): 123 * 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.0008482/0.9568, allocations: 416 kB / 0.7337 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.9571, allocations: 126.5 kB / 0.7338 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/0.9602, allocations: 1.5 MB / 0.7353 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.9602, allocations: 12 kB / 0.7353 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.9602, allocations: 0 / 0.7353 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.9602, allocations: 11.92 kB / 0.7353 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004242/0.9645, allocations: 2.468 MB / 0.7377 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.9645, allocations: 4 kB / 0.7377 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.9659, allocations: 270.4 kB / 0.738 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/0.9659, allocations: 4.094 kB / 0.738 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/0.966, allocations: 35.73 kB / 0.738 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006185/0.9666, allocations: 1.175 MB / 0.7392 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.9666, allocations: 14.7 kB / 0.7392 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.969, allocations: 1.387 MB / 0.7405 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008093/0.9698, allocations: 388.4 kB / 0.7409 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.97, allocations: 21.11 kB / 0.7409 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009601/0.971, allocations: 101 kB / 0.741 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.9711, allocations: 71.16 kB / 0.7411 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.9713, allocations: 63.56 kB / 0.7411 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009625/0.9722, allocations: 0.7227 MB / 0.7418 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9722, allocations: 0 / 0.7418 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002466/0.9747, allocations: 0.9344 MB / 0.7428 GB, free: 2.438 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (108): * Single equations (assignments): 106 * 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.001335/0.9761, allocations: 0.5955 MB / 0.7433 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004501/0.9806, allocations: 2.186 MB / 0.7455 GB, free: 312 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.9806, allocations: 4 kB / 0.7455 GB, free: 308 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.9822, allocations: 0.6908 MB / 0.7462 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/0.9854, allocations: 0.6527 MB / 0.7468 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.9902, allocations: 2.691 MB / 0.7494 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009816/0.9912, allocations: 1.212 MB / 0.7506 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002011/0.9932, allocations: 464.8 kB / 0.751 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.9936, allocations: 122.9 kB / 0.7512 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of SimCode: time 1.543e-06/0.9936, allocations: 4 kB / 0.7512 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.05008/1.044, allocations: 30.17 MB / 0.7806 GB, free: 13.2 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: