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.001279/0.001279, 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.001576/0.001576, allocations: 194.3 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.452/1.452, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.681/1.681, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001387/0.001387, allocations: 66.2 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2412, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.7708/1.012, allocations: 164.5 MB / 0.9435 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02142/1.034, allocations: 16.41 MB / 0.9595 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002806/1.036, allocations: 27.88 kB / 0.9595 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001908/1.038, allocations: 444.2 kB / 0.9599 GB, free: 5.668 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.005247/1.044, allocations: 1.2 MB / 0.9611 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004329/1.048, allocations: 1.231 MB / 0.9623 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004142/1.052, allocations: 2.348 MB / 0.9646 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002532/1.055, allocations: 1.876 MB / 0.9664 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005167/1.06, allocations: 1.26 MB / 0.9677 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/1.061, allocations: 0.9214 MB / 0.9686 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003236/1.062, allocations: 197.2 kB / 0.9688 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/1.065, allocations: 1.347 MB / 0.9701 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004537/1.065, allocations: 0.528 MB / 0.9706 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009709/1.066, allocations: 0.9328 MB / 0.9715 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003708/1.07, allocations: 2.855 MB / 0.9743 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/1.07, allocations: 0 / 0.9743 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/1.07, allocations: 1.094 kB / 0.9743 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.538e-05/1.07, allocations: 0 / 0.9743 GB, free: 4.426 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.003855/1.074, allocations: 2.13 MB / 0.9764 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.074, allocations: 13.22 kB / 0.9764 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003654/1.077, allocations: 0.4989 MB / 0.9769 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/1.079, allocations: 1.034 MB / 0.9779 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/1.079, allocations: 120.1 kB / 0.978 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/1.079, allocations: 160.8 kB / 0.9781 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/1.083, allocations: 1.749 MB / 0.9798 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/1.083, allocations: 4 kB / 0.9799 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/1.083, allocations: 75.28 kB / 0.9799 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/1.083, allocations: 39.06 kB / 0.98 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003291/1.086, allocations: 1.809 MB / 0.9817 GB, free: 18.71 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.007924/1.094, allocations: 4.977 MB / 0.9866 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/1.097, allocations: 1.671 MB / 0.9882 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/1.098, allocations: 0.6171 MB / 0.9888 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009654/1.099, allocations: 0.8048 MB / 0.9896 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001489/1.1, allocations: 0.8237 MB / 0.9904 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=137): time 2.965e-06/1.1, allocations: 0 / 0.9904 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=137): time 0.005954/1.106, allocations: 2.43 MB / 0.9928 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.106, allocations: 197.4 kB / 0.993 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/1.108, allocations: 0.7629 MB / 0.9937 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/1.108, allocations: 55.77 kB / 0.9938 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/1.108, allocations: 0.6199 MB / 0.9944 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004235/1.109, allocations: 459.4 kB / 0.9948 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/1.109, allocations: 236.4 kB / 0.995 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.109, allocations: 353.7 kB / 0.9954 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009099/1.11, allocations: 467.1 kB / 0.9958 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/1.111, allocations: 0.6039 MB / 0.9964 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/1.113, allocations: 1.068 MB / 0.9975 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.113, allocations: 0 / 0.9975 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003339/1.117, allocations: 1.467 MB / 0.9989 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.117, allocations: 4.938 kB / 0.9989 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.117, allocations: 1.547 kB / 0.9989 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009931/1.118, allocations: 199.6 kB / 0.9991 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/1.119, allocations: 320.8 kB / 0.9994 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008003/1.127, allocations: 7.288 MB / 1.007 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/1.129, allocations: 149.1 kB / 1.007 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/1.129, allocations: 56.5 kB / 1.007 GB, free: 1.711 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.00104/1.13, allocations: 360.5 kB / 1.007 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/1.131, allocations: 125.3 kB / 1.007 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003932/1.134, allocations: 1.743 MB / 1.009 GB, free: 0.6914 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/1.134, allocations: 13.56 kB / 1.009 GB, free: 0.6914 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.135, allocations: 6.5 kB / 1.009 GB, free: 0.6875 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/1.135, allocations: 7.312 kB / 1.009 GB, free: 0.6875 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005674/1.14, allocations: 3.248 MB / 1.012 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.14, allocations: 0 / 1.012 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/1.142, allocations: 310.5 kB / 1.012 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007236/1.142, allocations: 190.9 kB / 1.013 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.793e-05/1.142, allocations: 30.58 kB / 1.013 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005762/1.148, allocations: 7.33 MB / 1.02 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.148, allocations: 0 / 1.02 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003631/1.152, allocations: 1.606 MB / 1.021 GB, free: 6.316 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006805/1.153, allocations: 376.4 kB / 1.022 GB, free: 6.004 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/1.153, allocations: 32.03 kB / 1.022 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.154, allocations: 112.5 kB / 1.022 GB, free: 5.926 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/1.154, allocations: 101.4 kB / 1.022 GB, free: 5.871 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.154, allocations: 73.95 kB / 1.022 GB, free: 5.84 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006973/1.155, allocations: 0.5304 MB / 1.022 GB, free: 5.543 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/1.155, allocations: 0 / 1.022 GB, free: 5.543 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001753/1.157, allocations: 0.5322 MB / 1.023 GB, free: 5.387 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.001647/1.158, allocations: 0.6783 MB / 1.024 GB, free: 5.082 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004575/1.163, allocations: 2.191 MB / 1.026 GB, free: 3.914 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/1.163, allocations: 6.719 kB / 1.026 GB, free: 3.91 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/1.165, allocations: 1.266 MB / 1.027 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/1.167, allocations: 0.4954 MB / 1.028 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005974/1.173, allocations: 3.487 MB / 1.031 GB, free: 460 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009069/1.174, allocations: 1.267 MB / 1.032 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001857/1.176, allocations: 419.8 kB / 1.033 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/1.176, allocations: 143.9 kB / 1.033 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/1.176, allocations: 0 / 1.033 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.04316/1.219, allocations: 25.31 MB / 1.057 GB, free: 8.285 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)