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.001157/0.001157, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001108/0.001108, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.385/1.385, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.833/1.833, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001472/0.001472, allocations: 67.89 kB / 0.6721 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2511, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6129/0.8641, allocations: 214.2 MB / 0.9932 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.8748, allocations: 6.945 MB / 1 GB, free: 13.27 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.8764, allocations: 43.75 kB / 1 GB, free: 13.22 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.8784, allocations: 0.7804 MB / 1.001 GB, free: 12.44 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006269/0.8847, allocations: 2.493 MB / 1.003 GB, free: 9.934 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.8877, allocations: 1.156 MB / 1.004 GB, free: 8.793 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003743/0.8915, allocations: 2.79 MB / 1.007 GB, free: 5.996 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.8931, allocations: 1.096 MB / 1.008 GB, free: 4.887 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004216/0.8973, allocations: 1.977 MB / 1.01 GB, free: 2.902 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.8994, allocations: 0.926 MB / 1.011 GB, free: 1.98 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002375/0.8996, allocations: 120 kB / 1.011 GB, free: 1.863 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004408/0.904, allocations: 2.448 MB / 1.014 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005029/0.9046, allocations: 422.7 kB / 1.014 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009166/0.9055, allocations: 0.6881 MB / 1.015 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003955/0.9094, allocations: 2.474 MB / 1.017 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9095, allocations: 0 / 1.017 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9095, allocations: 0 / 1.017 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.307e-05/0.9095, allocations: 4 kB / 1.017 GB, free: 11.82 MB / 0.8106 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.004604/0.9141, allocations: 1.85 MB / 1.019 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.9142, allocations: 8.031 kB / 1.019 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/0.9174, allocations: 0.5408 MB / 1.019 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.9193, allocations: 0.9543 MB / 1.02 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006607/0.92, allocations: 177.9 kB / 1.02 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.9202, allocations: 87.98 kB / 1.021 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.9231, allocations: 1.241 MB / 1.022 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.9231, allocations: 0 / 1.022 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.9233, allocations: 28 kB / 1.022 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.644e-05/0.9233, allocations: 49.98 kB / 1.022 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003828/0.9271, allocations: 1.546 MB / 1.023 GB, free: 5.234 MB / 0.8106 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.00693/0.9341, allocations: 4.084 MB / 1.027 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/0.9367, allocations: 0.9934 MB / 1.028 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.9383, allocations: 0.6669 MB / 1.029 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.9394, allocations: 0.6087 MB / 1.03 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.9395, allocations: 52.03 kB / 1.03 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=76): time 2.996e-06/0.9395, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=76): time 0.005212/0.9447, allocations: 1.808 MB / 1.031 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.9448, allocations: 64.06 kB / 1.031 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.9459, allocations: 0.8154 MB / 1.032 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.9461, allocations: 45.64 kB / 1.032 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.9464, allocations: 440.5 kB / 1.033 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.9467, allocations: 260.1 kB / 1.033 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/0.947, allocations: 162.5 kB / 1.033 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9472, allocations: 337.9 kB / 1.033 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.9487, allocations: 0.5356 MB / 1.034 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.9503, allocations: 0.6676 MB / 1.035 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.9532, allocations: 1.155 MB / 1.036 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.9532, allocations: 0 / 1.036 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003617/0.9569, allocations: 1.36 MB / 1.037 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.978e-05/0.9569, allocations: 41.69 kB / 1.037 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.957, allocations: 0 / 1.037 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.957, allocations: 6.125 kB / 1.037 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.9586, allocations: 259.5 kB / 1.037 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007766/0.9594, allocations: 1.196 MB / 1.038 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.9606, allocations: 155 kB / 1.039 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.785e-05/0.9608, allocations: 31.98 kB / 1.039 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00191/0.9627, allocations: 0.7711 MB / 1.039 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001605/0.9643, allocations: 0.6559 MB / 1.04 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002914/0.9672, allocations: 1.139 MB / 1.041 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.9672, allocations: 0 / 1.041 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003555/0.9708, allocations: 1.36 MB / 1.042 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.9709, allocations: 45.69 kB / 1.043 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.9709, allocations: 4 kB / 1.043 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.9709, allocations: 4 kB / 1.043 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.9722, allocations: 227.7 kB / 1.043 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.9722, allocations: 4 kB / 1.043 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.9733, allocations: 136.2 kB / 1.043 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.9735, allocations: 39.97 kB / 1.043 GB, free: 484 kB / 0.8262 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.0003053/0.9738, allocations: 224.1 kB / 1.043 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.974, allocations: 102.7 kB / 1.043 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003698/0.9778, allocations: 1.367 MB / 1.045 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.9778, allocations: 8 kB / 1.045 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.9778, allocations: 0 / 1.045 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.9778, allocations: 7.922 kB / 1.045 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0059/0.9837, allocations: 2.849 MB / 1.047 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.9838, allocations: 7.938 kB / 1.047 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.985, allocations: 241.3 kB / 1.048 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/0.9851, allocations: 4 kB / 1.048 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/0.9852, allocations: 27.97 kB / 1.048 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006802/0.9858, allocations: 1.191 MB / 1.049 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/0.9859, allocations: 12.12 kB / 1.049 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.9893, allocations: 1.455 MB / 1.05 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006206/0.99, allocations: 315.4 kB / 1.051 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.9902, allocations: 23.94 kB / 1.051 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.9914, allocations: 111.9 kB / 1.051 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.9916, allocations: 60.42 kB / 1.051 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.9917, allocations: 40 kB / 1.051 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009083/0.9926, allocations: 0.5661 MB / 1.051 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9926, allocations: 0 / 1.051 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001596/0.9942, allocations: 0.5341 MB / 1.052 GB, free: 7.094 MB / 0.8419 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.0006503/0.9949, allocations: 268.5 kB / 1.052 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005933/1.001, allocations: 2.154 MB / 1.054 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.001, allocations: 0 / 1.054 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/1.003, allocations: 0.6676 MB / 1.055 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/1.005, allocations: 0.4966 MB / 1.055 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004966/1.01, allocations: 2.159 MB / 1.057 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/1.011, allocations: 1.094 MB / 1.059 GB, free: 192 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/1.012, allocations: 99.39 kB / 1.059 GB, free: 92 kB / 0.8419 GB Notification: Performance of SimCode: time 1.243e-06/1.012, allocations: 0 / 1.059 GB, free: 92 kB / 0.8419 GB Notification: Performance of Templates: time 0.03507/1.047, allocations: 26.74 MB / 1.085 GB, free: 5.535 MB / 0.8731 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)