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.00149/0.00149, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001816/0.001816, allocations: 192.4 kB / 16.13 MB, free: 6.652 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.465/1.465, allocations: 205.1 MB / 222 MB, free: 4.746 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.5484 GB, free: 13.7 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.001289/0.001289, allocations: 65.36 kB / 0.6708 GB, free: 26.58 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2499, allocations: 114.5 MB / 0.7827 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.7053/0.9552, allocations: 172.6 MB / 0.9512 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02532/0.9805, allocations: 15.24 MB / 0.9661 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.9831, allocations: 29.22 kB / 0.9661 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002406/0.9856, allocations: 496 kB / 0.9666 GB, free: 5.223 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.006389/0.992, allocations: 1.241 MB / 0.9678 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005684/0.9977, allocations: 1.468 MB / 0.9692 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004975/1.003, allocations: 3.044 MB / 0.9722 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/1.006, allocations: 1.669 MB / 0.9738 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005311/1.011, allocations: 1.153 MB / 0.9749 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/1.013, allocations: 0.9517 MB / 0.9759 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003129/1.013, allocations: 103 kB / 0.976 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/1.017, allocations: 1.318 MB / 0.9772 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005212/1.017, allocations: 473.1 kB / 0.9777 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/1.018, allocations: 0.853 MB / 0.9785 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003984/1.022, allocations: 2.694 MB / 0.9812 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.022, allocations: 5.438 kB / 0.9812 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.031e-06/1.022, allocations: 2.531 kB / 0.9812 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.105e-05/1.023, allocations: 0 / 0.9812 GB, free: 3.871 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: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.004677/1.027, allocations: 2.146 MB / 0.9833 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.027, allocations: 8.312 kB / 0.9833 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/1.031, allocations: 458.6 kB / 0.9837 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/1.033, allocations: 1.055 MB / 0.9847 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.119e-05/1.033, allocations: 115.4 kB / 0.9848 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/1.033, allocations: 156.2 kB / 0.985 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/1.036, allocations: 1.696 MB / 0.9867 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/1.036, allocations: 6.438 kB / 0.9867 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/1.036, allocations: 74.59 kB / 0.9867 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/1.036, allocations: 42.06 kB / 0.9868 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003035/1.039, allocations: 1.713 MB / 0.9884 GB, free: 17.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 preOpt removeSimpleEquations (simulation): time 0.008533/1.048, allocations: 5.667 MB / 0.994 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/1.05, allocations: 1.47 MB / 0.9954 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008842/1.051, allocations: 0.5381 MB / 0.9959 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009036/1.052, allocations: 0.885 MB / 0.9968 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/1.054, allocations: 0.7278 MB / 0.9975 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=117): time 3.076e-06/1.054, allocations: 4 kB / 0.9975 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117): time 0.004899/1.058, allocations: 1.753 MB / 0.9992 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.059, allocations: 199.3 kB / 0.9994 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/1.06, allocations: 0.9163 MB / 1 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/1.06, allocations: 53.61 kB / 1 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006177/1.061, allocations: 0.623 MB / 1.001 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003831/1.061, allocations: 402.9 kB / 1.001 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003501/1.062, allocations: 213.3 kB / 1.002 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.062, allocations: 357.5 kB / 1.002 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000829/1.063, allocations: 414.6 kB / 1.002 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009548/1.064, allocations: 0.5612 MB / 1.003 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/1.066, allocations: 0.9829 MB / 1.004 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.066, allocations: 2.406 kB / 1.004 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003054/1.069, allocations: 1.266 MB / 1.005 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/1.069, allocations: 8.406 kB / 1.005 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.069, allocations: 0 / 1.005 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/1.069, allocations: 88.47 kB / 1.005 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/1.071, allocations: 277.2 kB / 1.005 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/1.073, allocations: 1.536 MB / 1.007 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/1.075, allocations: 141.9 kB / 1.007 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/1.075, allocations: 53.84 kB / 1.007 GB, free: 5.953 MB / 0.7481 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.001305/1.076, allocations: 365.1 kB / 1.007 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004823/1.077, allocations: 125.7 kB / 1.008 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/1.08, allocations: 1.507 MB / 1.009 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/1.08, allocations: 12.97 kB / 1.009 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.08, allocations: 4 kB / 1.009 GB, free: 4.777 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/1.08, allocations: 7.969 kB / 1.009 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005796/1.086, allocations: 2.959 MB / 1.012 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/1.086, allocations: 0 / 1.012 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/1.088, allocations: 270.8 kB / 1.012 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005349/1.088, allocations: 86.77 kB / 1.012 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.456e-05/1.088, allocations: 38 kB / 1.012 GB, free: 2.777 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/1.09, allocations: 1.553 MB / 1.014 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.09, allocations: 0 / 1.014 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/1.094, allocations: 2.031 MB / 1.016 GB, free: 172 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009635/1.095, allocations: 373.9 kB / 1.016 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/1.095, allocations: 26.69 kB / 1.016 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/1.097, allocations: 106.1 kB / 1.016 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/1.097, allocations: 86.84 kB / 1.016 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/1.097, allocations: 58.98 kB / 1.016 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009596/1.098, allocations: 0.6371 MB / 1.017 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.21e-07/1.098, allocations: 4 kB / 1.017 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001671/1.1, allocations: 0.4914 MB / 1.018 GB, free: 15.2 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (128): * Single equations (assignments): 125 * 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.001663/1.101, allocations: 0.6618 MB / 1.018 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002717/1.104, allocations: 1.201 MB / 1.019 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.104, allocations: 6.547 kB / 1.019 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/1.105, allocations: 0.7163 MB / 1.02 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/1.108, allocations: 0.4994 MB / 1.021 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007294/1.115, allocations: 3.539 MB / 1.024 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/1.117, allocations: 1.276 MB / 1.025 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002515/1.119, allocations: 424.9 kB / 1.026 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005995/1.12, allocations: 138.4 kB / 1.026 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of SimCode: time 1.723e-06/1.12, allocations: 4 kB / 1.026 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of Templates: time 0.04658/1.167, allocations: 23.76 MB / 1.049 GB, free: 4.578 MB / 0.7794 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)