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.001394/0.001394, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001515, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.823/1.823, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.6285/0.6285, allocations: 95.48 MB / 365.2 MB, free: 9.879 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.001609/0.001609, allocations: 63.91 kB / 445.3 MB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3945, allocations: 69.08 MB / 0.5024 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7411/1.136, allocations: 243.7 MB / 0.7404 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01071/1.146, allocations: 4.059 MB / 0.7444 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/1.15, allocations: 39.75 kB / 0.7444 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003301/1.153, allocations: 0.8192 MB / 0.7452 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01124/1.164, allocations: 2.255 MB / 0.7474 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009645/1.174, allocations: 2.652 MB / 0.75 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005758/1.18, allocations: 3.25 MB / 0.7532 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/1.182, allocations: 1.224 MB / 0.7544 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00447/1.187, allocations: 1.635 MB / 0.756 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003482/1.19, allocations: 1.275 MB / 0.7572 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006619/1.191, allocations: 160 kB / 0.7574 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008086/1.199, allocations: 2.807 MB / 0.7601 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001053/1.2, allocations: 0.5532 MB / 0.7606 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001837/1.202, allocations: 0.8634 MB / 0.7615 GB, free: 92 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009375/1.212, allocations: 3.553 MB / 0.7649 GB, free: 12.53 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/1.212, allocations: 0 / 0.7649 GB, free: 12.53 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.615e-06/1.212, allocations: 0 / 0.7649 GB, free: 12.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.631e-05/1.212, allocations: 0 / 0.7649 GB, free: 12.53 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.006475/1.218, allocations: 2.18 MB / 0.7671 GB, free: 10.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.218, allocations: 15.98 kB / 0.7671 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008539/1.219, allocations: 178.1 kB / 0.7673 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/1.221, allocations: 0.9562 MB / 0.7682 GB, free: 9.094 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.99e-05/1.221, allocations: 82.22 kB / 0.7683 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/1.221, allocations: 108 kB / 0.7684 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/1.225, allocations: 1.424 MB / 0.7698 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/1.225, allocations: 0 / 0.7698 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/1.225, allocations: 51.98 kB / 0.7698 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.609e-05/1.225, allocations: 58.25 kB / 0.7699 GB, free: 7.344 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/1.229, allocations: 1.734 MB / 0.7716 GB, free: 5.602 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.008567/1.237, allocations: 4.721 MB / 0.7762 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/1.239, allocations: 0.9457 MB / 0.7771 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/1.24, allocations: 0.5699 MB / 0.7777 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002759/1.243, allocations: 2.237 MB / 0.7798 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.107e-05/1.243, allocations: 43.56 kB / 0.7799 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=97): time 3.165e-06/1.243, allocations: 0 / 0.7799 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=97): time 0.003818/1.247, allocations: 1.623 MB / 0.7815 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/1.247, allocations: 64.41 kB / 0.7815 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/1.249, allocations: 1.03 MB / 0.7825 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001758/1.249, allocations: 49.7 kB / 0.7826 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006554/1.25, allocations: 0.5428 MB / 0.7831 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/1.25, allocations: 339.1 kB / 0.7834 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000398/1.25, allocations: 210.4 kB / 0.7836 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.25, allocations: 341.9 kB / 0.784 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.252, allocations: 0.5008 MB / 0.7845 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.253, allocations: 0.6467 MB / 0.7851 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/1.255, allocations: 1.177 MB / 0.7862 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.255, allocations: 4 kB / 0.7862 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003014/1.258, allocations: 1.431 MB / 0.7876 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.569e-05/1.258, allocations: 37.7 kB / 0.7877 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.258, allocations: 0 / 0.7877 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/1.258, allocations: 11.94 kB / 0.7877 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/1.26, allocations: 303.5 kB / 0.788 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007112/1.26, allocations: 1.184 MB / 0.7891 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.261, allocations: 138.2 kB / 0.7893 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/1.261, allocations: 55.95 kB / 0.7893 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001427/1.263, allocations: 0.76 MB / 0.7901 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001104/1.264, allocations: 0.6467 MB / 0.7907 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002101/1.266, allocations: 1.161 MB / 0.7918 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.079e-05/1.266, allocations: 7.984 kB / 0.7918 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.00301/1.269, allocations: 1.423 MB / 0.7932 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/1.269, allocations: 37.69 kB / 0.7933 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.269, allocations: 4 kB / 0.7933 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.269, allocations: 11.94 kB / 0.7933 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/1.27, allocations: 243.9 kB / 0.7935 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/1.27, allocations: 15.94 kB / 0.7935 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009334/1.271, allocations: 95.23 kB / 0.7936 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.271, allocations: 51.97 kB / 0.7937 GB, free: 13.82 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.0003881/1.272, allocations: 241.2 kB / 0.7939 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/1.272, allocations: 130.4 kB / 0.794 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/1.275, allocations: 1.464 MB / 0.7954 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.275, allocations: 8 kB / 0.7954 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.275, allocations: 0 / 0.7954 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/1.275, allocations: 16.05 kB / 0.7955 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/1.279, allocations: 2.453 MB / 0.7979 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.279, allocations: 4 kB / 0.7979 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/1.281, allocations: 255.7 kB / 0.7981 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/1.281, allocations: 4 kB / 0.7981 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/1.281, allocations: 36.08 kB / 0.7981 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000568/1.281, allocations: 1.172 MB / 0.7993 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.281, allocations: 4.031 kB / 0.7993 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/1.284, allocations: 1.325 MB / 0.8006 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005954/1.284, allocations: 371.1 kB / 0.8009 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/1.284, allocations: 27.89 kB / 0.801 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007995/1.285, allocations: 47.95 kB / 0.801 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/1.285, allocations: 68.91 kB / 0.8011 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/1.285, allocations: 59.95 kB / 0.8011 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001091/1.287, allocations: 0.7389 MB / 0.8019 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.287, allocations: 0 / 0.8019 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002611/1.289, allocations: 0.9401 MB / 0.8028 GB, free: 4.309 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.001377/1.291, allocations: 0.6244 MB / 0.8034 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005315/1.296, allocations: 2.285 MB / 0.8056 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.296, allocations: 4 kB / 0.8056 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/1.297, allocations: 0.6664 MB / 0.8063 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003588/1.301, allocations: 0.6882 MB / 0.8069 GB, free: 28 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/1.306, allocations: 2.265 MB / 0.8092 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.307, allocations: 1.183 MB / 0.8103 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002043/1.309, allocations: 469.2 kB / 0.8108 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/1.31, allocations: 127.4 kB / 0.8109 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of SimCode: time 1.623e-06/1.31, allocations: 4 kB / 0.8109 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.06107/1.371, allocations: 32.53 MB / 0.8427 GB, free: 11.66 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)