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.001104/0.001104, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00124/0.00124, allocations: 191.8 kB / 16.25 MB, free: 6.625 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.564/1.564, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.678/1.678, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001414/0.001414, allocations: 74.72 kB / 0.671 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2593, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.6433/0.9026, allocations: 173.4 MB / 0.9522 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.9176, allocations: 10.4 MB / 0.9623 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.9198, allocations: 30.72 kB / 0.9623 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.9213, allocations: 328.6 kB / 0.9627 GB, free: 6.07 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.003925/0.9252, allocations: 0.878 MB / 0.9635 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005452/0.9307, allocations: 1.506 MB / 0.965 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003896/0.9346, allocations: 2.148 MB / 0.9671 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.9368, allocations: 1.376 MB / 0.9684 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/0.9414, allocations: 1.185 MB / 0.9696 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.9427, allocations: 0.7623 MB / 0.9703 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002765/0.943, allocations: 140.9 kB / 0.9705 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.9465, allocations: 1.329 MB / 0.9718 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004379/0.9469, allocations: 423 kB / 0.9722 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009905/0.9479, allocations: 0.7096 MB / 0.9729 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003805/0.9517, allocations: 2.373 MB / 0.9752 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.9518, allocations: 1.062 kB / 0.9752 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9518, allocations: 2.531 kB / 0.9752 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.351e-05/0.9518, allocations: 0 / 0.9752 GB, free: 5.074 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.003607/0.9554, allocations: 1.748 MB / 0.9769 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.9555, allocations: 8.75 kB / 0.9769 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.9577, allocations: 334.7 kB / 0.9772 GB, free: 20.08 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.9593, allocations: 0.9123 MB / 0.9781 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-05/0.9594, allocations: 84.77 kB / 0.9782 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.9595, allocations: 106.5 kB / 0.9783 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/0.9618, allocations: 1.224 MB / 0.9795 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.9618, allocations: 0 / 0.9795 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.9619, allocations: 46.75 kB / 0.9795 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.962, allocations: 26.75 kB / 0.9796 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.9642, allocations: 1.394 MB / 0.9809 GB, free: 19.53 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.006807/0.971, allocations: 3.67 MB / 0.9845 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.973, allocations: 1.118 MB / 0.9856 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000649/0.9737, allocations: 432.1 kB / 0.986 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008497/0.9745, allocations: 418.9 kB / 0.9864 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.9756, allocations: 0.5889 MB / 0.987 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=97): time 2.725e-06/0.9756, allocations: 3.938 kB / 0.987 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=97): time 0.00378/0.9794, allocations: 1.488 MB / 0.9884 GB, free: 16.01 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/0.9796, allocations: 194.8 kB / 0.9886 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.9807, allocations: 0.8168 MB / 0.9894 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.9808, allocations: 47.55 kB / 0.9895 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.9812, allocations: 0.4939 MB / 0.9899 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.9814, allocations: 322.4 kB / 0.9903 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.9817, allocations: 200.1 kB / 0.9904 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.9818, allocations: 342.9 kB / 0.9908 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006114/0.9825, allocations: 350.8 kB / 0.9911 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007242/0.9832, allocations: 479.5 kB / 0.9916 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.9845, allocations: 0.8162 MB / 0.9924 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.9845, allocations: 7.344 kB / 0.9924 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002252/0.9868, allocations: 1.083 MB / 0.9934 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.9868, allocations: 7.281 kB / 0.9934 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.9869, allocations: 2.531 kB / 0.9934 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/0.9875, allocations: 84.44 kB / 0.9935 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009128/0.9884, allocations: 212.8 kB / 0.9937 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.9907, allocations: 1.659 MB / 0.9953 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.9918, allocations: 125.4 kB / 0.9955 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.9919, allocations: 47.69 kB / 0.9955 GB, free: 11.59 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.0006209/0.9926, allocations: 310 kB / 0.9958 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.9928, allocations: 107.2 kB / 0.9959 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/0.9956, allocations: 1.398 MB / 0.9973 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.9956, allocations: 14.28 kB / 0.9973 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.9957, allocations: 3.281 kB / 0.9973 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.9957, allocations: 5.344 kB / 0.9973 GB, free: 10.74 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.004532/1, allocations: 2.638 MB / 0.9999 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/1, allocations: 0 / 0.9999 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008502/1.001, allocations: 200.9 kB / 1 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/1.002, allocations: 74.64 kB / 1 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/1.002, allocations: 29.91 kB / 1 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/1.004, allocations: 1.679 MB / 1.002 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.004, allocations: 5.188 kB / 1.002 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/1.007, allocations: 1.712 MB / 1.003 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005724/1.007, allocations: 318.6 kB / 1.004 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/1.008, allocations: 32.47 kB / 1.004 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008457/1.008, allocations: 73.39 kB / 1.004 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/1.009, allocations: 72.83 kB / 1.004 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.419e-05/1.009, allocations: 50.64 kB / 1.004 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000806/1.01, allocations: 0.5846 MB / 1.005 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.01, allocations: 0 / 1.005 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001186/1.011, allocations: 404.6 kB / 1.005 GB, free: 6.41 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.0015/1.012, allocations: 0.6585 MB / 1.006 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0029/1.015, allocations: 1.263 MB / 1.007 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.015, allocations: 0 / 1.007 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.016, allocations: 0.615 MB / 1.007 GB, free: 5.492 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/1.019, allocations: 0.5009 MB / 1.008 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/1.024, allocations: 2.878 MB / 1.011 GB, free: 3.477 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007647/1.024, allocations: 1.137 MB / 1.012 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001396/1.026, allocations: 352.3 kB / 1.012 GB, free: 2.414 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/1.026, allocations: 127.9 kB / 1.012 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of SimCode: time 6.81e-07/1.026, allocations: 0 / 1.012 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of Templates: time 0.03719/1.063, allocations: 21.86 MB / 1.034 GB, free: 3.488 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)