Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001054/0.001054, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001037/0.001037, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.535/1.535, allocations: 252 MB / 0.5102 GB, free: 4.781 MB / 414.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.0005973/0.0005975, allocations: 12 kB / 0.6243 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6112/0.6118, allocations: 106.3 MB / 0.7281 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1873/0.7992, allocations: 159 MB / 0.8834 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01782/0.817, allocations: 14.19 MB / 0.8973 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.8188, allocations: 35.75 kB / 0.8973 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.8204, allocations: 397.2 kB / 0.8977 GB, free: 13.45 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.004141/0.8246, allocations: 1.096 MB / 0.8987 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004056/0.8286, allocations: 1.278 MB / 0.9 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004178/0.8328, allocations: 2.849 MB / 0.9028 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.8353, allocations: 1.365 MB / 0.9041 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.8379, allocations: 1.035 MB / 0.9051 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.8393, allocations: 0.7815 MB / 0.9059 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.8395, allocations: 48 kB / 0.9059 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.8418, allocations: 0.7643 MB / 0.9067 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004867/0.8423, allocations: 394.5 kB / 0.907 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005302/0.8429, allocations: 336.7 kB / 0.9074 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.8456, allocations: 2.018 MB / 0.9093 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.8456, allocations: 4 kB / 0.9093 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8456, allocations: 0 / 0.9093 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.54e-05/0.8457, allocations: 0 / 0.9093 GB, free: 1.461 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.5643/1.41, allocations: 1.811 MB / 0.9111 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.41, allocations: 10.42 kB / 0.9111 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/1.413, allocations: 470.2 kB / 0.9116 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/1.416, allocations: 1.028 MB / 0.9126 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/1.416, allocations: 116.1 kB / 0.9127 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/1.416, allocations: 152.5 kB / 0.9128 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00342/1.42, allocations: 1.716 MB / 0.9145 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/1.42, allocations: 7.406 kB / 0.9145 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/1.42, allocations: 68.72 kB / 0.9146 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.919e-05/1.42, allocations: 48.78 kB / 0.9146 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003377/1.423, allocations: 1.71 MB / 0.9163 GB, free: 11.48 MB / 0.7169 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.008576/1.432, allocations: 5.728 MB / 0.9219 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/1.434, allocations: 1.215 MB / 0.9231 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009337/1.435, allocations: 0.53 MB / 0.9236 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006828/1.436, allocations: 0.8904 MB / 0.9245 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001347/1.437, allocations: 0.7349 MB / 0.9252 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=117): time 3.116e-06/1.437, allocations: 1.281 kB / 0.9252 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=117): time 0.004246/1.442, allocations: 1.757 MB / 0.9269 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/1.442, allocations: 194.2 kB / 0.9271 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/1.443, allocations: 0.9341 MB / 0.928 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.826e-05/1.443, allocations: 53.02 kB / 0.928 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000433/1.443, allocations: 0.636 MB / 0.9287 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/1.444, allocations: 392.7 kB / 0.929 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/1.444, allocations: 23.23 kB / 0.9291 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/1.444, allocations: 347.3 kB / 0.9294 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007225/1.445, allocations: 416.3 kB / 0.9298 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008035/1.445, allocations: 0.5548 MB / 0.9303 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008504/1.446, allocations: 486.1 kB / 0.9308 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.446, allocations: 5.125 kB / 0.9308 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002625/1.449, allocations: 1.262 MB / 0.932 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.449, allocations: 3.344 kB / 0.932 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.449, allocations: 2.562 kB / 0.932 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/1.45, allocations: 92 kB / 0.9321 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/1.451, allocations: 277.2 kB / 0.9324 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/1.453, allocations: 1.534 MB / 0.9339 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.454, allocations: 159.3 kB / 0.934 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-05/1.454, allocations: 50.94 kB / 0.9341 GB, free: 4.77 MB / 0.7169 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008048/1.455, allocations: 366.6 kB / 0.9344 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/1.455, allocations: 132 kB / 0.9346 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/1.458, allocations: 1.513 MB / 0.936 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/1.458, allocations: 11.56 kB / 0.9361 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.458, allocations: 0 / 0.9361 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/1.458, allocations: 6.281 kB / 0.9361 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/1.46, allocations: 1.41 MB / 0.9374 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/1.46, allocations: 3.094 kB / 0.9374 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.461, allocations: 266.5 kB / 0.9377 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/1.461, allocations: 88.75 kB / 0.9378 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.348e-05/1.462, allocations: 30.22 kB / 0.9378 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/1.463, allocations: 1.559 MB / 0.9393 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.463, allocations: 4.062 kB / 0.9393 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/1.467, allocations: 1.954 MB / 0.9412 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008401/1.468, allocations: 403.4 kB / 0.9416 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/1.468, allocations: 20.34 kB / 0.9416 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.469, allocations: 136.1 kB / 0.9418 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/1.469, allocations: 83.86 kB / 0.9419 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/1.47, allocations: 58.94 kB / 0.9419 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009613/1.471, allocations: 0.6402 MB / 0.9425 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.452e-06/1.471, allocations: 4 kB / 0.9425 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001491/1.472, allocations: 0.4931 MB / 0.943 GB, free: 18.31 MB / 0.7325 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.conTimMin.tNext,weaDat.conTim.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001606/1.474, allocations: 0.6586 MB / 0.9437 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002283/1.476, allocations: 1.191 MB / 0.9448 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.476, allocations: 0.5625 kB / 0.9448 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/1.477, allocations: 0.7178 MB / 0.9455 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/1.48, allocations: 0.5051 MB / 0.946 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006613/1.486, allocations: 3.596 MB / 0.9495 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.487, allocations: 1.288 MB / 0.9508 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002127/1.489, allocations: 421.3 kB / 0.9512 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/1.49, allocations: 143.8 kB / 0.9513 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of SimCode: time 9.32e-07/1.49, allocations: 0 / 0.9513 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.04336/1.533, allocations: 23.3 MB / 0.9741 GB, free: 8.148 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) Environment - environmentSimulation: