Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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 2.392/2.392, allocations: 252 MB / 267.3 MB, free: 10.84 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.002872/0.002871, allocations: 175.3 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.436/3.436, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.001246/0.001247, allocations: 82.36 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006439/0.0006446, allocations: 12.59 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3451, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009134/0.3543, allocations: 6.225 MB / 0.907 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2774/0.6318, allocations: 151.6 MB / 1.055 GB, free: 1.004 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003588/0.6355, allocations: 31.81 kB / 1.055 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.9541/1.59, allocations: 1.77 MB / 1.057 GB, free: 2.562 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.006568/1.596, allocations: 0.9941 MB / 1.058 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006263/1.603, allocations: 1.181 MB / 1.059 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01144/1.614, allocations: 5.042 MB / 1.064 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003934/1.618, allocations: 1.08 MB / 1.065 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005496/1.624, allocations: 1.229 MB / 1.066 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005384/1.629, allocations: 1.165 MB / 1.067 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001977/1.631, allocations: 63.25 kB / 1.067 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/1.641, allocations: 1.934 MB / 1.069 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.007674/1.649, allocations: 2.764 MB / 1.072 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.01164/1.661, allocations: 2.326 MB / 1.074 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02827/1.689, allocations: 10.04 MB / 1.084 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/1.689, allocations: 0 / 1.084 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.619e-06/1.689, allocations: 0 / 1.084 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003842/1.69, allocations: 4 kB / 1.084 GB, free: 0.9922 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.0331/1.723, allocations: 6.543 MB / 1.09 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.556e-05/1.723, allocations: 13.66 kB / 1.09 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001274/1.724, allocations: 209.5 kB / 1.091 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007098/1.731, allocations: 0.5992 MB / 1.091 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4465/2.178, allocations: 275.9 MB / 1.361 GB, free: 12.66 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/2.178, allocations: 130.7 kB / 1.361 GB, free: 12.53 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004379/2.179, allocations: 176 kB / 1.361 GB, free: 12.36 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/2.182, allocations: 1.863 MB / 1.363 GB, free: 10.42 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/2.182, allocations: 0 / 1.363 GB, free: 10.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/2.183, allocations: 60 kB / 1.363 GB, free: 10.36 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/2.183, allocations: 32 kB / 1.363 GB, free: 10.33 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003187/2.186, allocations: 1.911 MB / 1.365 GB, free: 8.426 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7278/2.914, allocations: 69.59 MB / 1.433 GB, free: 423.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003273/2.917, allocations: 1.666 MB / 1.434 GB, free: 421.8 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/2.918, allocations: 1.054 MB / 1.435 GB, free: 420.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/2.919, allocations: 33.36 kB / 1.435 GB, free: 420.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/2.92, allocations: 1.101 MB / 1.436 GB, free: 419.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 4.409e-06/2.92, allocations: 0 / 1.436 GB, free: 419.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.01042/2.931, allocations: 3.533 MB / 1.44 GB, free: 417 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002225/2.931, allocations: 353.6 kB / 1.44 GB, free: 416.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.519/3.45, allocations: 315.9 MB / 1.749 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000798/3.451, allocations: 61.7 kB / 1.749 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00624/3.457, allocations: 2.209 MB / 1.751 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/3.458, allocations: 353.9 kB / 1.751 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/3.458, allocations: 36 kB / 1.751 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002409/3.459, allocations: 381.9 kB / 1.752 GB, free: 99.93 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003469/3.462, allocations: 1.485 MB / 1.753 GB, free: 98.44 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003781/3.466, allocations: 1.792 MB / 1.755 GB, free: 96.57 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006766/3.473, allocations: 3.174 MB / 1.758 GB, free: 93.34 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-05/3.473, allocations: 0 / 1.758 GB, free: 93.34 MB / 0.9792 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01608/3.489, allocations: 4.185 MB / 1.762 GB, free: 89.18 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002728/3.489, allocations: 165.6 kB / 1.762 GB, free: 89.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/3.489, allocations: 10.91 kB / 1.762 GB, free: 89 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008605/3.49, allocations: 92.64 kB / 1.762 GB, free: 88.91 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/3.493, allocations: 371.4 kB / 1.763 GB, free: 88.55 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/3.495, allocations: 1.536 MB / 1.764 GB, free: 86.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007932/3.503, allocations: 0.6138 MB / 1.765 GB, free: 86.27 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008036/3.504, allocations: 83.97 kB / 1.765 GB, free: 86.19 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (214): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.007548/3.512, allocations: 2.151 MB / 1.767 GB, free: 84.02 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004933/3.517, allocations: 450.9 kB / 1.767 GB, free: 83.58 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/3.528, allocations: 3.232 MB / 1.77 GB, free: 80.33 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/3.529, allocations: 12 kB / 1.77 GB, free: 80.32 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/3.529, allocations: 0 / 1.77 GB, free: 80.32 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.331e-05/3.529, allocations: 6.484 kB / 1.77 GB, free: 80.32 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03402/3.563, allocations: 7.973 MB / 1.778 GB, free: 72.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/3.563, allocations: 4 kB / 1.778 GB, free: 72.29 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/3.564, allocations: 175.8 kB / 1.778 GB, free: 72.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007372/3.565, allocations: 80.78 kB / 1.778 GB, free: 72.04 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/3.565, allocations: 36.52 kB / 1.779 GB, free: 72 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/3.567, allocations: 1.545 MB / 1.78 GB, free: 70.33 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/3.567, allocations: 7.938 kB / 1.78 GB, free: 70.32 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/3.578, allocations: 2.962 MB / 1.783 GB, free: 67.32 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007882/3.586, allocations: 1.759 MB / 1.785 GB, free: 65.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004881/3.591, allocations: 31.98 kB / 1.785 GB, free: 65.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008236/3.599, allocations: 412 kB / 1.785 GB, free: 65.11 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007054/3.6, allocations: 81.92 kB / 1.785 GB, free: 65.03 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004176/3.6, allocations: 57.06 kB / 1.785 GB, free: 64.97 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 1.267/4.867, allocations: 251.5 MB / 2.031 GB, free: 265.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.32e-07/4.868, allocations: 0 / 2.031 GB, free: 265.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01054/4.878, allocations: 1.33 MB / 2.032 GB, free: 264.6 MB / 0.9792 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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02248/4.901, allocations: 4.34 MB / 2.036 GB, free: 260.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.009686/4.91, allocations: 4.215 MB / 2.04 GB, free: 256.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/4.91, allocations: 0 / 2.04 GB, free: 256.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003742/4.914, allocations: 1.842 MB / 2.042 GB, free: 254.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01521/4.929, allocations: 0.5599 MB / 2.043 GB, free: 254.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.112/9.041, allocations: 1.277 GB / 3.32 GB, free: 275.4 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006462/9.048, allocations: 2.98 MB / 3.322 GB, free: 272.4 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.009795/9.058, allocations: 1.672 MB / 3.324 GB, free: 270.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01021/9.068, allocations: 2.291 MB / 3.326 GB, free: 268.6 MB / 0.9792 GB Notification: Performance of SimCode: time 2.114e-06/9.068, allocations: 0 / 3.326 GB, free: 268.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4531/9.521, allocations: 217 MB / 3.538 GB, free: 52.75 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003545/9.522, allocations: 305 kB / 3.539 GB, free: 52.38 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/20.19, allocations: 4.062 kB / 3.539 GB, free: 52.38 MB / 0.9792 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)