Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, 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.001139/0.001139, allocations: 191.5 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.461/1.461, allocations: 205.1 MB / 222 MB, free: 4.762 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.769/1.769, 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.001325/0.001325, allocations: 63.66 kB / 0.6708 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2466, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.8355/1.082, allocations: 164.4 MB / 0.9433 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02347/1.106, allocations: 16.62 MB / 0.9595 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/1.108, allocations: 28 kB / 0.9595 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002149/1.111, allocations: 433.3 kB / 0.9599 GB, free: 5.75 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.006321/1.117, allocations: 1.192 MB / 0.9611 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005183/1.122, allocations: 1.204 MB / 0.9623 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005592/1.128, allocations: 2.505 MB / 0.9647 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003233/1.131, allocations: 1.728 MB / 0.9664 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006861/1.138, allocations: 1.122 MB / 0.9675 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002599/1.141, allocations: 0.8706 MB / 0.9683 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004814/1.141, allocations: 106.7 kB / 0.9685 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004298/1.145, allocations: 1.388 MB / 0.9698 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006747/1.146, allocations: 452.3 kB / 0.9702 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001744/1.148, allocations: 0.8475 MB / 0.9711 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006635/1.154, allocations: 2.778 MB / 0.9738 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.155, allocations: 1.094 kB / 0.9738 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.242e-06/1.155, allocations: 0 / 0.9738 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.949e-05/1.155, allocations: 0 / 0.9738 GB, free: 4.523 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: 414 * Number of variables: 414 Notification: Performance of Generate backend data structure: time 0.006129/1.161, allocations: 2.127 MB / 0.9759 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/1.161, allocations: 10.22 kB / 0.9759 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00403/1.165, allocations: 0.5023 MB / 0.9764 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/1.167, allocations: 1.03 MB / 0.9774 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/1.167, allocations: 124.9 kB / 0.9775 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/1.167, allocations: 159.8 kB / 0.9776 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/1.171, allocations: 1.745 MB / 0.9793 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/1.171, allocations: 4.266 kB / 0.9793 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/1.171, allocations: 76.12 kB / 0.9794 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/1.171, allocations: 39.84 kB / 0.9795 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/1.175, allocations: 1.806 MB / 0.9812 GB, free: 18.82 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.008582/1.183, allocations: 4.983 MB / 0.9861 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/1.186, allocations: 1.668 MB / 0.9877 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/1.187, allocations: 0.6249 MB / 0.9883 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009004/1.188, allocations: 0.8112 MB / 0.9891 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/1.189, allocations: 0.8173 MB / 0.9899 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=137): time 2.845e-06/1.189, allocations: 0 / 0.9899 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=137): time 0.006024/1.195, allocations: 2.424 MB / 0.9923 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/1.195, allocations: 201.6 kB / 0.9925 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/1.197, allocations: 0.7665 MB / 0.9932 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001877/1.197, allocations: 49.83 kB / 0.9933 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/1.197, allocations: 0.6241 MB / 0.9939 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004127/1.198, allocations: 459 kB / 0.9943 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/1.198, allocations: 237.5 kB / 0.9945 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.198, allocations: 351.3 kB / 0.9949 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009423/1.199, allocations: 466.3 kB / 0.9953 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/1.2, allocations: 0.6038 MB / 0.9959 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/1.203, allocations: 1.06 MB / 0.9969 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.203, allocations: 0 / 0.9969 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003705/1.206, allocations: 1.477 MB / 0.9984 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.206, allocations: 3.875 kB / 0.9984 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.206, allocations: 2.25 kB / 0.9984 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/1.207, allocations: 188.2 kB / 0.9986 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/1.209, allocations: 331.9 kB / 0.9989 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005649/1.215, allocations: 6.775 MB / 1.006 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/1.216, allocations: 150.4 kB / 1.006 GB, free: 2.422 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/1.217, allocations: 52.44 kB / 1.006 GB, free: 2.402 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001113/1.218, allocations: 364.7 kB / 1.006 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003487/1.218, allocations: 119.8 kB / 1.006 GB, free: 2.09 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003997/1.222, allocations: 1.745 MB / 1.008 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.222, allocations: 25.11 kB / 1.008 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.222, allocations: 2.625 kB / 1.008 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/1.222, allocations: 3.984 kB / 1.008 GB, free: 1.074 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00639/1.229, allocations: 3.252 MB / 1.011 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.229, allocations: 0 / 1.011 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/1.23, allocations: 310.6 kB / 1.011 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008247/1.231, allocations: 192.7 kB / 1.012 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/1.231, allocations: 38.88 kB / 1.012 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007376/1.238, allocations: 6.792 MB / 1.018 GB, free: 7.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.238, allocations: 3.938 kB / 1.018 GB, free: 7.906 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004308/1.243, allocations: 1.613 MB / 1.02 GB, free: 7.02 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.244, allocations: 379.9 kB / 1.02 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/1.244, allocations: 27.94 kB / 1.02 GB, free: 6.684 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/1.245, allocations: 111.3 kB / 1.02 GB, free: 6.625 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/1.245, allocations: 109.7 kB / 1.02 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/1.246, allocations: 68.02 kB / 1.02 GB, free: 6.539 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008432/1.246, allocations: 0.53 MB / 1.021 GB, free: 6.242 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.6e-07/1.246, allocations: 0 / 1.021 GB, free: 6.242 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002395/1.249, allocations: 0.5359 MB / 1.022 GB, free: 6.082 MB / 0.7637 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 (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001877/1.251, allocations: 0.6736 MB / 1.022 GB, free: 5.785 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003309/1.254, allocations: 1.782 MB / 1.024 GB, free: 4.656 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.254, allocations: 3.812 kB / 1.024 GB, free: 4.656 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/1.256, allocations: 1.27 MB / 1.025 GB, free: 3.773 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/1.258, allocations: 465.1 kB / 1.026 GB, free: 3.535 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006202/1.264, allocations: 3.489 MB / 1.029 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008662/1.265, allocations: 1.265 MB / 1.03 GB, free: 284 kB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001973/1.267, allocations: 424.8 kB / 1.031 GB, free: 60 kB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/1.268, allocations: 143.8 kB / 1.031 GB, free: 20 kB / 0.7637 GB Notification: Performance of SimCode: time 9.82e-07/1.268, allocations: 2.5 kB / 1.031 GB, free: 20 kB / 0.7637 GB Notification: Performance of Templates: time 0.04343/1.311, allocations: 24.44 MB / 1.055 GB, free: 10.07 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)