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.001515/0.001516, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00229/0.00229, allocations: 190.9 kB / 16.14 MB, free: 6.652 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.67/1.67, allocations: 205.1 MB / 222 MB, free: 4.742 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.6394/0.6394, allocations: 95.47 MB / 364.8 MB, free: 10.09 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.002051/0.002051, allocations: 59.92 kB / 444.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4393, allocations: 69.08 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7233/1.163, allocations: 243.1 MB / 0.7391 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009286/1.172, allocations: 4.289 MB / 0.7432 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/1.175, allocations: 55.56 kB / 0.7433 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002455/1.177, allocations: 0.7074 MB / 0.744 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007049/1.184, allocations: 2.116 MB / 0.7461 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008619/1.193, allocations: 2.436 MB / 0.7484 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006583/1.2, allocations: 4.432 MB / 0.7528 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/1.201, allocations: 1.025 MB / 0.7538 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003925/1.205, allocations: 1.444 MB / 0.7552 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002924/1.208, allocations: 1.307 MB / 0.7564 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002492/1.209, allocations: 76 kB / 0.7565 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007123/1.216, allocations: 3.158 MB / 0.7596 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006501/1.216, allocations: 490.5 kB / 0.7601 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/1.218, allocations: 0.7814 MB / 0.7608 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007955/1.225, allocations: 3.619 MB / 0.7644 GB, free: 12.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/1.226, allocations: 0 / 0.7644 GB, free: 12.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/1.226, allocations: 4 kB / 0.7644 GB, free: 12.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.146e-05/1.226, allocations: 0 / 0.7644 GB, free: 12.87 MB / 0.545 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.005375/1.231, allocations: 2.187 MB / 0.7665 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.607e-05/1.231, allocations: 11.98 kB / 0.7665 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000674/1.232, allocations: 178.1 kB / 0.7667 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/1.233, allocations: 0.9446 MB / 0.7676 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.211e-05/1.233, allocations: 86.22 kB / 0.7677 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/1.233, allocations: 115.9 kB / 0.7678 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/1.236, allocations: 1.424 MB / 0.7692 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/1.236, allocations: 0 / 0.7692 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/1.236, allocations: 48 kB / 0.7692 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/1.236, allocations: 58.27 kB / 0.7693 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003432/1.24, allocations: 1.73 MB / 0.771 GB, free: 5.941 MB / 0.545 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.007991/1.248, allocations: 4.694 MB / 0.7756 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/1.25, allocations: 0.9464 MB / 0.7765 GB, free: 0 / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009654/1.251, allocations: 0.5777 MB / 0.7771 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002249/1.253, allocations: 2.236 MB / 0.7792 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/1.253, allocations: 47.56 kB / 0.7793 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=97): time 2.896e-06/1.253, allocations: 4 kB / 0.7793 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=97): time 0.003441/1.256, allocations: 1.608 MB / 0.7809 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/1.257, allocations: 64.41 kB / 0.7809 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/1.258, allocations: 1.034 MB / 0.7819 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.896e-05/1.258, allocations: 45.7 kB / 0.782 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/1.258, allocations: 0.5467 MB / 0.7825 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/1.259, allocations: 335.1 kB / 0.7828 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003633/1.259, allocations: 210.4 kB / 0.783 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.259, allocations: 345.9 kB / 0.7834 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009242/1.26, allocations: 0.4969 MB / 0.7838 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/1.261, allocations: 0.6506 MB / 0.7845 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/1.263, allocations: 1.169 MB / 0.7856 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.263, allocations: 0 / 0.7856 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002865/1.266, allocations: 1.442 MB / 0.787 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.89e-05/1.266, allocations: 41.69 kB / 0.7871 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.266, allocations: 0 / 0.7871 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/1.266, allocations: 12.03 kB / 0.7871 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/1.268, allocations: 307.5 kB / 0.7874 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007457/1.269, allocations: 1.18 MB / 0.7885 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.27, allocations: 158.8 kB / 0.7887 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/1.27, allocations: 59.97 kB / 0.7887 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001383/1.271, allocations: 0.7559 MB / 0.7895 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001035/1.272, allocations: 0.6466 MB / 0.7901 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00198/1.274, allocations: 1.169 MB / 0.7912 GB, free: 60 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/1.274, allocations: 0 / 0.7912 GB, free: 60 kB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.002702/1.277, allocations: 1.427 MB / 0.7926 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/1.277, allocations: 37.7 kB / 0.7927 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.277, allocations: 7.984 kB / 0.7927 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/1.277, allocations: 11.94 kB / 0.7927 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/1.278, allocations: 248 kB / 0.7929 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.278, allocations: 8 kB / 0.7929 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/1.279, allocations: 118.2 kB / 0.7931 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.279, allocations: 63.91 kB / 0.7931 GB, free: 14.13 MB / 0.5762 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.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 (126): * Single equations (assignments): 123 * 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.0004064/1.28, allocations: 232.7 kB / 0.7933 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/1.28, allocations: 138.4 kB / 0.7935 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/1.283, allocations: 1.456 MB / 0.7949 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/1.283, allocations: 12 kB / 0.7949 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/1.283, allocations: 0 / 0.7949 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/1.283, allocations: 3.984 kB / 0.7949 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/1.288, allocations: 2.461 MB / 0.7973 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.288, allocations: 0 / 0.7973 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/1.289, allocations: 259.7 kB / 0.7976 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/1.289, allocations: 8 kB / 0.7976 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/1.289, allocations: 31.97 kB / 0.7976 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006426/1.29, allocations: 1.18 MB / 0.7987 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.29, allocations: 0 / 0.7987 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/1.292, allocations: 1.325 MB / 0.8 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007242/1.293, allocations: 371.1 kB / 0.8004 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/1.293, allocations: 27.94 kB / 0.8004 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008954/1.294, allocations: 83.83 kB / 0.8005 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/1.294, allocations: 72.89 kB / 0.8006 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.294, allocations: 59.95 kB / 0.8006 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001032/1.296, allocations: 0.7389 MB / 0.8013 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.296, allocations: 0 / 0.8013 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00271/1.298, allocations: 0.9475 MB / 0.8023 GB, free: 4.562 MB / 0.5762 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 (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.001618/1.3, allocations: 0.6168 MB / 0.8029 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004646/1.305, allocations: 2.09 MB / 0.8049 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.305, allocations: 4.875 kB / 0.8049 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/1.306, allocations: 0.6616 MB / 0.8056 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003515/1.31, allocations: 0.6574 MB / 0.8062 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005061/1.315, allocations: 2.755 MB / 0.8089 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008578/1.316, allocations: 1.183 MB / 0.8101 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001893/1.317, allocations: 469 kB / 0.8105 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/1.318, allocations: 127.4 kB / 0.8106 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of SimCode: time 4.539e-06/1.318, allocations: 4 kB / 0.8106 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.05344/1.371, allocations: 31.27 MB / 0.8412 GB, free: 12.9 MB / 0.6231 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (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)