Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.009865/0.009866, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.449/1.449, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.708/1.708, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0008879/0.000888, allocations: 19.28 kB / 0.6743 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2604, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6781/0.9386, allocations: 206 MB / 0.9891 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.9598, allocations: 13.62 MB / 1.002 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/0.9628, allocations: 58.47 kB / 1.002 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.9655, allocations: 0.7069 MB / 1.003 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007871/0.9734, allocations: 2.242 MB / 1.005 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009964/0.9834, allocations: 3.066 MB / 1.008 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006981/0.9904, allocations: 4.605 MB / 1.013 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/0.9928, allocations: 1.112 MB / 1.014 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004471/0.9972, allocations: 1.72 MB / 1.016 GB, free: 208 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.9999, allocations: 1.106 MB / 1.017 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002945/1, allocations: 60.19 kB / 1.017 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006573/1.007, allocations: 3.286 MB / 1.02 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006759/1.008, allocations: 383.7 kB / 1.02 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/1.009, allocations: 0.8296 MB / 1.021 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006924/1.016, allocations: 3.41 MB / 1.024 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.016, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.933e-06/1.016, allocations: 3.938 kB / 1.024 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.056e-05/1.016, allocations: 4 kB / 1.024 GB, free: 11.15 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.005162/1.021, allocations: 2.064 MB / 1.026 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.021, allocations: 14.81 kB / 1.026 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/1.024, allocations: 0.5879 MB / 1.027 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002542/1.027, allocations: 1.264 MB / 1.028 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006938/1.027, allocations: 223.6 kB / 1.028 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/1.027, allocations: 112.1 kB / 1.029 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/1.03, allocations: 1.373 MB / 1.03 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.03, allocations: 0 / 1.03 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/1.03, allocations: 45.69 kB / 1.03 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.399e-05/1.03, allocations: 41.52 kB / 1.03 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/1.034, allocations: 1.397 MB / 1.031 GB, free: 6.773 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.009612/1.043, allocations: 5.35 MB / 1.037 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/1.046, allocations: 1.185 MB / 1.038 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/1.048, allocations: 0.5673 MB / 1.038 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/1.049, allocations: 0.7777 MB / 1.039 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/1.05, allocations: 0.6376 MB / 1.04 GB, free: 472 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 3.536e-06/1.05, allocations: 0 / 1.04 GB, free: 472 kB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.004747/1.055, allocations: 1.68 MB / 1.041 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/1.055, allocations: 141.2 kB / 1.041 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/1.057, allocations: 1.347 MB / 1.043 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/1.057, allocations: 45.7 kB / 1.043 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005933/1.058, allocations: 0.6613 MB / 1.043 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/1.058, allocations: 284.8 kB / 1.044 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/1.058, allocations: 101.7 kB / 1.044 GB, free: 12.49 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.058, allocations: 349.9 kB / 1.044 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/1.06, allocations: 0.5491 MB / 1.045 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/1.061, allocations: 0.8395 MB / 1.046 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002793/1.064, allocations: 1.265 MB / 1.047 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.064, allocations: 4 kB / 1.047 GB, free: 9.305 MB / 0.7637 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003715/1.068, allocations: 1.579 MB / 1.048 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001828/1.068, allocations: 258.8 kB / 1.049 GB, free: 7.383 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/1.068, allocations: 7.984 kB / 1.049 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/1.068, allocations: 12 kB / 1.049 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/1.07, allocations: 351.5 kB / 1.049 GB, free: 7.02 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007529/1.071, allocations: 1.195 MB / 1.05 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.072, allocations: 239.3 kB / 1.05 GB, free: 5.543 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/1.073, allocations: 59.97 kB / 1.05 GB, free: 5.484 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.016e-06/1.073, allocations: 10.91 kB / 1.05 GB, free: 5.477 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003301/1.076, allocations: 1.403 MB / 1.052 GB, free: 4.066 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.076, allocations: 8 kB / 1.052 GB, free: 4.059 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/1.076, allocations: 8 kB / 1.052 GB, free: 4.051 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/1.077, allocations: 323.7 kB / 1.052 GB, free: 3.734 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/1.077, allocations: 15.94 kB / 1.052 GB, free: 3.719 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/1.079, allocations: 237.7 kB / 1.052 GB, free: 3.492 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.079, allocations: 51.98 kB / 1.052 GB, free: 3.441 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0007307/1.08, allocations: 412.8 kB / 1.053 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/1.08, allocations: 158 kB / 1.053 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/1.083, allocations: 1.389 MB / 1.054 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.084, allocations: 8 kB / 1.054 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.084, allocations: 7.938 kB / 1.054 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/1.084, allocations: 3.984 kB / 1.054 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005285/1.089, allocations: 2.907 MB / 1.057 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.089, allocations: 4 kB / 1.057 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/1.09, allocations: 240.2 kB / 1.057 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/1.09, allocations: 8 kB / 1.057 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.777e-05/1.09, allocations: 31.97 kB / 1.057 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005708/1.091, allocations: 1.188 MB / 1.059 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.091, allocations: 12 kB / 1.059 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004593/1.095, allocations: 2.14 MB / 1.061 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007456/1.096, allocations: 374.6 kB / 1.061 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/1.096, allocations: 20 kB / 1.061 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.098, allocations: 131.9 kB / 1.061 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/1.098, allocations: 80.44 kB / 1.061 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-05/1.098, allocations: 35.97 kB / 1.061 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001252/1.099, allocations: 0.9025 MB / 1.062 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/1.099, allocations: 0 / 1.062 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002273/1.101, allocations: 0.8309 MB / 1.063 GB, free: 8.367 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.001151/1.102, allocations: 0.4969 MB / 1.063 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005508/1.108, allocations: 2.241 MB / 1.066 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.108, allocations: 4 kB / 1.066 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/1.11, allocations: 0.6642 MB / 1.066 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00446/1.114, allocations: 0.7002 MB / 1.067 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006011/1.12, allocations: 3.382 MB / 1.07 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000791/1.121, allocations: 1.235 MB / 1.071 GB, free: 15.52 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002025/1.123, allocations: 411 kB / 1.072 GB, free: 15.12 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003894/1.123, allocations: 127.4 kB / 1.072 GB, free: 15 MB / 0.795 GB Notification: Performance of SimCode: time 7.01e-07/1.123, allocations: 0 / 1.072 GB, free: 15 MB / 0.795 GB Notification: Performance of Templates: time 0.05203/1.175, allocations: 30.61 MB / 1.102 GB, free: 0.7773 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: