Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.811/1.811, allocations: 288.2 MB / 303.2 MB, free: 8.113 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.001124/0.001125, allocations: 185 kB / 371.8 MB, free: 10.28 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.643/1.643, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009299/0.00093, allocations: 101.2 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004102, allocations: 15.97 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2411, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.67/5.911, allocations: 2.358 GB / 3.338 GB, free: 260.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/5.912, allocations: 93.52 kB / 3.338 GB, free: 260.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.996/8.907, allocations: 0.9482 GB / 4.286 GB, free: 29.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.773e-06/8.907, allocations: 0 / 4.286 GB, free: 29.15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001911/8.908, allocations: 51.97 kB / 4.286 GB, free: 29.1 MB / 0.948 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.006986/8.915, allocations: 2.405 MB / 4.288 GB, free: 26.63 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/8.915, allocations: 8.031 kB / 4.288 GB, free: 26.62 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004371/8.915, allocations: 152.2 kB / 4.289 GB, free: 26.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004031/8.919, allocations: 0.5558 MB / 4.289 GB, free: 25.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004686/8.924, allocations: 1.415 MB / 4.29 GB, free: 24.44 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000844/8.925, allocations: 222.3 kB / 4.291 GB, free: 24.22 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003485/8.925, allocations: 116 kB / 4.291 GB, free: 24.11 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003703/8.929, allocations: 1.39 MB / 4.292 GB, free: 22.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/8.929, allocations: 7.938 kB / 4.292 GB, free: 22.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/8.929, allocations: 40 kB / 4.292 GB, free: 22.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.307e-05/8.929, allocations: 41.98 kB / 4.292 GB, free: 22.58 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003045/8.932, allocations: 1.39 MB / 4.294 GB, free: 21.19 MB / 0.948 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.01162/8.944, allocations: 5.444 MB / 4.299 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/8.948, allocations: 1.124 MB / 4.3 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/8.949, allocations: 0.7513 MB / 4.301 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/8.95, allocations: 0.6446 MB / 4.301 GB, free: 12.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=81): time 3.126e-06/8.95, allocations: 0 / 4.301 GB, free: 12.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=81): time 0.004014/8.954, allocations: 1.698 MB / 4.303 GB, free: 11.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/8.955, allocations: 188.6 kB / 4.303 GB, free: 10.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/8.956, allocations: 1.173 MB / 4.304 GB, free: 9.645 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000189/8.956, allocations: 49.7 kB / 4.304 GB, free: 9.59 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/8.957, allocations: 0.6507 MB / 4.305 GB, free: 8.93 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/8.957, allocations: 280.1 kB / 4.305 GB, free: 8.652 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/8.957, allocations: 23.94 kB / 4.305 GB, free: 8.629 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.282e-05/8.957, allocations: 345.9 kB / 4.306 GB, free: 8.285 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/8.958, allocations: 0.5491 MB / 4.306 GB, free: 7.734 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/8.96, allocations: 0.8723 MB / 4.307 GB, free: 6.742 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/8.961, allocations: 0.6399 MB / 4.308 GB, free: 6.094 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/8.961, allocations: 3.953 kB / 4.308 GB, free: 6.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003113/8.964, allocations: 1.571 MB / 4.309 GB, free: 4.508 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002828/8.964, allocations: 1.906 MB / 4.311 GB, free: 2.488 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/8.964, allocations: 4 kB / 4.311 GB, free: 2.484 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/8.964, allocations: 12 kB / 4.311 GB, free: 2.473 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/8.966, allocations: 343.4 kB / 4.311 GB, free: 2.137 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004467/8.966, allocations: 1.199 MB / 4.313 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/8.968, allocations: 250.6 kB / 4.313 GB, free: 0.6445 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/8.968, allocations: 55.97 kB / 4.313 GB, free: 0.5898 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/8.968, allocations: 0 / 4.313 GB, free: 0.5898 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002989/8.971, allocations: 1.411 MB / 4.314 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/8.971, allocations: 4 kB / 4.314 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/8.971, allocations: 12 kB / 4.314 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/8.973, allocations: 327.7 kB / 4.315 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/8.973, allocations: 19.92 kB / 4.315 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/8.974, allocations: 222.8 kB / 4.315 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/8.974, allocations: 59.97 kB / 4.315 GB, free: 14.54 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008032/8.975, allocations: 419.3 kB / 4.315 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/8.975, allocations: 162 kB / 4.315 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/8.979, allocations: 1.4 MB / 4.317 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/8.979, allocations: 8 kB / 4.317 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/8.979, allocations: 0 / 4.317 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/8.979, allocations: 3.984 kB / 4.317 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00571/8.984, allocations: 2.917 MB / 4.32 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/8.984, allocations: 4 kB / 4.32 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/8.986, allocations: 256.1 kB / 4.32 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/8.986, allocations: 8 kB / 4.32 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/8.986, allocations: 31.94 kB / 4.32 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006396/8.987, allocations: 1.188 MB / 4.321 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/8.987, allocations: 7.938 kB / 4.321 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/8.992, allocations: 2.369 MB / 4.323 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008283/8.992, allocations: 378.7 kB / 4.324 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/8.993, allocations: 23.95 kB / 4.324 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/8.994, allocations: 147.9 kB / 4.324 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/8.994, allocations: 68.5 kB / 4.324 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.989e-05/8.994, allocations: 39.97 kB / 4.324 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00131/8.996, allocations: 0.8987 MB / 4.325 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/8.996, allocations: 4 kB / 4.325 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003044/8.999, allocations: 1.046 MB / 4.326 GB, free: 2.855 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4993/9.498, allocations: 5.863 MB / 4.332 GB, free: 142.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006077/9.504, allocations: 2.242 MB / 4.334 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/9.504, allocations: 0.8125 kB / 4.334 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/9.506, allocations: 0.662 MB / 4.335 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00373/9.51, allocations: 0.6932 MB / 4.335 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008591/9.518, allocations: 7.216 MB / 4.342 GB, free: 137.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008128/9.519, allocations: 1.264 MB / 4.343 GB, free: 137 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002414/9.522, allocations: 424.4 kB / 4.344 GB, free: 137 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008517/9.522, allocations: 0.5859 MB / 4.344 GB, free: 137 MB / 0.9636 GB Notification: Performance of SimCode: time 9.71e-07/9.522, allocations: 0 / 4.344 GB, free: 137 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/9.648, allocations: 68.65 MB / 4.411 GB, free: 135.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/9.648, allocations: 275.3 kB / 4.412 GB, free: 135.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.552/14.2, allocations: 0 / 4.412 GB, free: 135.4 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)