Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.182/2.182, allocations: 391.2 MB / 407 MB, free: 10.77 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.00155/0.00155, allocations: 195.4 kB / 499.1 MB, free: 4.617 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.429/1.429, 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.001093/0.001093, allocations: 108.7 kB / 0.9329 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001072, allocations: 50.64 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2436, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.1805/0.4241, allocations: 197.6 MB / 1.411 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01154/0.4357, allocations: 7.748 MB / 1.419 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.4376, allocations: 39.75 kB / 1.419 GB, free: 7.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.44, allocations: 0.5672 MB / 1.419 GB, free: 6.449 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.005765/0.4458, allocations: 1.844 MB / 1.421 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.4491, allocations: 1.057 MB / 1.422 GB, free: 3.551 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.004357/0.4535, allocations: 3.48 MB / 1.425 GB, free: 64 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5664/1.02, allocations: 0.8182 MB / 1.426 GB, free: 4.27 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003958/1.024, allocations: 1.4 MB / 1.428 GB, free: 4.262 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/1.026, allocations: 0.8336 MB / 1.428 GB, free: 4.262 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002862/1.027, allocations: 51.56 kB / 1.429 GB, free: 4.262 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004987/1.032, allocations: 1.982 MB / 1.43 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0005604/1.032, allocations: 279.8 kB / 1.431 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/1.033, allocations: 0.5599 MB / 1.431 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004725/1.038, allocations: 2.151 MB / 1.433 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.038, allocations: 0 / 1.433 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.383e-06/1.038, allocations: 0 / 1.433 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.435e-05/1.038, allocations: 0 / 1.433 GB, free: 4.207 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.005027/1.043, allocations: 1.667 MB / 1.435 GB, free: 19.34 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.043, allocations: 12.86 kB / 1.435 GB, free: 19.34 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/1.046, allocations: 433 kB / 1.435 GB, free: 19.26 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002157/1.048, allocations: 0.9156 MB / 1.436 GB, free: 18.92 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006719/1.049, allocations: 165.7 kB / 1.436 GB, free: 18.91 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/1.049, allocations: 76.39 kB / 1.437 GB, free: 18.91 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/1.052, allocations: 1.088 MB / 1.438 GB, free: 18.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/1.052, allocations: 4.062 kB / 1.438 GB, free: 18.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/1.052, allocations: 29.03 kB / 1.438 GB, free: 18.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.453e-05/1.052, allocations: 40.67 kB / 1.438 GB, free: 18.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003373/1.055, allocations: 1.189 MB / 1.439 GB, free: 18.77 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.007403/1.063, allocations: 4.115 MB / 1.443 GB, free: 16.95 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/1.065, allocations: 0.8556 MB / 1.444 GB, free: 16.89 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/1.067, allocations: 0.4954 MB / 1.444 GB, free: 16.88 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008455/1.068, allocations: 0.6395 MB / 1.445 GB, free: 16.21 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/1.069, allocations: 0.5941 MB / 1.445 GB, free: 16.13 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 2.595e-06/1.069, allocations: 1.203 kB / 1.445 GB, free: 16.13 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.004606/1.074, allocations: 1.411 MB / 1.447 GB, free: 16 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/1.074, allocations: 84.77 kB / 1.447 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/1.075, allocations: 0.8396 MB / 1.448 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-05/1.075, allocations: 41.3 kB / 1.448 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/1.076, allocations: 430.9 kB / 1.448 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/1.076, allocations: 190.7 kB / 1.448 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/1.076, allocations: 127.3 kB / 1.448 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.076, allocations: 331.6 kB / 1.449 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/1.077, allocations: 425.2 kB / 1.449 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/1.079, allocations: 0.5375 MB / 1.45 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/1.081, allocations: 0.9009 MB / 1.451 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.081, allocations: 2.188 kB / 1.451 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003003/1.084, allocations: 1.085 MB / 1.452 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/1.084, allocations: 35.67 kB / 1.452 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.084, allocations: 1.5 kB / 1.452 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/1.084, allocations: 7.781 kB / 1.452 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/1.086, allocations: 233 kB / 1.452 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006297/1.086, allocations: 1.197 MB / 1.453 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.088, allocations: 163.5 kB / 1.453 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.238e-05/1.088, allocations: 29.88 kB / 1.453 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001613/1.089, allocations: 0.6129 MB / 1.454 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00126/1.091, allocations: 0.5354 MB / 1.454 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002295/1.093, allocations: 0.8986 MB / 1.455 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/1.093, allocations: 2.438 kB / 1.455 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002857/1.096, allocations: 1.076 MB / 1.456 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/1.096, allocations: 33.58 kB / 1.456 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.096, allocations: 2.062 kB / 1.456 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/1.096, allocations: 10 kB / 1.456 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009881/1.097, allocations: 205.9 kB / 1.456 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/1.097, allocations: 5.531 kB / 1.457 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/1.098, allocations: 155.4 kB / 1.457 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/1.098, allocations: 28.28 kB / 1.457 GB, free: 12.89 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * 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.0002857/1.099, allocations: 225.2 kB / 1.457 GB, free: 12.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/1.099, allocations: 97.25 kB / 1.457 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/1.102, allocations: 1.125 MB / 1.458 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/1.102, allocations: 10.28 kB / 1.458 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.102, allocations: 7.938 kB / 1.458 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/1.102, allocations: 3.094 kB / 1.458 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004794/1.107, allocations: 2.317 MB / 1.46 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/1.107, allocations: 2.156 kB / 1.46 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/1.108, allocations: 204.2 kB / 1.461 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/1.108, allocations: 4.75 kB / 1.461 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/1.108, allocations: 19.5 kB / 1.461 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006487/1.108, allocations: 1.195 MB / 1.462 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.108, allocations: 6.766 kB / 1.462 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005151/1.114, allocations: 2.485 MB / 1.464 GB, free: 9.977 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007353/1.114, allocations: 291 kB / 1.464 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/1.115, allocations: 16.12 kB / 1.464 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.116, allocations: 130.8 kB / 1.465 GB, free: 9.809 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/1.116, allocations: 63.5 kB / 1.465 GB, free: 9.805 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.971e-05/1.116, allocations: 30.69 kB / 1.465 GB, free: 9.805 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00089/1.117, allocations: 0.5846 MB / 1.465 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.8e-07/1.117, allocations: 0 / 1.465 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001844/1.119, allocations: 494.6 kB / 1.466 GB, free: 9.637 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.0006988/1.12, allocations: 292.6 kB / 1.466 GB, free: 9.52 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004694/1.124, allocations: 1.63 MB / 1.468 GB, free: 9.34 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.125, allocations: 2.125 kB / 1.468 GB, free: 9.34 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/1.126, allocations: 0.5629 MB / 1.468 GB, free: 9.328 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/1.129, allocations: 461 kB / 1.469 GB, free: 9.289 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/1.134, allocations: 2.607 MB / 1.471 GB, free: 8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/1.135, allocations: 1.057 MB / 1.472 GB, free: 7.285 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001612/1.136, allocations: 280.2 kB / 1.472 GB, free: 7.219 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/1.137, allocations: 85.38 kB / 1.473 GB, free: 7.211 MB / 0.9323 GB Notification: Performance of SimCode: time 7.61e-07/1.137, allocations: 8.281 kB / 1.473 GB, free: 7.207 MB / 0.9323 GB Notification: Performance of Templates: time 0.03735/1.174, allocations: 19.26 MB / 1.491 GB, free: 4.414 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)