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.001155/0.001155, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001787/0.001788, allocations: 191.3 kB / 16.14 MB, free: 6.703 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.443/1.443, allocations: 205.1 MB / 222 MB, free: 4.75 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.75/1.75, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001314/0.001314, allocations: 71.27 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.227, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.6568/0.8838, allocations: 173.5 MB / 0.9521 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.8993, allocations: 10.54 MB / 0.9623 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.9016, allocations: 30.38 kB / 0.9624 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.9038, allocations: 322.1 kB / 0.9627 GB, free: 5.297 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.004085/0.908, allocations: 0.8692 MB / 0.9635 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005079/0.9131, allocations: 1.474 MB / 0.965 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003524/0.9166, allocations: 2.455 MB / 0.9674 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/0.9186, allocations: 1.267 MB / 0.9686 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004049/0.9226, allocations: 1.076 MB / 0.9697 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.9239, allocations: 0.716 MB / 0.9704 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.9241, allocations: 73.22 kB / 0.9704 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/0.9273, allocations: 1.373 MB / 0.9718 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003804/0.9277, allocations: 359.8 kB / 0.9721 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008169/0.9285, allocations: 0.6461 MB / 0.9727 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.9318, allocations: 2.301 MB / 0.975 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.9318, allocations: 3.375 kB / 0.975 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9318, allocations: 0 / 0.975 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.9318, allocations: 0 / 0.975 GB, free: 4.305 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.003811/0.9357, allocations: 1.743 MB / 0.9767 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.759e-05/0.9357, allocations: 13.53 kB / 0.9767 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/0.9383, allocations: 339.9 kB / 0.977 GB, free: 19.31 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.94, allocations: 0.9014 MB / 0.9779 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.646e-05/0.9401, allocations: 86.11 kB / 0.978 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.9403, allocations: 111.1 kB / 0.9781 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.9428, allocations: 1.223 MB / 0.9793 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.9428, allocations: 0 / 0.9793 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.9429, allocations: 49.5 kB / 0.9793 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.943, allocations: 26.69 kB / 0.9794 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.9455, allocations: 1.393 MB / 0.9807 GB, free: 18.76 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 preOpt removeSimpleEquations (simulation): time 0.005792/0.9513, allocations: 3.673 MB / 0.9843 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.9534, allocations: 1.113 MB / 0.9854 GB, free: 17.35 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000667/0.9541, allocations: 426.1 kB / 0.9858 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007699/0.9549, allocations: 428 kB / 0.9862 GB, free: 16.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009875/0.9559, allocations: 0.5857 MB / 0.9868 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=97): time 3.086e-06/0.9559, allocations: 0 / 0.9868 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=97): time 0.003906/0.9598, allocations: 1.481 MB / 0.9882 GB, free: 16 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.9599, allocations: 195.1 kB / 0.9884 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.9611, allocations: 0.8231 MB / 0.9892 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.9612, allocations: 46.98 kB / 0.9893 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.9616, allocations: 0.4944 MB / 0.9898 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.9619, allocations: 324.6 kB / 0.9901 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/0.9621, allocations: 199.2 kB / 0.9903 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.9623, allocations: 345.4 kB / 0.9906 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006263/0.9629, allocations: 348.8 kB / 0.9909 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/0.9637, allocations: 474.5 kB / 0.9914 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.9651, allocations: 0.8181 MB / 0.9922 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.9651, allocations: 0 / 0.9922 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002394/0.9675, allocations: 1.087 MB / 0.9932 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.9675, allocations: 5.531 kB / 0.9932 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.9675, allocations: 2.594 kB / 0.9932 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.9682, allocations: 90.48 kB / 0.9933 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/0.9691, allocations: 212.4 kB / 0.9935 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.9711, allocations: 1.538 MB / 0.995 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.9723, allocations: 112.6 kB / 0.9951 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.9724, allocations: 46.78 kB / 0.9952 GB, free: 11.7 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.000745/0.9731, allocations: 324.3 kB / 0.9955 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.9734, allocations: 109.5 kB / 0.9956 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002899/0.9763, allocations: 1.402 MB / 0.997 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.9763, allocations: 11 kB / 0.997 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9763, allocations: 0 / 0.997 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.9764, allocations: 4.641 kB / 0.997 GB, free: 10.84 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.005241/0.9816, allocations: 2.636 MB / 0.9995 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.9816, allocations: 2.484 kB / 0.9996 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008758/0.9825, allocations: 198.9 kB / 0.9997 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005376/0.9831, allocations: 88.81 kB / 0.9998 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.723e-05/0.9831, allocations: 28.3 kB / 0.9999 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.9851, allocations: 1.56 MB / 1.001 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.9851, allocations: 2.469 kB / 1.001 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003658/0.9887, allocations: 1.726 MB / 1.003 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007541/0.9895, allocations: 323.1 kB / 1.003 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.9897, allocations: 23.28 kB / 1.003 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008462/0.9906, allocations: 77.27 kB / 1.003 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.9908, allocations: 73.94 kB / 1.004 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.053e-05/0.9909, allocations: 45.53 kB / 1.004 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009019/0.9918, allocations: 0.5863 MB / 1.004 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9918, allocations: 4 kB / 1.004 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001421/0.9932, allocations: 404.1 kB / 1.005 GB, free: 6.328 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.00165/0.9949, allocations: 0.6628 MB / 1.005 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.997, allocations: 1.014 MB / 1.006 GB, free: 5.523 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.997, allocations: 0 / 1.006 GB, free: 5.523 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.9981, allocations: 0.6105 MB / 1.007 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/1, allocations: 472.7 kB / 1.007 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00525/1.006, allocations: 2.875 MB / 1.01 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/1.006, allocations: 1.136 MB / 1.011 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001473/1.008, allocations: 358.2 kB / 1.011 GB, free: 1.961 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/1.008, allocations: 125.7 kB / 1.012 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/1.008, allocations: 0 / 1.012 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of Templates: time 0.03741/1.046, allocations: 21.11 MB / 1.032 GB, free: 3.547 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside.makefile (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)