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.0009932/0.0009933, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00783/0.00783, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.808/1.808, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.6396/0.6396, allocations: 95.61 MB / 366.4 MB, free: 10.24 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.0006137/0.0006138, allocations: 16.7 kB / 447.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4129, allocations: 70.33 MB / 0.5057 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8215/1.234, allocations: 239.6 MB / 0.7396 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01095/1.245, allocations: 4.255 MB / 0.7438 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003762/1.249, allocations: 52.19 kB / 0.7439 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003418/1.253, allocations: 0.7091 MB / 0.7445 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008685/1.261, allocations: 2.11 MB / 0.7466 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00913/1.271, allocations: 2.443 MB / 0.749 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007594/1.278, allocations: 4.436 MB / 0.7533 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002655/1.281, allocations: 0.9885 MB / 0.7543 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004958/1.286, allocations: 1.42 MB / 0.7557 GB, free: 36 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004267/1.29, allocations: 1.262 MB / 0.7569 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006548/1.291, allocations: 64 kB / 0.757 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009046/1.3, allocations: 3.138 MB / 0.76 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001311/1.301, allocations: 474.4 kB / 0.7605 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002623/1.304, allocations: 0.7753 MB / 0.7612 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01166/1.316, allocations: 3.576 MB / 0.7647 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/1.316, allocations: 0 / 0.7647 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.615e-06/1.316, allocations: 4 kB / 0.7647 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000118/1.316, allocations: 0 / 0.7647 GB, free: 6.727 MB / 0.5294 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.006683/1.322, allocations: 1.883 MB / 0.7666 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/1.323, allocations: 11.98 kB / 0.7666 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/1.324, allocations: 178.1 kB / 0.7668 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/1.326, allocations: 0.9446 MB / 0.7677 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/1.326, allocations: 94.2 kB / 0.7678 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/1.326, allocations: 108 kB / 0.7679 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003599/1.33, allocations: 1.447 MB / 0.7693 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/1.33, allocations: 0 / 0.7693 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/1.33, allocations: 44 kB / 0.7693 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.963e-05/1.33, allocations: 54.27 kB / 0.7694 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00371/1.334, allocations: 1.766 MB / 0.7711 GB, free: 56 kB / 0.5294 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.009459/1.343, allocations: 4.729 MB / 0.7757 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/1.345, allocations: 0.9496 MB / 0.7766 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/1.347, allocations: 0.5932 MB / 0.7772 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003221/1.35, allocations: 2.264 MB / 0.7794 GB, free: 6.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.503e-05/1.35, allocations: 47.56 kB / 0.7795 GB, free: 6.676 MB / 0.545 GB Notification: Performance of pre-optimization done (n=97): time 4.238e-06/1.35, allocations: 0 / 0.7795 GB, free: 6.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=97): time 0.004141/1.354, allocations: 1.666 MB / 0.7811 GB, free: 5.004 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.354, allocations: 60.41 kB / 0.7812 GB, free: 4.934 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/1.356, allocations: 1.038 MB / 0.7822 GB, free: 3.879 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/1.356, allocations: 45.7 kB / 0.7822 GB, free: 3.828 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/1.357, allocations: 0.5428 MB / 0.7828 GB, free: 3.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000383/1.357, allocations: 331.1 kB / 0.7831 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/1.357, allocations: 85.67 kB / 0.7832 GB, free: 2.859 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.358, allocations: 345.9 kB / 0.7835 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/1.359, allocations: 0.5097 MB / 0.784 GB, free: 2.004 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/1.36, allocations: 0.6701 MB / 0.7846 GB, free: 1.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/1.362, allocations: 1.204 MB / 0.7858 GB, free: 32 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/1.362, allocations: 7.938 kB / 0.7858 GB, free: 24 kB / 0.545 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003264/1.365, allocations: 1.462 MB / 0.7872 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002242/1.365, allocations: 218.1 kB / 0.7875 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/1.365, allocations: 4 kB / 0.7875 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/1.366, allocations: 8 kB / 0.7875 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/1.367, allocations: 311.5 kB / 0.7878 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009346/1.368, allocations: 1.188 MB / 0.7889 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.37, allocations: 168.9 kB / 0.7891 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/1.37, allocations: 55.97 kB / 0.7891 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.37, allocations: 4 kB / 0.7891 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002689/1.373, allocations: 1.337 MB / 0.7904 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/1.373, allocations: 4 kB / 0.7905 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/1.373, allocations: 8 kB / 0.7905 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/1.374, allocations: 259.8 kB / 0.7907 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/1.374, allocations: 8 kB / 0.7907 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/1.375, allocations: 150.8 kB / 0.7909 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/1.375, allocations: 55.91 kB / 0.7909 GB, free: 10.69 MB / 0.5606 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.0009735/1.376, allocations: 425.6 kB / 0.7913 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004817/1.377, allocations: 126.5 kB / 0.7914 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/1.38, allocations: 1.498 MB / 0.7929 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/1.38, allocations: 15.94 kB / 0.7929 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.38, allocations: 0 / 0.7929 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/1.38, allocations: 7.969 kB / 0.7929 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004926/1.385, allocations: 2.484 MB / 0.7953 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.385, allocations: 0 / 0.7953 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/1.386, allocations: 271.7 kB / 0.7956 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.101e-05/1.387, allocations: 7.984 kB / 0.7956 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.153e-05/1.387, allocations: 31.98 kB / 0.7956 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007148/1.387, allocations: 1.176 MB / 0.7968 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.387, allocations: 0 / 0.7968 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/1.39, allocations: 1.361 MB / 0.7981 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008649/1.391, allocations: 386.9 kB / 0.7985 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/1.391, allocations: 23.98 kB / 0.7985 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/1.392, allocations: 95.83 kB / 0.7986 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/1.393, allocations: 68.91 kB / 0.7987 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/1.393, allocations: 59.95 kB / 0.7987 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001349/1.394, allocations: 0.735 MB / 0.7994 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.01e-07/1.394, allocations: 0 / 0.7994 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003268/1.397, allocations: 0.9479 MB / 0.8004 GB, free: 0.8086 MB / 0.5606 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.002164/1.4, allocations: 0.6221 MB / 0.801 GB, free: 196 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005002/1.405, allocations: 2.138 MB / 0.8031 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/1.405, allocations: 0 / 0.8031 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/1.406, allocations: 0.6813 MB / 0.8037 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004239/1.411, allocations: 0.6601 MB / 0.8044 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005557/1.416, allocations: 2.804 MB / 0.8071 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.417, allocations: 1.183 MB / 0.8083 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002214/1.42, allocations: 468 kB / 0.8087 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/1.42, allocations: 123.4 kB / 0.8088 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of SimCode: time 1.312e-06/1.42, allocations: 0 / 0.8088 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of Templates: time 0.05904/1.479, allocations: 31.05 MB / 0.8392 GB, free: 9.238 MB / 0.6075 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: