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.502/1.502, allocations: 288.4 MB / 303.6 MB, free: 8.102 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.0008997/0.0008997, allocations: 176.5 kB / 372.2 MB, free: 10.16 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.098/1.098, allocations: 205.4 MB / 0.631 GB, free: 9.922 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.0006721/0.0006722, allocations: 82.31 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 20.45 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.4277/0.5704, allocations: 158.8 MB / 1.135 GB, free: 448 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.5844, allocations: 14.1 MB / 1.149 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.5857, allocations: 28.66 kB / 1.149 GB, free: 11.6 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.5871, allocations: 451.2 kB / 1.15 GB, free: 11.34 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.003255/0.5903, allocations: 1.175 MB / 1.151 GB, free: 10.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00338/0.5937, allocations: 1.295 MB / 1.152 GB, free: 9.992 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002942/0.5967, allocations: 2.71 MB / 1.155 GB, free: 8.691 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00211/0.5988, allocations: 1.547 MB / 1.156 GB, free: 7.754 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.6012, allocations: 0.9882 MB / 1.157 GB, free: 7.262 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008539/0.6021, allocations: 0.7616 MB / 1.158 GB, free: 6.809 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.6022, allocations: 45.56 kB / 1.158 GB, free: 6.809 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.6044, allocations: 1.228 MB / 1.159 GB, free: 6.164 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.6048, allocations: 376 kB / 1.159 GB, free: 5.922 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00081/0.6056, allocations: 0.737 MB / 1.16 GB, free: 5.422 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.6075, allocations: 1.992 MB / 1.162 GB, free: 4.039 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6075, allocations: 0 / 1.162 GB, free: 4.039 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6075, allocations: 0 / 1.162 GB, free: 4.039 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.6075, allocations: 1.125 kB / 1.162 GB, free: 4.039 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.002756/0.6103, allocations: 1.782 MB / 1.164 GB, free: 2.672 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.6103, allocations: 10.38 kB / 1.164 GB, free: 2.672 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002371/0.6106, allocations: 226.7 kB / 1.164 GB, free: 2.492 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.6131, allocations: 463.2 kB / 1.164 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.6145, allocations: 1.056 MB / 1.166 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.936e-05/0.6145, allocations: 117 kB / 1.166 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.6147, allocations: 156.4 kB / 1.166 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.6173, allocations: 1.686 MB / 1.167 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.6173, allocations: 9.25 kB / 1.167 GB, free: 276 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.6175, allocations: 68.48 kB / 1.167 GB, free: 224 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/0.6175, allocations: 46.62 kB / 1.168 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.6201, allocations: 1.705 MB / 1.169 GB, free: 15.39 MB / 0.7136 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.006409/0.6266, allocations: 5.707 MB / 1.175 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.6287, allocations: 1.474 MB / 1.176 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/0.6295, allocations: 0.5338 MB / 1.177 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007241/0.6302, allocations: 0.891 MB / 1.178 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.6314, allocations: 0.7281 MB / 1.178 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=117): time 2.535e-06/0.6314, allocations: 0 / 1.178 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117): time 0.003847/0.6352, allocations: 1.769 MB / 1.18 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.774e-05/0.6354, allocations: 198 kB / 1.18 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009549/0.6363, allocations: 0.9057 MB / 1.181 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.579e-05/0.6364, allocations: 47.89 kB / 1.181 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.6368, allocations: 0.6397 MB / 1.182 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.6371, allocations: 393.1 kB / 1.182 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.6371, allocations: 25.25 kB / 1.182 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6372, allocations: 346.4 kB / 1.183 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/0.638, allocations: 393.5 kB / 1.183 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008004/0.6388, allocations: 0.5608 MB / 1.183 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.6403, allocations: 0.9552 MB / 1.184 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6403, allocations: 0 / 1.184 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002257/0.6426, allocations: 1.211 MB / 1.186 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6426, allocations: 5.844 kB / 1.186 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.6426, allocations: 2.844 kB / 1.186 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005054/0.6431, allocations: 83.34 kB / 1.186 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.6443, allocations: 265.9 kB / 1.186 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.646, allocations: 1.534 MB / 1.187 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009846/0.647, allocations: 154.5 kB / 1.188 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.598e-05/0.6471, allocations: 43.78 kB / 1.188 GB, free: 1.66 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.0005604/0.6476, allocations: 358.7 kB / 1.188 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.6478, allocations: 129 kB / 1.188 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/0.6506, allocations: 1.51 MB / 1.19 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.6506, allocations: 13.06 kB / 1.19 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6506, allocations: 7.938 kB / 1.19 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.6507, allocations: 7.969 kB / 1.19 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/0.6548, allocations: 2.965 MB / 1.192 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.6548, allocations: 6.875 kB / 1.192 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.6559, allocations: 266.4 kB / 1.193 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/0.6563, allocations: 83.66 kB / 1.193 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.315e-05/0.6564, allocations: 38.81 kB / 1.193 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.6579, allocations: 1.552 MB / 1.194 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6579, allocations: 3.984 kB / 1.194 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003181/0.6611, allocations: 2.04 MB / 1.196 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004775/0.6616, allocations: 382.6 kB / 1.197 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.6617, allocations: 28.23 kB / 1.197 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009761/0.6627, allocations: 122.9 kB / 1.197 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.6629, allocations: 79.56 kB / 1.197 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-05/0.663, allocations: 54.38 kB / 1.197 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000702/0.6637, allocations: 0.6352 MB / 1.198 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6637, allocations: 4 kB / 1.198 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001013/0.6647, allocations: 482.6 kB / 1.198 GB, free: 10.21 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.004659/0.6694, allocations: 3.152 MB / 1.201 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.6714, allocations: 1.156 MB / 1.202 GB, free: 6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.6714, allocations: 8.688 kB / 1.202 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.6725, allocations: 0.7167 MB / 1.203 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.6745, allocations: 0.498 MB / 1.203 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.6877, allocations: 8.231 MB / 1.211 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.6885, allocations: 1.275 MB / 1.213 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001444/0.6899, allocations: 426.1 kB / 1.213 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007457/0.6907, allocations: 0.6281 MB / 1.214 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.6907, allocations: 0 / 1.214 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.414/2.104, allocations: 35.08 MB / 1.248 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/2.105, allocations: 248 kB / 1.248 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.344/5.449, allocations: 7.938 kB / 1.248 GB, free: 6.789 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)