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.0008653/0.0008653, allocations: 84.38 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.001022/0.001023, 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 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.59/1.59, allocations: 252 MB / 0.5102 GB, free: 4.777 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.0005807/0.000581, allocations: 16 kB / 0.6243 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6408/0.6414, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.746/1.387, allocations: 195.5 MB / 0.919 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01166/1.399, allocations: 6.655 MB / 0.9255 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/1.401, allocations: 37.5 kB / 0.9256 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/1.403, allocations: 0.496 MB / 0.926 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007102/1.41, allocations: 1.863 MB / 0.9279 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003775/1.414, allocations: 0.911 MB / 0.9288 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005963/1.42, allocations: 3.182 MB / 0.9319 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/1.422, allocations: 0.7862 MB / 0.9326 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00449/1.426, allocations: 1.446 MB / 0.934 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/1.428, allocations: 0.9085 MB / 0.9349 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001956/1.429, allocations: 48.28 kB / 0.935 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004411/1.433, allocations: 1.541 MB / 0.9365 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004976/1.433, allocations: 344.7 kB / 0.9368 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009445/1.434, allocations: 267.6 kB / 0.9371 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/1.437, allocations: 1.71 MB / 0.9387 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.437, allocations: 0 / 0.9387 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/1.437, allocations: 0 / 0.9387 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.299e-05/1.437, allocations: 4 kB / 0.9387 GB, free: 21.25 MB / 0.7325 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.004092/1.441, allocations: 1.613 MB / 0.9403 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.441, allocations: 9.406 kB / 0.9403 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003031/1.444, allocations: 0.5836 MB / 0.9409 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/1.446, allocations: 0.9244 MB / 0.9418 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005587/1.447, allocations: 193.5 kB / 0.942 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/1.447, allocations: 91.11 kB / 0.9421 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/1.45, allocations: 1.263 MB / 0.9433 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/1.45, allocations: 2.906 kB / 0.9433 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.45, allocations: 33.12 kB / 0.9433 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.763e-05/1.45, allocations: 52.73 kB / 0.9434 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003312/1.453, allocations: 1.606 MB / 0.945 GB, free: 19.83 MB / 0.7325 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.006333/1.46, allocations: 4.102 MB / 0.949 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/1.462, allocations: 1.045 MB / 0.95 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/1.463, allocations: 0.7015 MB / 0.9507 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/1.464, allocations: 0.6406 MB / 0.9513 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/1.465, allocations: 38.25 kB / 0.9513 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.817e-06/1.465, allocations: 0 / 0.9513 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004609/1.469, allocations: 1.914 MB / 0.9532 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/1.469, allocations: 58.53 kB / 0.9533 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/1.47, allocations: 0.8147 MB / 0.954 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/1.471, allocations: 43.17 kB / 0.9541 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/1.471, allocations: 440.4 kB / 0.9545 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/1.471, allocations: 258.3 kB / 0.9548 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/1.471, allocations: 15.56 kB / 0.9548 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.471, allocations: 332.2 kB / 0.9551 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/1.473, allocations: 0.562 MB / 0.9556 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/1.474, allocations: 0.7011 MB / 0.9563 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/1.475, allocations: 0.6136 MB / 0.9569 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.475, allocations: 0 / 0.9569 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00327/1.479, allocations: 1.429 MB / 0.9583 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/1.479, allocations: 158.8 kB / 0.9585 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.479, allocations: 3.984 kB / 0.9585 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.479, allocations: 5.375 kB / 0.9585 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/1.48, allocations: 278.8 kB / 0.9587 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008387/1.481, allocations: 1.195 MB / 0.9599 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/1.483, allocations: 199.6 kB / 0.9601 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.483, allocations: 36.52 kB / 0.9601 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.483, allocations: 2.938 kB / 0.9601 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002868/1.486, allocations: 1.319 MB / 0.9614 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.486, allocations: 2.953 kB / 0.9614 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/1.486, allocations: 2.562 kB / 0.9614 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.487, allocations: 256.2 kB / 0.9617 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/1.487, allocations: 2.75 kB / 0.9617 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/1.488, allocations: 196.9 kB / 0.9619 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/1.488, allocations: 35.47 kB / 0.9619 GB, free: 14.6 MB / 0.7325 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.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 (86): * Single equations (assignments): 83 * 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.0007549/1.489, allocations: 375.3 kB / 0.9623 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/1.489, allocations: 106.8 kB / 0.9624 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/1.492, allocations: 1.429 MB / 0.9638 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.492, allocations: 12.34 kB / 0.9638 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.492, allocations: 0 / 0.9638 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/1.492, allocations: 3.281 kB / 0.9638 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/1.498, allocations: 2.923 MB / 0.9666 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.498, allocations: 3 kB / 0.9666 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.499, allocations: 252.1 kB / 0.9669 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/1.499, allocations: 12.34 kB / 0.9669 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/1.499, allocations: 24.17 kB / 0.9669 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006918/1.5, allocations: 1.194 MB / 0.9681 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.5, allocations: 2.688 kB / 0.9681 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/1.503, allocations: 1.54 MB / 0.9696 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006637/1.504, allocations: 312.2 kB / 0.9699 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/1.504, allocations: 21.03 kB / 0.9699 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.505, allocations: 162 kB / 0.97 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.505, allocations: 62.42 kB / 0.9701 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/1.505, allocations: 35.88 kB / 0.9701 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007256/1.506, allocations: 0.5602 MB / 0.9707 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.506, allocations: 1.781 kB / 0.9707 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001396/1.507, allocations: 0.5352 MB / 0.9712 GB, free: 11.84 MB / 0.7325 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.0006023/1.508, allocations: 272.3 kB / 0.9715 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004906/1.513, allocations: 2.141 MB / 0.9736 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.513, allocations: 4.688 kB / 0.9736 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/1.515, allocations: 0.7078 MB / 0.9743 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/1.517, allocations: 0.5168 MB / 0.9748 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/1.522, allocations: 2.449 MB / 0.9772 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/1.522, allocations: 1.09 MB / 0.9782 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001843/1.524, allocations: 395.2 kB / 0.9786 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/1.525, allocations: 87.14 kB / 0.9787 GB, free: 9 MB / 0.7325 GB Notification: Performance of SimCode: time 8.51e-07/1.525, allocations: 4 kB / 0.9787 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of Templates: time 0.03368/1.558, allocations: 19.43 MB / 0.9977 GB, free: 13 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: