Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.162/2.162, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 195.4 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 108.4 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 52.52 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2984, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2016/0.5, allocations: 212 MB / 1.425 GB, free: 460 kB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.6974/1.197, allocations: 7.124 MB / 1.432 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/1.2, allocations: 40.72 kB / 1.432 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002254/1.202, allocations: 0.6545 MB / 1.433 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.006606/1.209, allocations: 2.354 MB / 1.435 GB, free: 1.895 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003314/1.212, allocations: 1.056 MB / 1.436 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.006061/1.218, allocations: 3.78 MB / 1.44 GB, free: 1.855 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/1.22, allocations: 0.9249 MB / 1.441 GB, free: 1.766 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005284/1.225, allocations: 1.799 MB / 1.442 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/1.229, allocations: 0.9537 MB / 1.443 GB, free: 1.73 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003899/1.229, allocations: 58.84 kB / 1.443 GB, free: 1.73 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006152/1.235, allocations: 2.814 MB / 1.446 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0007655/1.236, allocations: 370.5 kB / 1.447 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001369/1.238, allocations: 0.626 MB / 1.447 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.005035/1.243, allocations: 2.567 MB / 1.45 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.243, allocations: 4 kB / 1.45 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.052e-06/1.243, allocations: 0 / 1.45 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.713e-05/1.243, allocations: 1.344 kB / 1.45 GB, free: 1.555 MB / 0.9167 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.004999/1.248, allocations: 1.849 MB / 1.452 GB, free: 16.63 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.248, allocations: 14.47 kB / 1.452 GB, free: 16.62 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003119/1.251, allocations: 0.5374 MB / 1.452 GB, free: 16.54 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/1.253, allocations: 0.9626 MB / 1.453 GB, free: 16.19 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006387/1.254, allocations: 177.6 kB / 1.453 GB, free: 16.18 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/1.254, allocations: 84.66 kB / 1.453 GB, free: 16.18 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/1.257, allocations: 1.235 MB / 1.454 GB, free: 16.11 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/1.257, allocations: 0 / 1.454 GB, free: 16.11 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.584e-05/1.257, allocations: 33.36 kB / 1.454 GB, free: 16.11 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-05/1.257, allocations: 49.62 kB / 1.455 GB, free: 16.11 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003626/1.26, allocations: 1.55 MB / 1.456 GB, free: 16.08 MB / 0.9323 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.006689/1.267, allocations: 4.04 MB / 1.46 GB, free: 14.49 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/1.27, allocations: 1.001 MB / 1.461 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/1.271, allocations: 0.6606 MB / 1.462 GB, free: 14.42 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/1.273, allocations: 0.6171 MB / 1.462 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/1.273, allocations: 43.59 kB / 1.462 GB, free: 13.81 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=76): time 3.848e-06/1.273, allocations: 0 / 1.462 GB, free: 13.81 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76): time 0.006352/1.279, allocations: 1.81 MB / 1.464 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/1.279, allocations: 60.41 kB / 1.464 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/1.28, allocations: 0.8212 MB / 1.465 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/1.281, allocations: 41.95 kB / 1.465 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/1.281, allocations: 441.1 kB / 1.465 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/1.281, allocations: 268.9 kB / 1.466 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003589/1.282, allocations: 153.1 kB / 1.466 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.282, allocations: 333.2 kB / 1.466 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/1.283, allocations: 0.5429 MB / 1.467 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/1.285, allocations: 0.6658 MB / 1.467 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/1.288, allocations: 1.148 MB / 1.468 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.288, allocations: 0 / 1.468 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003367/1.291, allocations: 1.36 MB / 1.47 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/1.291, allocations: 35.41 kB / 1.47 GB, free: 12.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.291, allocations: 2.094 kB / 1.47 GB, free: 12.35 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.291, allocations: 2.812 kB / 1.47 GB, free: 12.35 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.293, allocations: 269 kB / 1.47 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006451/1.293, allocations: 1.196 MB / 1.471 GB, free: 11.17 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.295, allocations: 182.4 kB / 1.471 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/1.295, allocations: 41.11 kB / 1.471 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001702/1.297, allocations: 0.767 MB / 1.472 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001443/1.298, allocations: 0.6584 MB / 1.473 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00274/1.301, allocations: 1.14 MB / 1.474 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.527e-06/1.301, allocations: 6.469 kB / 1.474 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003308/1.304, allocations: 1.355 MB / 1.475 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/1.304, allocations: 41.48 kB / 1.475 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.304, allocations: 0 / 1.475 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/1.304, allocations: 5.062 kB / 1.475 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/1.305, allocations: 232.9 kB / 1.475 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.305, allocations: 9.047 kB / 1.475 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/1.307, allocations: 170.3 kB / 1.476 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/1.307, allocations: 33.86 kB / 1.476 GB, free: 10.57 MB / 0.9323 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.0003332/1.307, allocations: 224.1 kB / 1.476 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/1.307, allocations: 105.7 kB / 1.476 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/1.311, allocations: 1.36 MB / 1.477 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/1.311, allocations: 9.469 kB / 1.477 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.311, allocations: 0 / 1.477 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/1.311, allocations: 6.719 kB / 1.477 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005924/1.317, allocations: 2.849 MB / 1.48 GB, free: 9.738 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/1.317, allocations: 5.125 kB / 1.48 GB, free: 9.738 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.318, allocations: 236 kB / 1.48 GB, free: 9.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/1.318, allocations: 12.38 kB / 1.48 GB, free: 9.727 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/1.318, allocations: 27.55 kB / 1.48 GB, free: 9.723 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005638/1.319, allocations: 1.191 MB / 1.482 GB, free: 8.551 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.319, allocations: 9.625 kB / 1.482 GB, free: 8.547 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005482/1.324, allocations: 2.902 MB / 1.484 GB, free: 7.562 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007224/1.325, allocations: 317.2 kB / 1.485 GB, free: 7.402 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/1.325, allocations: 21.12 kB / 1.485 GB, free: 7.402 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.326, allocations: 139.1 kB / 1.485 GB, free: 7.391 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/1.327, allocations: 61.22 kB / 1.485 GB, free: 7.383 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.119e-05/1.327, allocations: 43.84 kB / 1.485 GB, free: 7.383 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008004/1.327, allocations: 0.5651 MB / 1.485 GB, free: 7.273 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/1.327, allocations: 0 / 1.485 GB, free: 7.273 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001822/1.329, allocations: 0.5456 MB / 1.486 GB, free: 7.207 MB / 0.9323 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.000641/1.33, allocations: 270.3 kB / 1.486 GB, free: 7.078 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005405/1.335, allocations: 2.037 MB / 1.488 GB, free: 6.902 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.335, allocations: 0 / 1.488 GB, free: 6.902 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001745/1.337, allocations: 0.6759 MB / 1.489 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/1.34, allocations: 0.5096 MB / 1.489 GB, free: 6.836 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/1.347, allocations: 2.913 MB / 1.492 GB, free: 5.434 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009299/1.348, allocations: 1.115 MB / 1.493 GB, free: 4.719 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002039/1.35, allocations: 394.9 kB / 1.494 GB, free: 4.629 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/1.35, allocations: 86.41 kB / 1.494 GB, free: 4.621 MB / 0.9323 GB Notification: Performance of SimCode: time 6.62e-07/1.35, allocations: 4 kB / 1.494 GB, free: 4.617 MB / 0.9323 GB Notification: Performance of Templates: time 0.04791/1.398, allocations: 20.64 MB / 1.514 GB, free: 13.27 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)