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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.899/1.899, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 198.2 kB / 376.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001071, allocations: 101.8 kB / 0.748 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001098, allocations: 55.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2762, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7821/1.058, allocations: 212.1 MB / 1.189 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01353/1.072, allocations: 7.042 MB / 1.196 GB, free: 7.453 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00294/1.075, allocations: 41 kB / 1.196 GB, free: 7.438 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002517/1.078, allocations: 0.6534 MB / 1.197 GB, free: 7.062 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.008342/1.086, allocations: 2.348 MB / 1.199 GB, free: 5.789 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003615/1.09, allocations: 1.057 MB / 1.2 GB, free: 5.219 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005906/1.095, allocations: 3.735 MB / 1.204 GB, free: 3.84 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/1.097, allocations: 0.921 MB / 1.205 GB, free: 3.457 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005491/1.103, allocations: 1.795 MB / 1.206 GB, free: 2.66 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003429/1.106, allocations: 0.9604 MB / 1.207 GB, free: 2.27 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000299/1.107, allocations: 59.78 kB / 1.207 GB, free: 2.27 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007186/1.114, allocations: 2.811 MB / 1.21 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0008537/1.115, allocations: 363.1 kB / 1.211 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/1.116, allocations: 0.6265 MB / 1.211 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006779/1.123, allocations: 2.562 MB / 1.214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/1.123, allocations: 5.5 kB / 1.214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.236e-06/1.123, allocations: 0 / 1.214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.771e-05/1.123, allocations: 3.938 kB / 1.214 GB, free: 15.85 MB / 0.8073 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.006032/1.129, allocations: 1.841 MB / 1.215 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/1.129, allocations: 8.844 kB / 1.215 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/1.133, allocations: 0.5353 MB / 1.216 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/1.135, allocations: 0.9686 MB / 1.217 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007118/1.136, allocations: 174.8 kB / 1.217 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/1.136, allocations: 89.8 kB / 1.217 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/1.14, allocations: 1.234 MB / 1.218 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/1.14, allocations: 0 / 1.218 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/1.14, allocations: 32.03 kB / 1.218 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.89e-05/1.14, allocations: 47.12 kB / 1.218 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00463/1.145, allocations: 1.55 MB / 1.22 GB, free: 12.98 MB / 0.8073 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.009703/1.154, allocations: 4.048 MB / 1.224 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/1.157, allocations: 1 MB / 1.225 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/1.159, allocations: 0.6721 MB / 1.226 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/1.161, allocations: 0.6118 MB / 1.226 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/1.161, allocations: 41.86 kB / 1.226 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=76): time 3.596e-06/1.161, allocations: 0 / 1.226 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of matching and sorting (n=76): time 0.006032/1.167, allocations: 1.804 MB / 1.228 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/1.167, allocations: 60.86 kB / 1.228 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/1.168, allocations: 0.8319 MB / 1.229 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/1.168, allocations: 42.98 kB / 1.229 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004525/1.169, allocations: 446.3 kB / 1.229 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/1.169, allocations: 264.6 kB / 1.23 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/1.17, allocations: 157.7 kB / 1.23 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.17, allocations: 337.4 kB / 1.23 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/1.172, allocations: 0.5372 MB / 1.231 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/1.173, allocations: 0.6649 MB / 1.231 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/1.177, allocations: 1.147 MB / 1.232 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.177, allocations: 0 / 1.232 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004435/1.181, allocations: 1.358 MB / 1.234 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.499e-05/1.181, allocations: 39.02 kB / 1.234 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.181, allocations: 1.531 kB / 1.234 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/1.181, allocations: 4.094 kB / 1.234 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/1.183, allocations: 261.9 kB / 1.234 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/1.184, allocations: 1.195 MB / 1.235 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.186, allocations: 175.1 kB / 1.235 GB, free: 4.562 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/1.186, allocations: 38.05 kB / 1.235 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002246/1.189, allocations: 0.7679 MB / 1.236 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001833/1.191, allocations: 0.659 MB / 1.237 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003243/1.194, allocations: 1.143 MB / 1.238 GB, free: 3.535 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.264e-06/1.194, allocations: 0 / 1.238 GB, free: 3.535 MB / 0.8073 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.004175/1.198, allocations: 1.356 MB / 1.239 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/1.198, allocations: 38.75 kB / 1.239 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.198, allocations: 1.891 kB / 1.239 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/1.198, allocations: 5.594 kB / 1.239 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/1.199, allocations: 236.5 kB / 1.239 GB, free: 3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.199, allocations: 4.719 kB / 1.239 GB, free: 3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/1.201, allocations: 164.9 kB / 1.24 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.201, allocations: 36.81 kB / 1.24 GB, free: 2.945 MB / 0.8073 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.0004067/1.202, allocations: 222 kB / 1.24 GB, free: 2.734 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/1.202, allocations: 107.1 kB / 1.24 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003912/1.206, allocations: 1.36 MB / 1.241 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.206, allocations: 5.625 kB / 1.241 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.206, allocations: 1.188 kB / 1.241 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/1.206, allocations: 14.16 kB / 1.241 GB, free: 2.199 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007064/1.213, allocations: 2.849 MB / 1.244 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/1.213, allocations: 7.594 kB / 1.244 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/1.214, allocations: 242.8 kB / 1.244 GB, free: 0.875 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/1.214, allocations: 8 kB / 1.244 GB, free: 0.875 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/1.214, allocations: 22.31 kB / 1.244 GB, free: 0.8672 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007363/1.215, allocations: 1.198 MB / 1.246 GB, free: 15.67 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.215, allocations: 6.156 kB / 1.246 GB, free: 15.67 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006293/1.221, allocations: 2.909 MB / 1.248 GB, free: 14.06 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008658/1.222, allocations: 311.4 kB / 1.249 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/1.223, allocations: 15.91 kB / 1.249 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/1.224, allocations: 140.5 kB / 1.249 GB, free: 13.81 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/1.224, allocations: 65.92 kB / 1.249 GB, free: 13.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.912e-05/1.224, allocations: 34.69 kB / 1.249 GB, free: 13.79 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009407/1.225, allocations: 0.5679 MB / 1.249 GB, free: 13.54 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.71e-07/1.225, allocations: 0 / 1.249 GB, free: 13.54 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001965/1.227, allocations: 0.541 MB / 1.25 GB, free: 13.43 MB / 0.823 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.0006818/1.228, allocations: 259.3 kB / 1.25 GB, free: 13.29 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006022/1.234, allocations: 2.045 MB / 1.252 GB, free: 12.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/1.234, allocations: 2.938 kB / 1.252 GB, free: 12.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/1.236, allocations: 0.6759 MB / 1.253 GB, free: 12.39 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/1.239, allocations: 0.5129 MB / 1.253 GB, free: 12.26 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/1.244, allocations: 2.925 MB / 1.256 GB, free: 9.598 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008284/1.245, allocations: 1.111 MB / 1.257 GB, free: 8.605 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001991/1.247, allocations: 394.1 kB / 1.258 GB, free: 8.316 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/1.248, allocations: 89.14 kB / 1.258 GB, free: 8.238 MB / 0.823 GB Notification: Performance of SimCode: time 7.61e-07/1.248, allocations: 0 / 1.258 GB, free: 8.238 MB / 0.823 GB Notification: Performance of Templates: time 0.03761/1.285, allocations: 20.62 MB / 1.278 GB, free: 4.07 MB / 0.8386 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)