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/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_Cp,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 252 MB / 267 MB, free: 10.95 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.001079/0.001079, allocations: 183.3 kB / 326.6 MB, free: 2.211 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.772/1.772, allocations: 205.4 MB / 0.5776 GB, free: 20.29 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.0008488/0.0008488, allocations: 94.27 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 9.281 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2237, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1761/0.3998, allocations: 159 MB / 1.056 GB, free: 336 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5741/0.974, allocations: 14.18 MB / 1.069 GB, free: 3.98 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.9759, allocations: 29.84 kB / 1.069 GB, free: 3.98 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.9779, allocations: 404.8 kB / 1.07 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.004665/0.9826, allocations: 1.092 MB / 1.071 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005095/0.9877, allocations: 1.285 MB / 1.072 GB, free: 3.859 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00548/0.9932, allocations: 2.844 MB / 1.075 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004079/0.9973, allocations: 1.369 MB / 1.076 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00384/1.001, allocations: 1.034 MB / 1.077 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/1.004, allocations: 0.7811 MB / 1.078 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007283/1.004, allocations: 49.19 kB / 1.078 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/1.008, allocations: 0.7611 MB / 1.079 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001206/1.009, allocations: 396.6 kB / 1.079 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/1.011, allocations: 337.1 kB / 1.08 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00416/1.015, allocations: 2.021 MB / 1.082 GB, free: 19.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.015, allocations: 0 / 1.082 GB, free: 19.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.665e-06/1.015, allocations: 0 / 1.082 GB, free: 19.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001721/1.015, allocations: 0 / 1.082 GB, free: 19.48 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.006612/1.022, allocations: 1.827 MB / 1.083 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/1.022, allocations: 8.781 kB / 1.083 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001051/1.023, allocations: 228.9 kB / 1.084 GB, free: 18.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003999/1.027, allocations: 467.3 kB / 1.084 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/1.03, allocations: 1.031 MB / 1.085 GB, free: 18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/1.03, allocations: 119.9 kB / 1.085 GB, free: 17.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005782/1.031, allocations: 150.7 kB / 1.085 GB, free: 17.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00565/1.037, allocations: 1.716 MB / 1.087 GB, free: 17.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.687e-05/1.037, allocations: 3.969 kB / 1.087 GB, free: 17.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003555/1.037, allocations: 72.08 kB / 1.087 GB, free: 17.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-05/1.037, allocations: 52.97 kB / 1.087 GB, free: 17.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004102/1.041, allocations: 1.709 MB / 1.089 GB, free: 17.71 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.01085/1.052, allocations: 5.739 MB / 1.094 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/1.055, allocations: 1.218 MB / 1.095 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.056, allocations: 0.5355 MB / 1.096 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/1.057, allocations: 0.8806 MB / 1.097 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/1.058, allocations: 0.7357 MB / 1.098 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=117): time 6.702e-06/1.058, allocations: 4 kB / 1.098 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117): time 0.005055/1.064, allocations: 1.756 MB / 1.099 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/1.064, allocations: 198.6 kB / 1.1 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/1.066, allocations: 0.921 MB / 1.1 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002126/1.066, allocations: 51.94 kB / 1.1 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005705/1.066, allocations: 0.6372 MB / 1.101 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/1.067, allocations: 401.1 kB / 1.101 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/1.067, allocations: 17 kB / 1.101 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.067, allocations: 345 kB / 1.102 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008933/1.068, allocations: 387.2 kB / 1.102 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000925/1.069, allocations: 0.5532 MB / 1.103 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009763/1.07, allocations: 469.7 kB / 1.103 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/1.07, allocations: 0 / 1.103 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00294/1.073, allocations: 1.21 MB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/1.073, allocations: 5.125 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.073, allocations: 2.875 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/1.074, allocations: 86.09 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.075, allocations: 271 kB / 1.105 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/1.077, allocations: 1.539 MB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/1.079, allocations: 154.9 kB / 1.106 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/1.079, allocations: 44.53 kB / 1.106 GB, free: 10.92 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.001103/1.08, allocations: 363.9 kB / 1.107 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004953/1.08, allocations: 129.2 kB / 1.107 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003685/1.084, allocations: 1.515 MB / 1.108 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/1.084, allocations: 11.56 kB / 1.108 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.084, allocations: 0 / 1.108 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.084, allocations: 8.859 kB / 1.108 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/1.087, allocations: 1.42 MB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/1.087, allocations: 0 / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.088, allocations: 261.4 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000568/1.089, allocations: 85.72 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/1.089, allocations: 32.42 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/1.091, allocations: 1.566 MB / 1.112 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.091, allocations: 3.953 kB / 1.112 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004426/1.095, allocations: 1.952 MB / 1.114 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.097, allocations: 399.6 kB / 1.114 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004255/1.097, allocations: 23.03 kB / 1.114 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/1.099, allocations: 133.9 kB / 1.114 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/1.099, allocations: 85.11 kB / 1.114 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/1.099, allocations: 57.3 kB / 1.114 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001287/1.1, allocations: 0.6451 MB / 1.115 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.1, allocations: 0 / 1.115 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001916/1.102, allocations: 496 kB / 1.115 GB, free: 8.434 MB / 0.7136 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.007083/1.109, allocations: 3.059 MB / 1.118 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003167/1.113, allocations: 1.156 MB / 1.119 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/1.113, allocations: 2.344 kB / 1.119 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/1.114, allocations: 0.7071 MB / 1.12 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/1.118, allocations: 0.5143 MB / 1.121 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/1.138, allocations: 8.271 MB / 1.129 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/1.139, allocations: 1.29 MB / 1.13 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002375/1.142, allocations: 426.1 kB / 1.13 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/1.143, allocations: 0.6371 MB / 1.131 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of SimCode: time 1.934e-06/1.143, allocations: 0 / 1.131 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07739/1.22, allocations: 35.12 MB / 1.165 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/1.221, allocations: 259.2 kB / 1.166 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/4.469, allocations: 8 kB / 1.166 GB, free: 6.789 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)