Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.221/2.221, allocations: 391.2 MB / 407 MB, free: 10.89 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.001147/0.001147, allocations: 197.3 kB / 499.1 MB, free: 4.684 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.417/1.417, allocations: 222.9 MB / 0.7948 GB, free: 15.73 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.00108/0.00108, allocations: 107.7 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 53.7 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2932, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1531/0.4464, allocations: 173.5 MB / 1.388 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.4642, allocations: 12.69 MB / 1.4 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.4656, allocations: 31.81 kB / 1.4 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.467, allocations: 353.8 kB / 1.4 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003736/0.4708, allocations: 0.84 MB / 1.401 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.006079/0.4769, allocations: 1.625 MB / 1.403 GB, free: 7.516 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.004054/0.481, allocations: 2.646 MB / 1.405 GB, free: 4.859 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/0.4833, allocations: 1.45 MB / 1.407 GB, free: 3.359 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004838/0.4881, allocations: 1.219 MB / 1.408 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.4892, allocations: 0.8011 MB / 1.409 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002147/0.4895, allocations: 88 kB / 1.409 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.4925, allocations: 1.45 MB / 1.41 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004249/0.493, allocations: 402.5 kB / 1.411 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0008504/0.4938, allocations: 0.7265 MB / 1.411 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003368/0.4972, allocations: 2.567 MB / 1.414 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4972, allocations: 7.938 kB / 1.414 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4972, allocations: 3.984 kB / 1.414 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.4973, allocations: 0 / 1.414 GB, free: 12.11 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003035/0.5003, allocations: 1.903 MB / 1.416 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5004, allocations: 11.98 kB / 1.416 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/0.5028, allocations: 397.7 kB / 1.416 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.5043, allocations: 0.9604 MB / 1.417 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/0.5044, allocations: 94.62 kB / 1.417 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.5045, allocations: 132 kB / 1.417 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.5068, allocations: 1.456 MB / 1.419 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.5068, allocations: 0 / 1.419 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.507, allocations: 60 kB / 1.419 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.507, allocations: 32 kB / 1.419 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/0.5094, allocations: 1.528 MB / 1.42 GB, free: 5.355 MB / 0.9167 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.006688/0.5161, allocations: 4.922 MB / 1.425 GB, free: 176 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5344/1.051, allocations: 1.416 MB / 1.426 GB, free: 205.4 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/1.052, allocations: 452.9 kB / 1.427 GB, free: 205.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008052/1.053, allocations: 427.2 kB / 1.427 GB, free: 204.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/1.054, allocations: 0.6211 MB / 1.428 GB, free: 204.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=98): time 3.055e-06/1.054, allocations: 0 / 1.428 GB, free: 204.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=98): time 0.004208/1.058, allocations: 1.529 MB / 1.429 GB, free: 204.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/1.058, allocations: 198.2 kB / 1.43 GB, free: 203.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/1.06, allocations: 0.8448 MB / 1.43 GB, free: 203.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.934e-05/1.06, allocations: 48.64 kB / 1.43 GB, free: 203.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/1.06, allocations: 0.5745 MB / 1.431 GB, free: 203.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/1.06, allocations: 328.1 kB / 1.431 GB, free: 202.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/1.061, allocations: 198.6 kB / 1.431 GB, free: 202.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/1.061, allocations: 348.5 kB / 1.432 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000741/1.062, allocations: 362.5 kB / 1.432 GB, free: 202.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008875/1.062, allocations: 0.5363 MB / 1.433 GB, free: 202.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/1.064, allocations: 0.9035 MB / 1.434 GB, free: 201.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.064, allocations: 1.594 kB / 1.434 GB, free: 201.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002681/1.067, allocations: 1.151 MB / 1.435 GB, free: 201.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/1.067, allocations: 7.953 kB / 1.435 GB, free: 201.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.067, allocations: 3.094 kB / 1.435 GB, free: 201.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/1.067, allocations: 86.92 kB / 1.435 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.068, allocations: 240.5 kB / 1.435 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/1.07, allocations: 1.533 MB / 1.436 GB, free: 199.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/1.071, allocations: 135 kB / 1.437 GB, free: 199.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/1.071, allocations: 50.95 kB / 1.437 GB, free: 199.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006093/1.072, allocations: 333 kB / 1.437 GB, free: 199.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/1.072, allocations: 115.8 kB / 1.437 GB, free: 199.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/1.075, allocations: 1.333 MB / 1.438 GB, free: 198.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/1.075, allocations: 13.7 kB / 1.438 GB, free: 198.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.075, allocations: 5.906 kB / 1.438 GB, free: 198.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/1.076, allocations: 6.219 kB / 1.438 GB, free: 198.8 MB / 0.9167 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 postOpt removeSimpleEquations (simulation): time 0.004694/1.08, allocations: 2.69 MB / 1.441 GB, free: 197.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.08, allocations: 0 / 1.441 GB, free: 197.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009502/1.081, allocations: 218.5 kB / 1.441 GB, free: 197.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/1.082, allocations: 83.11 kB / 1.441 GB, free: 197.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/1.082, allocations: 32.16 kB / 1.441 GB, free: 197.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/1.083, allocations: 1.562 MB / 1.443 GB, free: 196.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.083, allocations: 0.7188 kB / 1.443 GB, free: 196.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0039/1.087, allocations: 2.476 MB / 1.445 GB, free: 194.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005738/1.088, allocations: 341.7 kB / 1.446 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/1.088, allocations: 18.5 kB / 1.446 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008309/1.089, allocations: 101.1 kB / 1.446 GB, free: 194.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/1.089, allocations: 71.62 kB / 1.446 GB, free: 194.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.089, allocations: 54.3 kB / 1.446 GB, free: 194.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008072/1.09, allocations: 0.5876 MB / 1.446 GB, free: 194.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.01e-07/1.09, allocations: 0 / 1.446 GB, free: 194.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001429/1.091, allocations: 472.5 kB / 1.447 GB, free: 194 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001555/1.093, allocations: 0.707 MB / 1.448 GB, free: 193.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002244/1.095, allocations: 1.072 MB / 1.449 GB, free: 193.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.095, allocations: 0 / 1.449 GB, free: 193.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/1.096, allocations: 0.6259 MB / 1.449 GB, free: 193 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/1.099, allocations: 473.1 kB / 1.45 GB, free: 192.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005751/1.104, allocations: 3.463 MB / 1.453 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.106, allocations: 1.211 MB / 1.454 GB, free: 190.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001993/1.108, allocations: 379.2 kB / 1.455 GB, free: 190 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/1.108, allocations: 131.4 kB / 1.455 GB, free: 190 MB / 0.9167 GB Notification: Performance of SimCode: time 9.92e-07/1.108, allocations: 4 kB / 1.455 GB, free: 190 MB / 0.9167 GB Notification: Performance of Templates: time 0.03248/1.141, allocations: 22.59 MB / 1.477 GB, free: 171.4 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)