Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",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.0007819/0.0007815, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004529/0.004529, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.645/2.645, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 12.25 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2579, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly): time 0.7334/0.9913, allocations: 222.7 MB / 1.276 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01786/1.009, allocations: 14.53 MB / 1.29 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/1.011, allocations: 72 kB / 1.29 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/1.014, allocations: 0.9388 MB / 1.291 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006466/1.02, allocations: 2.509 MB / 1.294 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003871/1.024, allocations: 1.624 MB / 1.295 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007127/1.031, allocations: 6.331 MB / 1.302 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/1.033, allocations: 1.541 MB / 1.303 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003877/1.037, allocations: 1.981 MB / 1.305 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/1.039, allocations: 1.328 MB / 1.306 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/1.04, allocations: 72.41 kB / 1.306 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004164/1.044, allocations: 2.142 MB / 1.308 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000524/1.044, allocations: 0.5755 MB / 1.309 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/1.045, allocations: 1.116 MB / 1.31 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004303/1.05, allocations: 4.297 MB / 1.314 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.05, allocations: 5 kB / 1.314 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/1.05, allocations: 4 kB / 1.314 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.945e-05/1.05, allocations: 0 / 1.314 GB, free: 1.871 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.00351/1.053, allocations: 2.485 MB / 1.317 GB, free: 16.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/1.053, allocations: 13.06 kB / 1.317 GB, free: 16.39 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002192/1.054, allocations: 197.4 kB / 1.317 GB, free: 16.35 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/1.055, allocations: 391.2 kB / 1.317 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/1.058, allocations: 1.9 MB / 1.319 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.482e-05/1.058, allocations: 100.8 kB / 1.319 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/1.058, allocations: 146 kB / 1.319 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/1.06, allocations: 1.617 MB / 1.321 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/1.06, allocations: 2.656 kB / 1.321 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/1.06, allocations: 57.09 kB / 1.321 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/1.06, allocations: 45.19 kB / 1.321 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/1.062, allocations: 1.248 MB / 1.322 GB, free: 15.52 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.006866/1.069, allocations: 6.632 MB / 1.329 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/1.07, allocations: 0.9539 MB / 1.33 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007433/1.071, allocations: 0.6314 MB / 1.33 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000604/1.072, allocations: 0.689 MB / 1.331 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/1.072, allocations: 38.59 kB / 1.331 GB, free: 12.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.815e-06/1.072, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.005148/1.077, allocations: 3.614 MB / 1.335 GB, free: 11.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.077, allocations: 153.5 kB / 1.335 GB, free: 10.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/1.08, allocations: 2.003 MB / 1.337 GB, free: 10.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.9e-05/1.08, allocations: 46.08 kB / 1.337 GB, free: 10.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006145/1.08, allocations: 0.8864 MB / 1.338 GB, free: 10.42 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/1.081, allocations: 290.3 kB / 1.338 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/1.081, allocations: 90.97 kB / 1.338 GB, free: 10.22 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.081, allocations: 348.8 kB / 1.338 GB, free: 9.914 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007447/1.082, allocations: 0.6159 MB / 1.339 GB, free: 9.91 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008972/1.082, allocations: 0.851 MB / 1.34 GB, free: 9.703 MB / 1.014 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005299/1.088, allocations: 3.924 MB / 1.344 GB, free: 8.762 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.088, allocations: 0 / 1.344 GB, free: 8.762 MB / 1.014 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002205/1.09, allocations: 1.875 MB / 1.345 GB, free: 8.414 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002236/1.09, allocations: 400 kB / 1.346 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.09, allocations: 2.938 kB / 1.346 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/1.09, allocations: 11.25 kB / 1.346 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/1.091, allocations: 179.1 kB / 1.346 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/1.091, allocations: 9.406 kB / 1.346 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/1.092, allocations: 114.6 kB / 1.346 GB, free: 7.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.311e-05/1.092, allocations: 39.97 kB / 1.346 GB, free: 7.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/1.092, allocations: 5.281 kB / 1.346 GB, free: 7.98 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002128/1.094, allocations: 1.869 MB / 1.348 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.094, allocations: 2.688 kB / 1.348 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/1.094, allocations: 13.62 kB / 1.348 GB, free: 7.762 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/1.095, allocations: 179.2 kB / 1.348 GB, free: 7.758 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/1.095, allocations: 16.03 kB / 1.348 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.096, allocations: 124.5 kB / 1.348 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/1.096, allocations: 41.02 kB / 1.348 GB, free: 7.73 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008085/1.097, allocations: 0.7138 MB / 1.349 GB, free: 7.441 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/1.098, allocations: 190.4 kB / 1.349 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/1.099, allocations: 1.484 MB / 1.351 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.1, allocations: 6.188 kB / 1.351 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.1, allocations: 2.531 kB / 1.351 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/1.101, allocations: 1.521 MB / 1.352 GB, free: 6.594 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/1.106, allocations: 3.599 MB / 1.356 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.106, allocations: 5.938 kB / 1.356 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006765/1.107, allocations: 157.9 kB / 1.356 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/1.107, allocations: 8.031 kB / 1.356 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.649e-05/1.107, allocations: 30.52 kB / 1.356 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/1.107, allocations: 15.53 kB / 1.356 GB, free: 4.879 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.107, allocations: 12.78 kB / 1.356 GB, free: 4.875 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/1.11, allocations: 2.364 MB / 1.358 GB, free: 3.441 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007015/1.11, allocations: 453.7 kB / 1.359 GB, free: 3.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002846/1.111, allocations: 32.38 kB / 1.359 GB, free: 3.051 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.112, allocations: 98.95 kB / 1.359 GB, free: 3.008 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/1.112, allocations: 97.7 kB / 1.359 GB, free: 2.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.826e-05/1.112, allocations: 40.42 kB / 1.359 GB, free: 2.941 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001894/1.114, allocations: 1.393 MB / 1.36 GB, free: 2.152 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/1.114, allocations: 0 / 1.36 GB, free: 2.152 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001983/1.116, allocations: 0.7802 MB / 1.361 GB, free: 2.078 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003954/1.12, allocations: 3.235 MB / 1.364 GB, free: 0 / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003495/1.123, allocations: 3.068 MB / 1.367 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.123, allocations: 4.875 kB / 1.367 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/1.124, allocations: 1.004 MB / 1.368 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005538/1.13, allocations: 1.012 MB / 1.369 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03011/1.16, allocations: 18.06 MB / 1.387 GB, free: 15.76 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/1.161, allocations: 1.522 MB / 1.388 GB, free: 14.2 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001708/1.163, allocations: 441.9 kB / 1.389 GB, free: 13.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009918/1.164, allocations: 0.7755 MB / 1.389 GB, free: 13 MB / 1.045 GB Notification: Performance of SimCode: time 7.62e-07/1.164, allocations: 0 / 1.389 GB, free: 13 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6399/1.804, allocations: 54.93 MB / 1.443 GB, free: 6.859 MB / 1.092 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/1.804, allocations: 265.8 kB / 1.443 GB, free: 6.5 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.95/4.754, allocations: 0 / 1.443 GB, free: 6.5 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)