Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.299/1.299, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008941/0.000894, allocations: 178 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205 MB / 0.5766 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006481/0.0006481, allocations: 84.62 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002815, allocations: 9.5 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.5121/0.6572, allocations: 173.3 MB / 1.066 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.6696, allocations: 10.61 MB / 1.076 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.6709, allocations: 29.81 kB / 1.076 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000989/0.6719, allocations: 315.1 kB / 1.077 GB, free: 1.668 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.002416/0.6743, allocations: 0.8869 MB / 1.077 GB, free: 1.613 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.6781, allocations: 1.486 MB / 1.079 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002779/0.6809, allocations: 2.528 MB / 1.081 GB, free: 1.547 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.6824, allocations: 1.189 MB / 1.083 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.6857, allocations: 1.018 MB / 1.084 GB, free: 1.316 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006901/0.6864, allocations: 0.6389 MB / 1.084 GB, free: 1.309 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.6865, allocations: 40.44 kB / 1.084 GB, free: 1.309 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.6889, allocations: 1.346 MB / 1.086 GB, free: 1.285 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.6892, allocations: 312 kB / 1.086 GB, free: 1.281 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005134/0.6897, allocations: 0.5837 MB / 1.086 GB, free: 1.281 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.692, allocations: 2.266 MB / 1.089 GB, free: 1.148 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.692, allocations: 1.219 kB / 1.089 GB, free: 1.148 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/0.692, allocations: 4 kB / 1.089 GB, free: 1.145 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.692, allocations: 0 / 1.089 GB, free: 1.145 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002267/0.6943, allocations: 1.471 MB / 1.09 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.6943, allocations: 9.094 kB / 1.09 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.6962, allocations: 355.4 kB / 1.09 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.6975, allocations: 0.9153 MB / 1.091 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.6975, allocations: 85.84 kB / 1.091 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.6977, allocations: 109.4 kB / 1.092 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.6994, allocations: 1.227 MB / 1.093 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.6994, allocations: 7.562 kB / 1.093 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.6995, allocations: 48.5 kB / 1.093 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.6996, allocations: 33.61 kB / 1.093 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.7014, allocations: 1.403 MB / 1.094 GB, free: 15.64 MB / 0.7136 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.004864/0.7063, allocations: 3.717 MB / 1.098 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.708, allocations: 1.118 MB / 1.099 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006206/0.7087, allocations: 429.1 kB / 1.099 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007055/0.7094, allocations: 435.1 kB / 1.1 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008848/0.7103, allocations: 0.5916 MB / 1.1 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=97): time 3.707e-06/0.7103, allocations: 0 / 1.1 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97): time 0.003363/0.7137, allocations: 1.497 MB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/0.7138, allocations: 198.4 kB / 1.102 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008271/0.7146, allocations: 0.8234 MB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.122e-05/0.7147, allocations: 46.36 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.715, allocations: 0.5039 MB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.7152, allocations: 329.2 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.7153, allocations: 81.45 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7155, allocations: 338.4 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005759/0.716, allocations: 349.5 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000711/0.7168, allocations: 484 kB / 1.105 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.718, allocations: 0.8221 MB / 1.106 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.718, allocations: 0 / 1.106 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002072/0.7201, allocations: 1.097 MB / 1.107 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.7202, allocations: 5.125 kB / 1.107 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.7202, allocations: 4 kB / 1.107 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.7208, allocations: 86.02 kB / 1.107 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008573/0.7216, allocations: 218.9 kB / 1.107 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.7236, allocations: 1.535 MB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008883/0.7245, allocations: 131.1 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/0.7246, allocations: 46.34 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (116): * Single equations (assignments): 115 * 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.0005122/0.7251, allocations: 313.4 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.7253, allocations: 107 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.728, allocations: 1.406 MB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.728, allocations: 8.438 kB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.728, allocations: 0 / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000448/0.7285, allocations: 323.2 kB / 1.111 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.7286, allocations: 23.75 kB / 1.111 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007502/0.7294, allocations: 97.77 kB / 1.111 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.7295, allocations: 66.84 kB / 1.111 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002171/0.7317, allocations: 1.162 MB / 1.112 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002355/0.734, allocations: 1.706 MB / 1.114 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005998/0.7347, allocations: 442.1 kB / 1.114 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006799/0.7354, allocations: 0.5963 MB / 1.115 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of Backend: time 3.31e-07/0.7354, allocations: 0 / 1.115 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003601/0.739, allocations: 1.516 MB / 1.116 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of SimCode: time 0.004637/0.7436, allocations: 3.207 MB / 1.119 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of Templates: time 0.03534/0.779, allocations: 24.13 MB / 1.143 GB, free: 13.63 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)