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.00114/0.00114, 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.001269/0.001269, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.49/1.49, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.772/1.772, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.002682/0.002683, allocations: 66.47 kB / 0.671 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2891, allocations: 114.6 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.6893/0.9785, allocations: 172.5 MB / 0.9513 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02545/1.004, allocations: 15.02 MB / 0.966 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003721/1.008, allocations: 29.84 kB / 0.966 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002356/1.01, allocations: 0.4932 MB / 0.9665 GB, free: 5.57 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.005539/1.016, allocations: 1.255 MB / 0.9677 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005614/1.022, allocations: 1.504 MB / 0.9692 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005161/1.027, allocations: 2.589 MB / 0.9717 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003353/1.03, allocations: 1.808 MB / 0.9735 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005884/1.036, allocations: 1.313 MB / 0.9748 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/1.038, allocations: 0.9951 MB / 0.9757 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005684/1.039, allocations: 183.1 kB / 0.9759 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003859/1.043, allocations: 1.268 MB / 0.9772 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006049/1.043, allocations: 0.5312 MB / 0.9777 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/1.045, allocations: 0.9404 MB / 0.9786 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005725/1.051, allocations: 2.78 MB / 0.9813 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.051, allocations: 0 / 0.9813 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.635e-06/1.051, allocations: 1.125 kB / 0.9813 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.693e-05/1.051, allocations: 0 / 0.9813 GB, free: 4.215 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.005523/1.056, allocations: 2.141 MB / 0.9834 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.056, allocations: 10.09 kB / 0.9834 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003465/1.06, allocations: 456 kB / 0.9838 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/1.062, allocations: 1.059 MB / 0.9849 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/1.062, allocations: 111.6 kB / 0.985 GB, free: 18.69 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/1.062, allocations: 148.3 kB / 0.9851 GB, free: 18.69 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/1.066, allocations: 1.703 MB / 0.9868 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/1.066, allocations: 8.844 kB / 0.9868 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/1.066, allocations: 67.91 kB / 0.9869 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/1.066, allocations: 43.72 kB / 0.9869 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/1.069, allocations: 1.71 MB / 0.9886 GB, free: 17.63 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.00998/1.079, allocations: 5.68 MB / 0.9941 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/1.081, allocations: 1.464 MB / 0.9955 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/1.082, allocations: 0.5373 MB / 0.9961 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009414/1.083, allocations: 0.8836 MB / 0.9969 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/1.085, allocations: 0.729 MB / 0.9976 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=117): time 2.635e-06/1.085, allocations: 0 / 0.9976 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117): time 0.005408/1.09, allocations: 1.76 MB / 0.9994 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/1.091, allocations: 195.5 kB / 0.9996 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/1.092, allocations: 0.9213 MB / 1 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/1.092, allocations: 54.27 kB / 1.001 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006195/1.093, allocations: 0.6247 MB / 1.001 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004295/1.093, allocations: 398.3 kB / 1.001 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/1.094, allocations: 220.2 kB / 1.002 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.094, allocations: 352.7 kB / 1.002 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008525/1.095, allocations: 415 kB / 1.002 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009796/1.096, allocations: 0.564 MB / 1.003 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/1.097, allocations: 0.9837 MB / 1.004 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.097, allocations: 2.969 kB / 1.004 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003053/1.1, allocations: 1.261 MB / 1.005 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/1.101, allocations: 8.062 kB / 1.005 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.101, allocations: 4 kB / 1.005 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/1.101, allocations: 87.42 kB / 1.005 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/1.102, allocations: 272.6 kB / 1.006 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/1.105, allocations: 1.647 MB / 1.007 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.106, allocations: 147.1 kB / 1.007 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/1.106, allocations: 49.75 kB / 1.007 GB, free: 6.25 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.0009391/1.107, allocations: 366.6 kB / 1.008 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/1.108, allocations: 129.8 kB / 1.008 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/1.111, allocations: 1.511 MB / 1.009 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/1.111, allocations: 17.02 kB / 1.009 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.111, allocations: 0 / 1.009 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.111, allocations: 7.969 kB / 1.009 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005438/1.117, allocations: 2.965 MB / 1.012 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.117, allocations: 0 / 1.012 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/1.118, allocations: 263 kB / 1.012 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/1.118, allocations: 77.53 kB / 1.013 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.717e-05/1.119, allocations: 34.19 kB / 1.013 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/1.12, allocations: 1.678 MB / 1.014 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.121, allocations: 0 / 1.014 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004778/1.125, allocations: 2.026 MB / 1.016 GB, free: 0.5742 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.126, allocations: 370.1 kB / 1.017 GB, free: 276 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/1.127, allocations: 26.38 kB / 1.017 GB, free: 256 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.128, allocations: 113.3 kB / 1.017 GB, free: 196 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/1.128, allocations: 90.61 kB / 1.017 GB, free: 148 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/1.128, allocations: 51.47 kB / 1.017 GB, free: 132 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001101/1.129, allocations: 0.6379 MB / 1.017 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.81e-07/1.129, allocations: 0 / 1.017 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002176/1.132, allocations: 498.8 kB / 1.018 GB, free: 15.62 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.001687/1.133, allocations: 0.6603 MB / 1.019 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003961/1.137, allocations: 1.589 MB / 1.02 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.137, allocations: 7.734 kB / 1.02 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/1.139, allocations: 0.7177 MB / 1.021 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/1.141, allocations: 0.5633 MB / 1.021 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006726/1.148, allocations: 3.53 MB / 1.025 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009147/1.149, allocations: 1.277 MB / 1.026 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002095/1.151, allocations: 420.9 kB / 1.026 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/1.152, allocations: 144.4 kB / 1.027 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of SimCode: time 6.81e-07/1.152, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of Templates: time 0.04862/1.2, allocations: 24.61 MB / 1.051 GB, free: 4.168 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)