Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00088/0.0008799, allocations: 91.38 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.006965/0.006965, allocations: 170.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.549/2.549, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 13.97 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2571, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6542/0.9113, allocations: 205.9 MB / 1.26 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.9238, allocations: 10.72 MB / 1.27 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.9252, allocations: 52.34 kB / 1.27 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.9268, allocations: 0.6727 MB / 1.271 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005239/0.9321, allocations: 2.264 MB / 1.273 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00495/0.937, allocations: 2.031 MB / 1.275 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005797/0.9428, allocations: 4.59 MB / 1.28 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.9447, allocations: 1.111 MB / 1.281 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003731/0.9484, allocations: 1.7 MB / 1.282 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.9507, allocations: 1.107 MB / 1.284 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.951, allocations: 61.41 kB / 1.284 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005677/0.9566, allocations: 3.177 MB / 1.287 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004597/0.9571, allocations: 375.8 kB / 1.287 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.9582, allocations: 0.8234 MB / 1.288 GB, free: 17.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004318/0.9626, allocations: 3.282 MB / 1.291 GB, free: 17.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.9626, allocations: 0 / 1.291 GB, free: 17.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9626, allocations: 0 / 1.291 GB, free: 17.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.959e-05/0.9626, allocations: 1 kB / 1.291 GB, free: 17.73 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004217/0.9668, allocations: 2.033 MB / 1.293 GB, free: 16.6 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.9669, allocations: 12.94 kB / 1.293 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.9671, allocations: 150.3 kB / 1.293 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/0.9699, allocations: 0.5862 MB / 1.294 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/0.972, allocations: 1.256 MB / 1.295 GB, free: 16.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006451/0.9727, allocations: 213.6 kB / 1.295 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.9729, allocations: 112.8 kB / 1.295 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.9754, allocations: 1.354 MB / 1.297 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.9754, allocations: 1.156 kB / 1.297 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.9755, allocations: 37.47 kB / 1.297 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/0.9756, allocations: 47.66 kB / 1.297 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/0.9787, allocations: 1.393 MB / 1.298 GB, free: 15.82 MB / 1.014 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.007752/0.9865, allocations: 5.322 MB / 1.303 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/0.9889, allocations: 1.055 MB / 1.304 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.9902, allocations: 0.5632 MB / 1.305 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.9913, allocations: 0.7792 MB / 1.306 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/0.9927, allocations: 0.6291 MB / 1.306 GB, free: 12.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=81): time 3.326e-06/0.9927, allocations: 0 / 1.306 GB, free: 12.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.004115/0.9968, allocations: 1.652 MB / 1.308 GB, free: 12.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.9969, allocations: 67.69 kB / 1.308 GB, free: 12.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.9984, allocations: 1.328 MB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.961e-05/0.9985, allocations: 48.92 kB / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.999, allocations: 0.6464 MB / 1.31 GB, free: 12.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.9992, allocations: 275 kB / 1.31 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.9993, allocations: 97.56 kB / 1.31 GB, free: 11.88 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.9994, allocations: 355.8 kB / 1.311 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/1.001, allocations: 0.5196 MB / 1.311 GB, free: 11.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/1.002, allocations: 0.7867 MB / 1.312 GB, free: 11.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/1.004, allocations: 1.218 MB / 1.313 GB, free: 11.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.005, allocations: 3.375 kB / 1.313 GB, free: 11.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003018/1.008, allocations: 1.516 MB / 1.315 GB, free: 10.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/1.008, allocations: 256 kB / 1.315 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.008, allocations: 7.156 kB / 1.315 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.008, allocations: 9.875 kB / 1.315 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.009, allocations: 359.7 kB / 1.315 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006571/1.01, allocations: 1.19 MB / 1.316 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/1.012, allocations: 242.2 kB / 1.317 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.661e-05/1.012, allocations: 51.95 kB / 1.317 GB, free: 9.324 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/1.012, allocations: 6.875 kB / 1.317 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002766/1.015, allocations: 1.352 MB / 1.318 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.015, allocations: 3.156 kB / 1.318 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/1.015, allocations: 11.31 kB / 1.318 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.016, allocations: 320.8 kB / 1.318 GB, free: 9.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/1.016, allocations: 9.438 kB / 1.318 GB, free: 9.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.017, allocations: 221.3 kB / 1.318 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.884e-05/1.017, allocations: 55.77 kB / 1.319 GB, free: 9.188 MB / 1.014 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 (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 (130): * Single equations (assignments): 127 * 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.0005054/1.018, allocations: 409.2 kB / 1.319 GB, free: 8.996 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/1.018, allocations: 162.4 kB / 1.319 GB, free: 8.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003023/1.021, allocations: 1.358 MB / 1.32 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/1.021, allocations: 12.11 kB / 1.32 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.021, allocations: 3.484 kB / 1.32 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.021, allocations: 4.125 kB / 1.32 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004584/1.026, allocations: 2.9 MB / 1.323 GB, free: 8.297 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.026, allocations: 2.938 kB / 1.323 GB, free: 8.297 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.027, allocations: 251 kB / 1.323 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/1.027, allocations: 5.094 kB / 1.323 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/1.027, allocations: 31.81 kB / 1.324 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005156/1.027, allocations: 1.192 MB / 1.325 GB, free: 7.105 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.027, allocations: 5.656 kB / 1.325 GB, free: 7.105 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004078/1.032, allocations: 2.12 MB / 1.327 GB, free: 6.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004966/1.032, allocations: 366.3 kB / 1.327 GB, free: 6.492 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/1.032, allocations: 26.2 kB / 1.327 GB, free: 6.492 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.034, allocations: 163 kB / 1.327 GB, free: 6.473 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/1.034, allocations: 73.14 kB / 1.327 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-05/1.034, allocations: 41.73 kB / 1.327 GB, free: 6.465 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009999/1.035, allocations: 0.9015 MB / 1.328 GB, free: 6.352 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.035, allocations: 2.078 kB / 1.328 GB, free: 6.352 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001761/1.037, allocations: 0.7901 MB / 1.329 GB, free: 6.266 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * 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 (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.00515/1.042, allocations: 3.024 MB / 1.332 GB, free: 5.258 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004593/1.046, allocations: 2.11 MB / 1.334 GB, free: 5.066 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.046, allocations: 0 / 1.334 GB, free: 5.066 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/1.048, allocations: 0.6537 MB / 1.335 GB, free: 5.051 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003722/1.051, allocations: 0.683 MB / 1.335 GB, free: 4.992 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/1.071, allocations: 12.79 MB / 1.348 GB, free: 15.87 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/1.072, allocations: 1.223 MB / 1.349 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001653/1.074, allocations: 418.6 kB / 1.349 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/1.074, allocations: 0.5709 MB / 1.35 GB, free: 14.7 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/1.074, allocations: 2.906 kB / 1.35 GB, free: 14.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.442/2.516, allocations: 40.83 MB / 1.39 GB, free: 15.08 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/2.517, allocations: 308.2 kB / 1.39 GB, free: 14.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/5.576, allocations: 3.75 kB / 1.39 GB, free: 14.7 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)