Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 91.84 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.009486/0.009486, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.847/1.847, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005698/0.0005699, allocations: 17.98 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2444, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.6536/0.898, allocations: 171.2 MB / 0.955 GB, free: 184 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01718/0.9152, allocations: 10.39 MB / 0.9652 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.9177, allocations: 29.16 kB / 0.9652 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.9194, allocations: 318.7 kB / 0.9655 GB, free: 15.2 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.00427/0.9237, allocations: 0.872 MB / 0.9663 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005543/0.9293, allocations: 1.459 MB / 0.9678 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003966/0.9332, allocations: 2.462 MB / 0.9702 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002785/0.936, allocations: 1.197 MB / 0.9713 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004649/0.9407, allocations: 1 MB / 0.9723 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.9424, allocations: 0.622 MB / 0.9729 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000434/0.9428, allocations: 39.59 kB / 0.973 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003885/0.9467, allocations: 1.347 MB / 0.9743 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007287/0.9475, allocations: 303.4 kB / 0.9746 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.949, allocations: 0.6011 MB / 0.9752 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004892/0.9539, allocations: 2.256 MB / 0.9774 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.9539, allocations: 0.9688 kB / 0.9774 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.168e-06/0.9539, allocations: 0 / 0.9774 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001138/0.954, allocations: 0 / 0.9774 GB, free: 12.95 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003715/0.9578, allocations: 1.468 MB / 0.9788 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.9578, allocations: 9.594 kB / 0.9788 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/0.9603, allocations: 350.3 kB / 0.9791 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.9622, allocations: 0.9118 MB / 0.98 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.793e-05/0.9623, allocations: 81.86 kB / 0.9801 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.9625, allocations: 114.9 kB / 0.9802 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.9652, allocations: 1.223 MB / 0.9814 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.9652, allocations: 0 / 0.9814 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.9654, allocations: 49.11 kB / 0.9815 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.9654, allocations: 31.86 kB / 0.9815 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/0.9681, allocations: 1.406 MB / 0.9829 GB, free: 10.16 MB / 0.7325 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.007182/0.9753, allocations: 3.703 MB / 0.9865 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.9775, allocations: 1.122 MB / 0.9876 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007663/0.9783, allocations: 421.8 kB / 0.988 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008142/0.9791, allocations: 444.6 kB / 0.9884 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001253/0.9804, allocations: 0.5818 MB / 0.989 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=97): time 4.288e-06/0.9804, allocations: 0 / 0.989 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97): time 0.004696/0.9851, allocations: 1.503 MB / 0.9904 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.9853, allocations: 193.6 kB / 0.9906 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.9869, allocations: 0.817 MB / 0.9914 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.987, allocations: 51.59 kB / 0.9915 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/0.9876, allocations: 0.4984 MB / 0.992 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/0.9879, allocations: 326.5 kB / 0.9923 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.9881, allocations: 80.52 kB / 0.9923 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.9882, allocations: 341.7 kB / 0.9927 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007366/0.989, allocations: 356.7 kB / 0.993 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008721/0.9899, allocations: 481 kB / 0.9935 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.9914, allocations: 0.8257 MB / 0.9943 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.9914, allocations: 0 / 0.9943 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002713/0.9941, allocations: 1.098 MB / 0.9953 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.9942, allocations: 6.188 kB / 0.9954 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.9942, allocations: 4.094 kB / 0.9954 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006309/0.9948, allocations: 86.05 kB / 0.9954 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/0.9958, allocations: 220.7 kB / 0.9956 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.998, allocations: 1.533 MB / 0.9971 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.9993, allocations: 132.1 kB / 0.9973 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.9995, allocations: 43.53 kB / 0.9973 GB, free: 15.95 MB / 0.7481 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.000789/1, allocations: 310 kB / 0.9976 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/1.001, allocations: 109.2 kB / 0.9977 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/1.004, allocations: 1.413 MB / 0.9991 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/1.004, allocations: 11.47 kB / 0.9991 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.004, allocations: 0 / 0.9991 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.004, allocations: 3.984 kB / 0.9991 GB, free: 14.83 MB / 0.7481 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.005198/1.009, allocations: 2.64 MB / 1.002 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.009, allocations: 2.625 kB / 1.002 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008673/1.01, allocations: 203.4 kB / 1.002 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/1.011, allocations: 87.02 kB / 1.002 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.071e-05/1.011, allocations: 27.73 kB / 1.002 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/1.013, allocations: 1.57 MB / 1.004 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.013, allocations: 5.688 kB / 1.004 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003357/1.016, allocations: 1.732 MB / 1.005 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006842/1.017, allocations: 336.5 kB / 1.006 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/1.017, allocations: 28.7 kB / 1.006 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.018, allocations: 85.19 kB / 1.006 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/1.018, allocations: 84.8 kB / 1.006 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.018, allocations: 43.47 kB / 1.006 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009801/1.019, allocations: 0.5798 MB / 1.006 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.1e-07/1.019, allocations: 2.938 kB / 1.006 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001419/1.021, allocations: 402.9 kB / 1.007 GB, free: 9.559 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (105): * Single equations (assignments): 102 * 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.001731/1.022, allocations: 0.6647 MB / 1.007 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002233/1.025, allocations: 1.03 MB / 1.008 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.025, allocations: 0 / 1.008 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.026, allocations: 0.6078 MB / 1.009 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/1.028, allocations: 480.3 kB / 1.009 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005943/1.034, allocations: 2.999 MB / 1.012 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008444/1.035, allocations: 1.131 MB / 1.013 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00142/1.037, allocations: 360.2 kB / 1.014 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/1.037, allocations: 124.5 kB / 1.014 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of SimCode: time 1.082e-06/1.037, allocations: 0 / 1.014 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of Templates: time 0.03711/1.074, allocations: 20.99 MB / 1.034 GB, free: 4.219 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) Environment - environmentSimulation: