Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0007813/0.0007813, 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.0008223/0.0008226, 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.347/1.347, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.636/1.636, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004998/0.0004999, allocations: 16.03 kB / 0.6737 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2599, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6766/0.9366, allocations: 195.2 MB / 0.9779 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008971/0.9456, allocations: 6.533 MB / 0.9843 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.947, allocations: 36.56 kB / 0.9843 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.9485, allocations: 0.4924 MB / 0.9848 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004912/0.9534, allocations: 1.772 MB / 0.9865 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.9559, allocations: 0.9102 MB / 0.9874 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003541/0.9595, allocations: 3.188 MB / 0.9905 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.9606, allocations: 0.7766 MB / 0.9913 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.9642, allocations: 1.523 MB / 0.9928 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.9656, allocations: 0.8638 MB / 0.9936 GB, free: 224 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.9658, allocations: 45.59 kB / 0.9936 GB, free: 224 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/0.9695, allocations: 1.546 MB / 0.9952 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004301/0.9699, allocations: 346 kB / 0.9955 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.9704, allocations: 271.5 kB / 0.9957 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.9725, allocations: 1.713 MB / 0.9974 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9725, allocations: 0 / 0.9974 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9725, allocations: 0 / 0.9974 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.061e-05/0.9725, allocations: 0 / 0.9974 GB, free: 14.71 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.003845/0.9764, allocations: 1.611 MB / 0.999 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.9764, allocations: 13.36 kB / 0.999 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.9792, allocations: 0.5862 MB / 0.9996 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.9808, allocations: 0.9196 MB / 1 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005128/0.9813, allocations: 201 kB / 1.001 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.9814, allocations: 85.73 kB / 1.001 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.9838, allocations: 1.268 MB / 1.002 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.9839, allocations: 4 kB / 1.002 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.979e-05/0.984, allocations: 33.69 kB / 1.002 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/0.984, allocations: 42.89 kB / 1.002 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/0.9873, allocations: 1.614 MB / 1.004 GB, free: 12.18 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.006526/0.9938, allocations: 4.097 MB / 1.008 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/0.996, allocations: 1.048 MB / 1.009 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.9973, allocations: 0.6976 MB / 1.009 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.9985, allocations: 0.6342 MB / 1.01 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.9985, allocations: 43.09 kB / 1.01 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.076e-06/0.9985, allocations: 4 kB / 1.01 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.00441/1.003, allocations: 1.907 MB / 1.012 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/1.003, allocations: 60.03 kB / 1.012 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009909/1.004, allocations: 0.8166 MB / 1.013 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.841e-05/1.004, allocations: 42.3 kB / 1.013 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/1.004, allocations: 434.6 kB / 1.013 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/1.005, allocations: 262.4 kB / 1.013 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/1.005, allocations: 19.67 kB / 1.013 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.005, allocations: 336.4 kB / 1.014 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/1.006, allocations: 0.5633 MB / 1.014 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/1.007, allocations: 0.6904 MB / 1.015 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/1.009, allocations: 0.6239 MB / 1.016 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.009, allocations: 3.281 kB / 1.016 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002895/1.012, allocations: 1.419 MB / 1.017 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.012, allocations: 154.8 kB / 1.017 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.012, allocations: 3.156 kB / 1.017 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.012, allocations: 6.969 kB / 1.017 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/1.013, allocations: 286.8 kB / 1.017 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007032/1.014, allocations: 1.19 MB / 1.019 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/1.015, allocations: 198.2 kB / 1.019 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/1.015, allocations: 36.36 kB / 1.019 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/1.015, allocations: 5.312 kB / 1.019 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002686/1.018, allocations: 1.316 MB / 1.02 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.018, allocations: 0 / 1.02 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/1.018, allocations: 5.844 kB / 1.02 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/1.019, allocations: 259.7 kB / 1.02 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.019, allocations: 1.781 kB / 1.02 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/1.02, allocations: 201.9 kB / 1.021 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/1.02, allocations: 31.02 kB / 1.021 GB, free: 4.434 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.0005237/1.021, allocations: 371.8 kB / 1.021 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/1.021, allocations: 104.5 kB / 1.021 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/1.024, allocations: 1.433 MB / 1.022 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/1.024, allocations: 5.906 kB / 1.022 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/1.024, allocations: 96 / 1.022 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/1.024, allocations: 11.92 kB / 1.022 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005105/1.029, allocations: 2.913 MB / 1.025 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.029, allocations: 10.28 kB / 1.025 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.03, allocations: 252.7 kB / 1.026 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/1.03, allocations: 7.562 kB / 1.026 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-05/1.03, allocations: 24.52 kB / 1.026 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006247/1.031, allocations: 1.2 MB / 1.027 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.031, allocations: 3.031 kB / 1.027 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003045/1.034, allocations: 1.533 MB / 1.028 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000622/1.035, allocations: 318.1 kB / 1.029 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/1.035, allocations: 14.94 kB / 1.029 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/1.036, allocations: 164.2 kB / 1.029 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/1.036, allocations: 64.25 kB / 1.029 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.465e-05/1.036, allocations: 37.25 kB / 1.029 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006808/1.037, allocations: 0.5605 MB / 1.029 GB, free: 376 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.037, allocations: 0 / 1.029 GB, free: 376 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001412/1.038, allocations: 0.5354 MB / 1.03 GB, free: 144 kB / 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.0006235/1.039, allocations: 264.7 kB / 1.03 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005004/1.044, allocations: 2.144 MB / 1.032 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.044, allocations: 0 / 1.032 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.045, allocations: 0.7067 MB / 1.033 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/1.048, allocations: 0.5164 MB / 1.033 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/1.052, allocations: 2.483 MB / 1.036 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/1.053, allocations: 1.099 MB / 1.037 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001667/1.055, allocations: 391.5 kB / 1.037 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/1.055, allocations: 90.39 kB / 1.037 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of SimCode: time 1.002e-06/1.055, allocations: 0 / 1.037 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of Templates: time 0.03254/1.088, allocations: 19.42 MB / 1.056 GB, free: 6.238 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: