Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 288.4 MB / 303.3 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 168.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 0.6307 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000817/0.0008175, allocations: 86.36 kB / 0.744 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003981, allocations: 11.41 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.6779/0.8887, allocations: 158.8 MB / 1.135 GB, free: 440 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01953/0.9083, allocations: 14.09 MB / 1.149 GB, free: 11.62 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/0.9105, allocations: 28.44 kB / 1.149 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.9121, allocations: 399.4 kB / 1.149 GB, free: 11.39 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.004054/0.9161, allocations: 1.069 MB / 1.15 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004385/0.9205, allocations: 1.229 MB / 1.151 GB, free: 10.13 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004276/0.9248, allocations: 2.66 MB / 1.154 GB, free: 9.086 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002674/0.9275, allocations: 1.335 MB / 1.155 GB, free: 8.301 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002702/0.9302, allocations: 0.9667 MB / 1.156 GB, free: 7.816 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.9317, allocations: 0.7583 MB / 1.157 GB, free: 7.367 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.932, allocations: 44.88 kB / 1.157 GB, free: 7.367 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.9345, allocations: 0.7632 MB / 1.158 GB, free: 7.008 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004481/0.9349, allocations: 370.9 kB / 1.158 GB, free: 6.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005916/0.9355, allocations: 326.5 kB / 1.158 GB, free: 6.574 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.9383, allocations: 1.973 MB / 1.16 GB, free: 5.199 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.9383, allocations: 4 kB / 1.16 GB, free: 5.195 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.236e-06/0.9384, allocations: 3.984 kB / 1.16 GB, free: 5.191 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.495e-05/0.9384, allocations: 5.5 kB / 1.16 GB, free: 5.188 MB / 0.698 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.004376/0.9428, allocations: 1.791 MB / 1.162 GB, free: 3.828 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.9428, allocations: 8.656 kB / 1.162 GB, free: 3.828 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003343/0.9432, allocations: 235.5 kB / 1.162 GB, free: 3.641 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003266/0.9465, allocations: 467.4 kB / 1.163 GB, free: 3.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.9486, allocations: 1.025 MB / 1.164 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.9487, allocations: 121.7 kB / 1.164 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.949, allocations: 146.8 kB / 1.164 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/0.9524, allocations: 1.695 MB / 1.165 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.9525, allocations: 1.344 kB / 1.165 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.9527, allocations: 65.16 kB / 1.166 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.379e-05/0.9527, allocations: 49.67 kB / 1.166 GB, free: 1.395 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003342/0.9561, allocations: 1.704 MB / 1.167 GB, free: 0.5742 MB / 0.698 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.00976/0.9659, allocations: 5.699 MB / 1.173 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/0.9684, allocations: 1.47 MB / 1.174 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000946/0.9693, allocations: 0.5452 MB / 1.175 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.9704, allocations: 0.8836 MB / 1.176 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.9718, allocations: 0.7238 MB / 1.176 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=117): time 4.919e-06/0.9718, allocations: 0 / 1.176 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117): time 0.004721/0.9765, allocations: 1.759 MB / 1.178 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.9767, allocations: 194.7 kB / 1.178 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.978, allocations: 0.912 MB / 1.179 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.9781, allocations: 54.98 kB / 1.179 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/0.9788, allocations: 0.6373 MB / 1.18 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/0.9792, allocations: 395.6 kB / 1.18 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.9792, allocations: 18.78 kB / 1.18 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9794, allocations: 349.2 kB / 1.181 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008088/0.9802, allocations: 396.8 kB / 1.181 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008988/0.9811, allocations: 0.5469 MB / 1.181 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008924/0.982, allocations: 470 kB / 1.182 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.982, allocations: 2.938 kB / 1.182 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002803/0.9848, allocations: 1.209 MB / 1.183 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.9848, allocations: 13.17 kB / 1.183 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.9849, allocations: 2.969 kB / 1.183 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/0.9855, allocations: 87.2 kB / 1.183 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.9868, allocations: 266.8 kB / 1.183 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.9889, allocations: 1.536 MB / 1.185 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.9903, allocations: 149 kB / 1.185 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-05/0.9904, allocations: 46.69 kB / 1.185 GB, free: 3.16 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (124): * Single equations (assignments): 123 * 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.0007634/0.9911, allocations: 357.8 kB / 1.185 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.9914, allocations: 129 kB / 1.186 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/0.9947, allocations: 1.524 MB / 1.187 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.9948, allocations: 13.84 kB / 1.187 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.9948, allocations: 0 / 1.187 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.9948, allocations: 7.969 kB / 1.187 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005305/1, allocations: 2.967 MB / 1.19 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/1, allocations: 0 / 1.19 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.001, allocations: 262.3 kB / 1.19 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000547/1.002, allocations: 86.8 kB / 1.19 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.863e-05/1.002, allocations: 35.41 kB / 1.19 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/1.004, allocations: 1.555 MB / 1.192 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.004, allocations: 0 / 1.192 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/1.008, allocations: 2.04 MB / 1.194 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009106/1.009, allocations: 393.8 kB / 1.194 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/1.009, allocations: 29.08 kB / 1.194 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/1.011, allocations: 123.8 kB / 1.194 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/1.011, allocations: 82.67 kB / 1.194 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.011, allocations: 55.27 kB / 1.195 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001261/1.013, allocations: 0.6281 MB / 1.195 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.21e-07/1.013, allocations: 0 / 1.195 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001834/1.014, allocations: 497.7 kB / 1.196 GB, free: 12.31 MB / 0.7292 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 (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.00581/1.02, allocations: 3.138 MB / 1.199 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002508/1.023, allocations: 1.168 MB / 1.2 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.023, allocations: 8.297 kB / 1.2 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/1.024, allocations: 0.7129 MB / 1.201 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/1.027, allocations: 0.5104 MB / 1.201 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01891/1.046, allocations: 8.205 MB / 1.209 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.047, allocations: 1.279 MB / 1.21 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002146/1.049, allocations: 426.1 kB / 1.211 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009949/1.05, allocations: 0.632 MB / 1.211 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of SimCode: time 1.302e-06/1.05, allocations: 3.938 kB / 1.211 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06711/1.117, allocations: 34.73 MB / 1.245 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/1.118, allocations: 259.3 kB / 1.245 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.246/4.364, allocations: 3.938 kB / 1.245 GB, free: 9.344 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)