Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 184.5 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.4 MB / 0.5777 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008349/0.0008348, allocations: 93.72 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 10.06 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2186, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1691/0.3877, allocations: 151.6 MB / 1.048 GB, free: 7.809 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5191/0.9069, allocations: 15.49 MB / 1.063 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.9088, allocations: 27.53 kB / 1.063 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.9104, allocations: 364.8 kB / 1.064 GB, free: 3.973 MB / 0.698 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.004793/0.9152, allocations: 1.054 MB / 1.065 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004639/0.9198, allocations: 1.12 MB / 1.066 GB, free: 3.883 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004686/0.9245, allocations: 2.482 MB / 1.068 GB, free: 3.871 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/0.928, allocations: 1.419 MB / 1.07 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003565/0.9316, allocations: 0.9667 MB / 1.071 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.9341, allocations: 0.6808 MB / 1.071 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004951/0.9346, allocations: 40.41 kB / 1.071 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003237/0.9378, allocations: 0.8414 MB / 1.072 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000658/0.9385, allocations: 366.2 kB / 1.073 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.9397, allocations: 329.9 kB / 1.073 GB, free: 19.66 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.9438, allocations: 2.093 MB / 1.075 GB, free: 19.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.9438, allocations: 0 / 1.075 GB, free: 19.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9438, allocations: 0.6562 kB / 1.075 GB, free: 19.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.913e-05/0.9439, allocations: 0 / 1.075 GB, free: 19.5 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.005856/0.9498, allocations: 1.813 MB / 1.077 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.786e-05/0.9499, allocations: 8.875 kB / 1.077 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008827/0.9508, allocations: 244.5 kB / 1.077 GB, free: 18.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004233/0.955, allocations: 0.5077 MB / 1.077 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/0.9574, allocations: 1.034 MB / 1.078 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.9575, allocations: 125.9 kB / 1.079 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002674/0.9578, allocations: 166 kB / 1.079 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/0.9615, allocations: 1.771 MB / 1.08 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.9616, allocations: 2.906 kB / 1.08 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002028/0.9618, allocations: 72.62 kB / 1.081 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/0.9619, allocations: 40 kB / 1.081 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003665/0.9655, allocations: 1.814 MB / 1.082 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009828/0.9754, allocations: 5.051 MB / 1.087 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002781/0.9782, allocations: 1.334 MB / 1.089 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.9793, allocations: 0.6178 MB / 1.089 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009756/0.9803, allocations: 0.8082 MB / 1.09 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/0.9819, allocations: 0.8339 MB / 1.091 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=137): time 3.988e-06/0.9819, allocations: 3.375 kB / 1.091 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=137): time 0.005993/0.9879, allocations: 2.427 MB / 1.093 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.9881, allocations: 200.3 kB / 1.093 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.9893, allocations: 0.7748 MB / 1.094 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002808/0.9896, allocations: 53.45 kB / 1.094 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005552/0.9901, allocations: 0.6306 MB / 1.095 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004391/0.9906, allocations: 460.5 kB / 1.095 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.9906, allocations: 24.44 kB / 1.095 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.9908, allocations: 352.5 kB / 1.096 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009686/0.9918, allocations: 428.4 kB / 1.096 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.9929, allocations: 0.5828 MB / 1.097 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009793/0.9938, allocations: 0.4963 MB / 1.097 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.9939, allocations: 0 / 1.097 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003275/0.9971, allocations: 1.403 MB / 1.098 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.9972, allocations: 8.406 kB / 1.098 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.9972, allocations: 0 / 1.098 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009313/0.9982, allocations: 188.8 kB / 1.099 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.9996, allocations: 302.6 kB / 1.099 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/1.005, allocations: 6.767 MB / 1.105 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/1.007, allocations: 157.8 kB / 1.106 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/1.007, allocations: 48.31 kB / 1.106 GB, free: 6.223 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001035/1.008, allocations: 366.8 kB / 1.106 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/1.009, allocations: 124.7 kB / 1.106 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/1.013, allocations: 1.741 MB / 1.108 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.013, allocations: 14.59 kB / 1.108 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.013, allocations: 2.969 kB / 1.108 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/1.013, allocations: 6.234 kB / 1.108 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/1.015, allocations: 1.444 MB / 1.109 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.015, allocations: 0 / 1.109 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/1.016, allocations: 298.4 kB / 1.11 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008486/1.017, allocations: 194.1 kB / 1.11 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/1.017, allocations: 39.34 kB / 1.11 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005325/1.023, allocations: 6.798 MB / 1.116 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.023, allocations: 0 / 1.116 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/1.027, allocations: 1.528 MB / 1.118 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009901/1.028, allocations: 406.1 kB / 1.118 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/1.028, allocations: 31.61 kB / 1.118 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.029, allocations: 138.6 kB / 1.118 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/1.029, allocations: 96.03 kB / 1.119 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/1.03, allocations: 67.5 kB / 1.119 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008294/1.03, allocations: 0.5409 MB / 1.119 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.784e-06/1.03, allocations: 0 / 1.119 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001804/1.032, allocations: 0.5411 MB / 1.12 GB, free: 14.57 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005441/1.038, allocations: 2.646 MB / 1.122 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004474/1.042, allocations: 1.729 MB / 1.124 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.042, allocations: 3.062 kB / 1.124 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002423/1.045, allocations: 1.252 MB / 1.125 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.047, allocations: 463.6 kB / 1.126 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.066, allocations: 7.915 MB / 1.133 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009738/1.067, allocations: 1.284 MB / 1.135 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002318/1.069, allocations: 424.8 kB / 1.135 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008852/1.07, allocations: 0.6242 MB / 1.136 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of SimCode: time 1.313e-06/1.07, allocations: 4 kB / 1.136 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07096/1.141, allocations: 35.22 MB / 1.17 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/1.142, allocations: 282.2 kB / 1.17 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/4.41, allocations: 0 / 1.17 GB, free: 12.68 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)