Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 105.8 kB / 16.36 MB, free: 6.309 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.001799/0.001799, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.344/1.344, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.74/1.74, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.002161/0.002161, allocations: 75.89 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2056, allocations: 114.5 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.4908/0.6964, allocations: 174.9 MB / 0.9556 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01756/0.714, allocations: 15.2 MB / 0.9704 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.7152, allocations: 31.81 kB / 0.9704 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.7167, allocations: 0.5664 MB / 0.971 GB, free: 11.26 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003465/0.7202, allocations: 1.363 MB / 0.9723 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003776/0.724, allocations: 1.641 MB / 0.9739 GB, free: 8.266 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003078/0.7271, allocations: 2.603 MB / 0.9765 GB, free: 5.652 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.7293, allocations: 1.825 MB / 0.9782 GB, free: 3.789 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003159/0.7325, allocations: 1.298 MB / 0.9795 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.7337, allocations: 0.9684 MB / 0.9805 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.734, allocations: 184 kB / 0.9806 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.7364, allocations: 1.24 MB / 0.9818 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005/0.7369, allocations: 0.5297 MB / 0.9824 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009432/0.7379, allocations: 0.9367 MB / 0.9833 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003545/0.7414, allocations: 2.769 MB / 0.986 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7415, allocations: 4 kB / 0.986 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7415, allocations: 0 / 0.986 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.853e-05/0.7415, allocations: 0 / 0.986 GB, free: 11.89 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.003766/0.7453, allocations: 2.137 MB / 0.9881 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.7454, allocations: 12.03 kB / 0.9881 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/0.7484, allocations: 457.3 kB / 0.9885 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.7501, allocations: 1.101 MB / 0.9896 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.356e-05/0.7502, allocations: 115.1 kB / 0.9897 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.7504, allocations: 148 kB / 0.9898 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/0.7533, allocations: 1.7 MB / 0.9915 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.7533, allocations: 0 / 0.9915 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.7535, allocations: 68 kB / 0.9916 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/0.7535, allocations: 47.98 kB / 0.9916 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/0.7564, allocations: 1.709 MB / 0.9933 GB, free: 4.227 MB / 0.7794 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.007687/0.7641, allocations: 5.628 MB / 0.9988 GB, free: 14.31 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.7667, allocations: 1.463 MB / 1 GB, free: 12.79 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009792/0.7677, allocations: 0.5396 MB / 1.001 GB, free: 12.25 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009044/0.7686, allocations: 0.8906 MB / 1.002 GB, free: 11.17 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/0.7699, allocations: 0.7231 MB / 1.002 GB, free: 10.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=117): time 4.528e-06/0.77, allocations: 3.938 kB / 1.002 GB, free: 10.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=117): time 0.004627/0.7746, allocations: 1.758 MB / 1.004 GB, free: 8.641 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.432e-05/0.7747, allocations: 193.5 kB / 1.004 GB, free: 8.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.7759, allocations: 0.9248 MB / 1.005 GB, free: 7.465 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.7761, allocations: 49.7 kB / 1.005 GB, free: 7.41 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/0.7766, allocations: 0.625 MB / 1.006 GB, free: 6.777 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.7769, allocations: 398.2 kB / 1.006 GB, free: 6.383 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/0.7772, allocations: 226.7 kB / 1.006 GB, free: 6.156 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7774, allocations: 350.4 kB / 1.007 GB, free: 5.809 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00085/0.7782, allocations: 418.4 kB / 1.007 GB, free: 5.398 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.7793, allocations: 0.5563 MB / 1.008 GB, free: 4.809 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/0.7812, allocations: 0.9838 MB / 1.009 GB, free: 3.801 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7812, allocations: 0 / 1.009 GB, free: 3.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00291/0.7841, allocations: 1.269 MB / 1.01 GB, free: 2.52 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.7841, allocations: 8.562 kB / 1.01 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.7841, allocations: 0 / 1.01 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/0.7848, allocations: 88.92 kB / 1.01 GB, free: 2.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.7861, allocations: 271.6 kB / 1.01 GB, free: 2.156 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.7884, allocations: 1.646 MB / 1.012 GB, free: 380 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.7896, allocations: 123 kB / 1.012 GB, free: 256 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.7897, allocations: 51.95 kB / 1.012 GB, free: 204 kB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (132): * Single equations (assignments): 131 * 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.0006798/0.7904, allocations: 361.6 kB / 1.012 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.7907, allocations: 134.3 kB / 1.012 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/0.7939, allocations: 1.451 MB / 1.014 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.7939, allocations: 3.984 kB / 1.014 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7939, allocations: 0 / 1.014 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005179/0.7944, allocations: 371.1 kB / 1.014 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.7946, allocations: 35.84 kB / 1.014 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009545/0.7956, allocations: 75.92 kB / 1.014 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.7957, allocations: 81.2 kB / 1.014 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003301/0.799, allocations: 1.388 MB / 1.016 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00361/0.8027, allocations: 2.058 MB / 1.018 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009484/0.8036, allocations: 0.5412 MB / 1.018 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000889/0.8045, allocations: 0.643 MB / 1.019 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of Backend: time 5.31e-07/0.8045, allocations: 0 / 1.019 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004182/0.8087, allocations: 1.596 MB / 1.02 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of SimCode: time 0.004647/0.8134, allocations: 3.135 MB / 1.024 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of Templates: time 0.04302/0.8564, allocations: 27.42 MB / 1.05 GB, free: 9.426 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)