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.001129/0.001129, 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.001385/0.001385, allocations: 192.1 kB / 16.13 MB, free: 6.711 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 MB, free: 4.996 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.641/1.641, allocations: 251.7 MB / 0.5088 GB, free: 3.375 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.001414/0.001414, allocations: 59.92 kB / 0.6216 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6161/0.6175, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1801/0.7977, allocations: 172.7 MB / 0.8925 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01991/0.8177, allocations: 15.35 MB / 0.9075 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.8194, allocations: 31.81 kB / 0.9075 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.5541/1.374, allocations: 497.4 kB / 0.908 GB, free: 2.184 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.005429/1.379, allocations: 1.263 MB / 0.9092 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005374/1.384, allocations: 1.528 MB / 0.9107 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006346/1.391, allocations: 3.255 MB / 0.9139 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003687/1.395, allocations: 1.699 MB / 0.9155 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006055/1.401, allocations: 1.221 MB / 0.9167 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00254/1.403, allocations: 0.9789 MB / 0.9177 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00049/1.404, allocations: 103.2 kB / 0.9178 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004301/1.408, allocations: 1.314 MB / 0.9191 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008058/1.409, allocations: 495.3 kB / 0.9195 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001598/1.41, allocations: 0.8767 MB / 0.9204 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004835/1.415, allocations: 2.759 MB / 0.9231 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.415, allocations: 3.281 kB / 0.9231 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/1.415, allocations: 4 kB / 0.9231 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.699e-05/1.415, allocations: 0 / 0.9231 GB, free: 1.668 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.004956/1.42, allocations: 2.179 MB / 0.9252 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.42, allocations: 8.25 kB / 0.9252 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/1.424, allocations: 453.3 kB / 0.9257 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/1.426, allocations: 1.066 MB / 0.9267 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.433e-05/1.426, allocations: 114.8 kB / 0.9268 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/1.426, allocations: 158.5 kB / 0.927 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003498/1.43, allocations: 1.719 MB / 0.9287 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/1.43, allocations: 4.875 kB / 0.9287 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/1.43, allocations: 73.19 kB / 0.9287 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/1.43, allocations: 45.33 kB / 0.9288 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/1.433, allocations: 1.715 MB / 0.9304 GB, free: 15.86 MB / 0.7325 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.008918/1.442, allocations: 5.705 MB / 0.936 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/1.444, allocations: 1.217 MB / 0.9372 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009043/1.445, allocations: 0.5345 MB / 0.9377 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009128/1.446, allocations: 0.8841 MB / 0.9386 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001417/1.447, allocations: 0.7386 MB / 0.9393 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=117): time 3.667e-06/1.447, allocations: 4 kB / 0.9393 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117): time 0.00489/1.452, allocations: 1.746 MB / 0.941 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.453, allocations: 200.8 kB / 0.9412 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/1.454, allocations: 0.9332 MB / 0.9421 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002285/1.454, allocations: 51.42 kB / 0.9422 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005529/1.455, allocations: 0.6437 MB / 0.9428 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/1.455, allocations: 394.2 kB / 0.9432 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/1.455, allocations: 218.5 kB / 0.9434 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.456, allocations: 350 kB / 0.9437 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008146/1.456, allocations: 410.5 kB / 0.9441 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009726/1.457, allocations: 0.5586 MB / 0.9447 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/1.459, allocations: 0.9777 MB / 0.9456 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.459, allocations: 0.5625 kB / 0.9456 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003022/1.462, allocations: 1.26 MB / 0.9468 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.462, allocations: 6.656 kB / 0.9469 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.462, allocations: 0 / 0.9469 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/1.463, allocations: 92.12 kB / 0.9469 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/1.464, allocations: 274.1 kB / 0.9472 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/1.466, allocations: 1.544 MB / 0.9487 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/1.468, allocations: 148.9 kB / 0.9488 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/1.468, allocations: 50.08 kB / 0.9489 GB, free: 9.031 MB / 0.7325 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.0009434/1.469, allocations: 368.6 kB / 0.9492 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/1.47, allocations: 134.3 kB / 0.9494 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003356/1.473, allocations: 1.505 MB / 0.9508 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/1.473, allocations: 14.75 kB / 0.9509 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.473, allocations: 2.625 kB / 0.9509 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/1.473, allocations: 6.094 kB / 0.9509 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/1.475, allocations: 1.4 MB / 0.9522 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.475, allocations: 2.125 kB / 0.9522 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/1.476, allocations: 262.1 kB / 0.9525 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005594/1.477, allocations: 83.45 kB / 0.9526 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.214e-05/1.477, allocations: 31 kB / 0.9526 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/1.479, allocations: 1.563 MB / 0.9541 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.479, allocations: 0 / 0.9541 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004273/1.483, allocations: 1.953 MB / 0.956 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.484, allocations: 382.8 kB / 0.9564 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/1.485, allocations: 27.78 kB / 0.9564 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.486, allocations: 124.6 kB / 0.9565 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/1.486, allocations: 80.34 kB / 0.9566 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.486, allocations: 57.45 kB / 0.9567 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001062/1.487, allocations: 0.6511 MB / 0.9573 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/1.487, allocations: 0 / 0.9573 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001514/1.489, allocations: 0.498 MB / 0.9578 GB, free: 6.559 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 (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.001587/1.49, allocations: 0.6562 MB / 0.9584 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003164/1.494, allocations: 1.186 MB / 0.9596 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/1.494, allocations: 3.781 kB / 0.9596 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/1.495, allocations: 0.7041 MB / 0.9603 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/1.498, allocations: 0.5162 MB / 0.9608 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007404/1.506, allocations: 3.596 MB / 0.9643 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.507, allocations: 1.293 MB / 0.9656 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002323/1.509, allocations: 426.4 kB / 0.966 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004404/1.51, allocations: 141.8 kB / 0.9661 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/1.51, allocations: 0 / 0.9661 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of Templates: time 0.0459/1.556, allocations: 24.17 MB / 0.9897 GB, free: 4.957 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (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)