Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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.608/1.608, allocations: 288.4 MB / 303.3 MB, free: 8.23 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.001384/0.001384, allocations: 183.2 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.397/1.397, allocations: 205.4 MB / 0.6307 GB, free: 9.961 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.0007642/0.0007643, allocations: 96.83 kB / 0.744 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.000404, allocations: 15.06 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.215, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.004889/0.22, allocations: 4.75 MB / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5641/0.7841, allocations: 140.2 MB / 1.121 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.7852, allocations: 21.88 kB / 1.121 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00403/0.7892, allocations: 1.496 MB / 1.123 GB, free: 1.465 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.00205/0.7913, allocations: 0.5905 MB / 1.123 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.7936, allocations: 0.6842 MB / 1.124 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002475/0.7961, allocations: 2.045 MB / 1.126 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.7972, allocations: 0.7248 MB / 1.127 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.7983, allocations: 0.5953 MB / 1.127 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009735/0.7993, allocations: 0.6261 MB / 1.128 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.7995, allocations: 35.75 kB / 1.128 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004038/0.8035, allocations: 1.759 MB / 1.13 GB, free: 488 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009335/0.8045, allocations: 1.07 MB / 1.131 GB, free: 396 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005626/0.805, allocations: 388.2 kB / 1.131 GB, free: 276 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005666/0.8107, allocations: 4.005 MB / 1.135 GB, free: 15.13 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.8107, allocations: 1.938 kB / 1.135 GB, free: 15.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8107, allocations: 4 kB / 1.135 GB, free: 15.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.646e-05/0.8108, allocations: 0 / 1.135 GB, free: 15.13 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.007735/0.8186, allocations: 3.146 MB / 1.138 GB, free: 13.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.8186, allocations: 9.375 kB / 1.138 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003264/0.819, allocations: 182.4 kB / 1.138 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.8206, allocations: 346.8 kB / 1.138 GB, free: 12.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08293/0.9035, allocations: 87.48 MB / 1.224 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.9037, allocations: 94.36 kB / 1.224 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003718/0.904, allocations: 124 kB / 1.224 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002941/0.907, allocations: 1.244 MB / 1.225 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.907, allocations: 3.938 kB / 1.225 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.9072, allocations: 56 kB / 1.225 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.9073, allocations: 31.95 kB / 1.225 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.9097, allocations: 1.412 MB / 1.227 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/0.933, allocations: 23.13 MB / 1.249 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.9353, allocations: 0.9948 MB / 1.25 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007342/0.9361, allocations: 399.7 kB / 1.251 GB, free: 1.883 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.686e-05/0.9362, allocations: 37.64 kB / 1.251 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.9372, allocations: 0.567 MB / 1.251 GB, free: 1.266 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=88): time 3.386e-06/0.9372, allocations: 0 / 1.251 GB, free: 1.266 MB / 0.7761 GB Notification: Performance of matching and sorting (n=88): time 0.004287/0.9415, allocations: 1.564 MB / 1.253 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.9417, allocations: 196.9 kB / 1.253 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1086/1.05, allocations: 99.37 MB / 1.35 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000312/1.051, allocations: 45.7 kB / 1.35 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/1.052, allocations: 1.024 MB / 1.351 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/1.053, allocations: 285 kB / 1.351 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/1.053, allocations: 20 kB / 1.351 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.053, allocations: 345.9 kB / 1.352 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009241/1.054, allocations: 449.8 kB / 1.352 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009978/1.055, allocations: 0.5743 MB / 1.353 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009454/1.056, allocations: 0.5046 MB / 1.353 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.056, allocations: 0 / 1.353 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003303/1.059, allocations: 1.386 MB / 1.355 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.059, allocations: 11.95 kB / 1.355 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.059, allocations: 0 / 1.355 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/1.06, allocations: 88.81 kB / 1.355 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008766/1.061, allocations: 219.7 kB / 1.355 GB, free: 7.047 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/1.063, allocations: 1.524 MB / 1.356 GB, free: 5.387 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/1.064, allocations: 258.5 kB / 1.357 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.065, allocations: 43.97 kB / 1.357 GB, free: 5.09 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (122): * Single equations (assignments): 121 * 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.001337/1.066, allocations: 0.7915 MB / 1.357 GB, free: 4.289 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007531/1.067, allocations: 209.2 kB / 1.358 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/1.07, allocations: 1.496 MB / 1.359 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/1.07, allocations: 12 kB / 1.359 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.07, allocations: 3.938 kB / 1.359 GB, free: 2.555 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/1.07, allocations: 11.97 kB / 1.359 GB, free: 2.543 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006234/1.076, allocations: 3.513 MB / 1.363 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/1.076, allocations: 0 / 1.363 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007028/1.077, allocations: 175.7 kB / 1.363 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005164/1.077, allocations: 84.73 kB / 1.363 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-05/1.077, allocations: 27.98 kB / 1.363 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/1.079, allocations: 1.551 MB / 1.364 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.079, allocations: 0 / 1.364 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/1.082, allocations: 1.286 MB / 1.366 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/1.083, allocations: 0.7514 MB / 1.366 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004983/1.084, allocations: 20 kB / 1.366 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.085, allocations: 185.4 kB / 1.367 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/1.085, allocations: 68.91 kB / 1.367 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.733e-05/1.085, allocations: 43.97 kB / 1.367 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.5118/1.597, allocations: 79.38 MB / 1.444 GB, free: 351.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.61e-07/1.597, allocations: 2.516 kB / 1.444 GB, free: 351.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003631/1.601, allocations: 0.9324 MB / 1.445 GB, free: 351 MB / 0.948 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 99 * 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.005877/1.607, allocations: 2.633 MB / 1.448 GB, free: 350 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002371/1.609, allocations: 1.13 MB / 1.449 GB, free: 349.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.609, allocations: 1.375 kB / 1.449 GB, free: 349.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/1.61, allocations: 0.6119 MB / 1.449 GB, free: 349.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/1.613, allocations: 364.2 kB / 1.45 GB, free: 349.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2068/1.82, allocations: 251.8 MB / 1.696 GB, free: 107.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/1.821, allocations: 1.678 MB / 1.697 GB, free: 105.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002528/1.824, allocations: 0.7519 MB / 1.698 GB, free: 104.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001915/1.826, allocations: 1.061 MB / 1.699 GB, free: 103.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.134e-06/1.826, allocations: 0 / 1.699 GB, free: 103.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/1.942, allocations: 86.11 MB / 1.783 GB, free: 18.25 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/1.942, allocations: 294.7 kB / 1.783 GB, free: 17.89 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.856/5.798, allocations: 0 / 1.783 GB, free: 17.89 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)