Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.772/1.772, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.0009747/0.0009747, allocations: 176.5 kB / 372 MB, free: 10.27 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.826/1.826, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0009015/0.000901, allocations: 86.36 kB / 0.744 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004831, allocations: 11.31 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3008, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005034/0.3059, allocations: 3.596 MB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8935/1.199, allocations: 136.4 MB / 1.116 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008418/1.2, allocations: 16.12 kB / 1.116 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006001/1.201, allocations: 128.1 kB / 1.117 GB, free: 2.219 MB / 0.6823 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.001373/1.202, allocations: 351.1 kB / 1.117 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/1.204, allocations: 0.5968 MB / 1.117 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001293/1.206, allocations: 1.029 MB / 1.118 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007369/1.206, allocations: 395.6 kB / 1.119 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006834/1.207, allocations: 296.7 kB / 1.119 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005377/1.208, allocations: 320.7 kB / 1.119 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.875e-05/1.208, allocations: 22.28 kB / 1.119 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/1.209, allocations: 0.6481 MB / 1.12 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/1.21, allocations: 163.9 kB / 1.12 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002696/1.21, allocations: 175.5 kB / 1.12 GB, free: 17.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/1.211, allocations: 1.131 MB / 1.121 GB, free: 17.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.211, allocations: 1.094 kB / 1.121 GB, free: 17.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.746e-06/1.211, allocations: 0 / 1.121 GB, free: 17.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.251e-05/1.211, allocations: 0 / 1.121 GB, free: 17.43 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002208/1.214, allocations: 1.154 MB / 1.123 GB, free: 16.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/1.214, allocations: 8.719 kB / 1.123 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/1.214, allocations: 116.7 kB / 1.123 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/1.215, allocations: 206.9 kB / 1.123 GB, free: 16.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/1.216, allocations: 0.666 MB / 1.124 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/1.216, allocations: 51.41 kB / 1.124 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/1.216, allocations: 70.84 kB / 1.124 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/1.218, allocations: 0.8349 MB / 1.125 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/1.218, allocations: 0.9688 kB / 1.125 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.961e-05/1.218, allocations: 35.36 kB / 1.125 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/1.218, allocations: 17.19 kB / 1.125 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/1.221, allocations: 1.08 MB / 1.126 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004558/1.225, allocations: 2.366 MB / 1.128 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/1.227, allocations: 0.7548 MB / 1.129 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/1.227, allocations: 307.1 kB / 1.129 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.968e-05/1.227, allocations: 32 kB / 1.129 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009775/1.228, allocations: 468.6 kB / 1.129 GB, free: 15.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 5.33e-06/1.228, allocations: 0 / 1.129 GB, free: 15.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003456/1.232, allocations: 1.19 MB / 1.131 GB, free: 14.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/1.232, allocations: 193.3 kB / 1.131 GB, free: 14.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007761/1.233, allocations: 0.5796 MB / 1.131 GB, free: 14.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/1.233, allocations: 40.64 kB / 1.131 GB, free: 14.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/1.233, allocations: 355.4 kB / 1.132 GB, free: 14.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/1.233, allocations: 241.5 kB / 1.132 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/1.233, allocations: 11.12 kB / 1.132 GB, free: 14.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002181/1.234, allocations: 381.9 kB / 1.132 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/1.234, allocations: 254 kB / 1.133 GB, free: 13.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007391/1.235, allocations: 360.1 kB / 1.133 GB, free: 13.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/1.236, allocations: 292.6 kB / 1.133 GB, free: 13.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.236, allocations: 3.938 kB / 1.133 GB, free: 13.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002036/1.238, allocations: 0.8046 MB / 1.134 GB, free: 13.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.238, allocations: 6.75 kB / 1.134 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.238, allocations: 0 / 1.134 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006421/1.239, allocations: 78.78 kB / 1.134 GB, free: 13.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/1.239, allocations: 162 kB / 1.134 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/1.242, allocations: 1.537 MB / 1.136 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008877/1.242, allocations: 88.55 kB / 1.136 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/1.243, allocations: 30.2 kB / 1.136 GB, free: 12.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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.0005793/1.243, allocations: 253.1 kB / 1.136 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/1.243, allocations: 82.84 kB / 1.136 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/1.246, allocations: 1.114 MB / 1.137 GB, free: 11.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/1.246, allocations: 12.55 kB / 1.137 GB, free: 11.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/1.246, allocations: 4 kB / 1.137 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/1.246, allocations: 5.109 kB / 1.137 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/1.248, allocations: 0.8536 MB / 1.138 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.248, allocations: 1.312 kB / 1.138 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/1.248, allocations: 159.4 kB / 1.138 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005664/1.249, allocations: 83.64 kB / 1.138 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/1.249, allocations: 24.11 kB / 1.138 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/1.251, allocations: 1.565 MB / 1.14 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.251, allocations: 3.953 kB / 1.14 GB, free: 9.629 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/1.254, allocations: 0.9054 MB / 1.141 GB, free: 9.371 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/1.254, allocations: 280.1 kB / 1.141 GB, free: 9.176 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/1.254, allocations: 20.52 kB / 1.141 GB, free: 9.172 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006422/1.255, allocations: 81.05 kB / 1.141 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.255, allocations: 63.44 kB / 1.141 GB, free: 9.125 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.267e-05/1.255, allocations: 31.95 kB / 1.141 GB, free: 9.121 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006816/1.256, allocations: 421.6 kB / 1.142 GB, free: 8.969 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/1.256, allocations: 4 kB / 1.142 GB, free: 8.965 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001043/1.257, allocations: 266.9 kB / 1.142 GB, free: 8.918 MB / 0.698 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,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.00384/1.261, allocations: 1.933 MB / 1.144 GB, free: 7.961 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002051/1.263, allocations: 0.79 MB / 1.145 GB, free: 7.727 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.263, allocations: 1.859 kB / 1.145 GB, free: 7.727 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.264, allocations: 0.5276 MB / 1.145 GB, free: 7.527 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.265, allocations: 261.9 kB / 1.145 GB, free: 7.449 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/1.277, allocations: 4.774 MB / 1.15 GB, free: 5.414 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007791/1.278, allocations: 0.9884 MB / 1.151 GB, free: 4.602 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001147/1.279, allocations: 262.9 kB / 1.151 GB, free: 4.469 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004978/1.279, allocations: 344 kB / 1.152 GB, free: 4.418 MB / 0.698 GB Notification: Performance of SimCode: time 1.653e-06/1.279, allocations: 0 / 1.152 GB, free: 4.418 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06178/1.341, allocations: 20.21 MB / 1.171 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003305/1.342, allocations: 288.8 kB / 1.172 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.879/4.221, allocations: 3.234 kB / 1.172 GB, free: 10.28 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)