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.001517/0.001517, 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.001945/0.001945, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.438/1.438, allocations: 205.1 MB / 222 MB, free: 4.762 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.713/1.713, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001435/0.001435, allocations: 62.33 kB / 0.6708 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3019, allocations: 114.6 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.9317/1.234, allocations: 212.1 MB / 0.9897 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0125/1.246, allocations: 7.045 MB / 0.9966 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/1.249, allocations: 41.06 kB / 0.9967 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002539/1.252, allocations: 0.6591 MB / 0.9973 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008241/1.26, allocations: 2.337 MB / 0.9996 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003726/1.264, allocations: 1.049 MB / 1.001 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004943/1.269, allocations: 3.729 MB / 1.004 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/1.27, allocations: 0.9178 MB / 1.005 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004322/1.275, allocations: 1.788 MB / 1.007 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/1.277, allocations: 0.9522 MB / 1.008 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000194/1.277, allocations: 59.09 kB / 1.008 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005234/1.282, allocations: 2.811 MB / 1.011 GB, free: 440 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004987/1.283, allocations: 369.4 kB / 1.011 GB, free: 300 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/1.284, allocations: 0.6362 MB / 1.012 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005845/1.29, allocations: 2.558 MB / 1.014 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.29, allocations: 0 / 1.014 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.242e-06/1.29, allocations: 0 / 1.014 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.818e-05/1.29, allocations: 4 kB / 1.014 GB, free: 14.84 MB / 0.7481 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.005637/1.295, allocations: 1.849 MB / 1.016 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/1.296, allocations: 8.656 kB / 1.016 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003333/1.299, allocations: 0.5354 MB / 1.016 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/1.301, allocations: 0.9602 MB / 1.017 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006394/1.302, allocations: 181.3 kB / 1.018 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/1.302, allocations: 83.75 kB / 1.018 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/1.305, allocations: 1.232 MB / 1.019 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/1.305, allocations: 0 / 1.019 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/1.305, allocations: 35.92 kB / 1.019 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/1.305, allocations: 51.27 kB / 1.019 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003694/1.308, allocations: 1.548 MB / 1.02 GB, free: 10.91 MB / 0.7481 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.007144/1.316, allocations: 4.049 MB / 1.024 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/1.318, allocations: 0.9993 MB / 1.025 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/1.32, allocations: 0.6754 MB / 1.026 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/1.321, allocations: 0.605 MB / 1.027 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/1.321, allocations: 46.8 kB / 1.027 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.865e-06/1.321, allocations: 0 / 1.027 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.005081/1.326, allocations: 1.802 MB / 1.028 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.326, allocations: 63.73 kB / 1.028 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/1.327, allocations: 0.8251 MB / 1.029 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/1.328, allocations: 39.77 kB / 1.029 GB, free: 4.703 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/1.328, allocations: 442.5 kB / 1.03 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/1.328, allocations: 261.2 kB / 1.03 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/1.329, allocations: 163.3 kB / 1.03 GB, free: 4 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.329, allocations: 338.3 kB / 1.03 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.33, allocations: 0.5375 MB / 1.031 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/1.332, allocations: 0.6635 MB / 1.032 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002766/1.334, allocations: 1.151 MB / 1.033 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.334, allocations: 0 / 1.033 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003451/1.338, allocations: 1.363 MB / 1.034 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/1.338, allocations: 38.14 kB / 1.034 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.338, allocations: 2.406 kB / 1.034 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/1.338, allocations: 2.594 kB / 1.034 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.34, allocations: 272.9 kB / 1.034 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007378/1.34, allocations: 1.194 MB / 1.036 GB, free: 424 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.342, allocations: 173.3 kB / 1.036 GB, free: 332 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-05/1.342, allocations: 35.53 kB / 1.036 GB, free: 320 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00182/1.344, allocations: 0.7668 MB / 1.037 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001466/1.345, allocations: 0.6623 MB / 1.037 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002632/1.348, allocations: 1.146 MB / 1.038 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/1.348, allocations: 0 / 1.038 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003359/1.351, allocations: 1.349 MB / 1.04 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/1.351, allocations: 37.2 kB / 1.04 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.351, allocations: 3 kB / 1.04 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-06/1.351, allocations: 2.281 kB / 1.04 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.353, allocations: 237.7 kB / 1.04 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.353, allocations: 8.812 kB / 1.04 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/1.354, allocations: 171 kB / 1.04 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/1.354, allocations: 31.08 kB / 1.04 GB, free: 14.03 MB / 0.7637 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.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 (86): * Single equations (assignments): 83 * 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.0003567/1.354, allocations: 219.8 kB / 1.04 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/1.355, allocations: 105.8 kB / 1.04 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003685/1.358, allocations: 1.366 MB / 1.042 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.358, allocations: 8 kB / 1.042 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.358, allocations: 0 / 1.042 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/1.358, allocations: 3.984 kB / 1.042 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005854/1.364, allocations: 2.855 MB / 1.045 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.364, allocations: 11.94 kB / 1.045 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/1.366, allocations: 228 kB / 1.045 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/1.366, allocations: 8 kB / 1.045 GB, free: 9.707 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/1.366, allocations: 31.92 kB / 1.045 GB, free: 9.676 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007098/1.366, allocations: 1.188 MB / 1.046 GB, free: 8.441 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.366, allocations: 4 kB / 1.046 GB, free: 8.438 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/1.37, allocations: 1.467 MB / 1.047 GB, free: 6.902 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006558/1.371, allocations: 307.5 kB / 1.048 GB, free: 6.582 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/1.371, allocations: 19.94 kB / 1.048 GB, free: 6.562 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.372, allocations: 147.7 kB / 1.048 GB, free: 6.418 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/1.372, allocations: 64.42 kB / 1.048 GB, free: 6.355 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.56e-05/1.372, allocations: 39.91 kB / 1.048 GB, free: 6.316 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008632/1.373, allocations: 0.57 MB / 1.048 GB, free: 5.734 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/1.373, allocations: 3.938 kB / 1.048 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001644/1.375, allocations: 0.5341 MB / 1.049 GB, free: 5.195 MB / 0.7637 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 (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.0007128/1.375, allocations: 261.8 kB / 1.049 GB, free: 4.953 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00542/1.381, allocations: 2.043 MB / 1.051 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.381, allocations: 0 / 1.051 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/1.383, allocations: 0.6675 MB / 1.052 GB, free: 2.223 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/1.385, allocations: 0.5172 MB / 1.052 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/1.39, allocations: 2.509 MB / 1.055 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/1.391, allocations: 1.087 MB / 1.056 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001775/1.393, allocations: 391.5 kB / 1.056 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/1.393, allocations: 87.39 kB / 1.056 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of SimCode: time 9.72e-07/1.393, allocations: 8 kB / 1.056 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.03305/1.426, allocations: 20.12 MB / 1.076 GB, free: 9.695 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (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)