Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006724/0.006724, allocations: 100.9 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001599, allocations: 200.1 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.013/2.013, allocations: 390.3 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 59.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6488/0.65, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.006948/0.657, allocations: 6.991 MB / 1.094 GB, free: 300 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1666/0.8236, allocations: 159.4 MB / 1.25 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.8249, allocations: 39.81 kB / 1.25 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004093/0.829, allocations: 1.949 MB / 1.252 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.8314, allocations: 1.17 MB / 1.253 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.8342, allocations: 1.44 MB / 1.254 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003804/0.8381, allocations: 5.241 MB / 1.26 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.8393, allocations: 1.174 MB / 1.261 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.8409, allocations: 1.66 MB / 1.262 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.8422, allocations: 1.463 MB / 1.264 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002914/0.8425, allocations: 276 kB / 1.264 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.8455, allocations: 2.356 MB / 1.266 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001928/0.8475, allocations: 3.01 MB / 1.269 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002401/0.8499, allocations: 2.893 MB / 1.272 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008508/0.8584, allocations: 10.76 MB / 1.283 GB, free: 5.859 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8584, allocations: 4 kB / 1.283 GB, free: 5.855 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8584, allocations: 0 / 1.283 GB, free: 5.855 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.005e-05/0.8585, allocations: 0 / 1.283 GB, free: 5.855 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01345/0.872, allocations: 8.234 MB / 1.291 GB, free: 13.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.872, allocations: 12.03 kB / 1.291 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002345/0.8722, allocations: 223.9 kB / 1.291 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.8742, allocations: 0.5918 MB / 1.291 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2199/1.094, allocations: 276 MB / 1.561 GB, free: 8.52 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/1.094, allocations: 138.9 kB / 1.561 GB, free: 8.383 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/1.095, allocations: 180 kB / 1.561 GB, free: 8.207 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/1.097, allocations: 1.968 MB / 1.563 GB, free: 6.16 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/1.098, allocations: 3.938 kB / 1.563 GB, free: 6.156 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/1.098, allocations: 71.98 kB / 1.563 GB, free: 6.086 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/1.098, allocations: 36 kB / 1.563 GB, free: 6.051 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/1.1, allocations: 1.982 MB / 1.565 GB, free: 4.062 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.459/1.559, allocations: 69.84 MB / 1.633 GB, free: 441.1 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/1.562, allocations: 1.781 MB / 1.635 GB, free: 440.5 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009996/1.563, allocations: 1.081 MB / 1.636 GB, free: 439.7 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 7.335e-05/1.563, allocations: 40.95 kB / 1.636 GB, free: 439.6 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/1.564, allocations: 1.19 MB / 1.637 GB, free: 438.7 MB / 1.311 GB Notification: Performance of pre-optimization done (n=117): time 2.525e-06/1.564, allocations: 0 / 1.637 GB, free: 438.7 MB / 1.311 GB Notification: Performance of matching and sorting (n=117): time 0.006491/1.571, allocations: 3.701 MB / 1.641 GB, free: 435.6 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/1.571, allocations: 345 kB / 1.641 GB, free: 435.2 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2442/1.815, allocations: 315.9 MB / 1.95 GB, free: 124.9 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003323/1.815, allocations: 67.73 kB / 1.95 GB, free: 124.8 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001901/1.817, allocations: 2.234 MB / 1.952 GB, free: 122.8 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/1.817, allocations: 383.3 kB / 1.953 GB, free: 122.4 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004972/1.818, allocations: 459.3 kB / 1.953 GB, free: 121.9 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 2.941e-05/1.818, allocations: 306.9 kB / 1.953 GB, free: 121.6 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/1.82, allocations: 1.527 MB / 1.955 GB, free: 120.1 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/1.822, allocations: 1.834 MB / 1.957 GB, free: 118.2 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004916/1.826, allocations: 3.226 MB / 1.96 GB, free: 114.9 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.827, allocations: 7.75 kB / 1.96 GB, free: 114.9 MB / 1.311 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008646/1.835, allocations: 4.278 MB / 1.964 GB, free: 110.6 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/1.835, allocations: 165.6 kB / 1.964 GB, free: 110.4 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.835, allocations: 4 kB / 1.964 GB, free: 110.4 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005317/1.836, allocations: 92.64 kB / 1.964 GB, free: 110.3 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/1.837, allocations: 391.4 kB / 1.965 GB, free: 110 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/1.839, allocations: 1.647 MB / 1.966 GB, free: 108.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/1.841, allocations: 0.6293 MB / 1.967 GB, free: 107.5 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/1.841, allocations: 87.97 kB / 1.967 GB, free: 107.5 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 228 * 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.001939/1.843, allocations: 2.162 MB / 1.969 GB, free: 105.3 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/1.844, allocations: 469.8 kB / 1.969 GB, free: 104.8 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/1.849, allocations: 3.374 MB / 1.973 GB, free: 101.4 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/1.849, allocations: 12 kB / 1.973 GB, free: 101.4 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/1.849, allocations: 0 / 1.973 GB, free: 101.4 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/1.849, allocations: 3.984 kB / 1.973 GB, free: 101.4 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/1.852, allocations: 4.083 MB / 1.977 GB, free: 97.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.852, allocations: 3.938 kB / 1.977 GB, free: 97.29 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/1.852, allocations: 183.7 kB / 1.977 GB, free: 97.11 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004133/1.853, allocations: 76.78 kB / 1.977 GB, free: 97.04 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.63e-05/1.853, allocations: 43.69 kB / 1.977 GB, free: 97 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/1.854, allocations: 1.656 MB / 1.979 GB, free: 95.2 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.854, allocations: 3.75 kB / 1.979 GB, free: 95.2 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004461/1.859, allocations: 3.039 MB / 1.982 GB, free: 92.13 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002892/1.862, allocations: 1.778 MB / 1.983 GB, free: 90.33 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/1.863, allocations: 28 kB / 1.983 GB, free: 90.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003248/1.866, allocations: 422.4 kB / 1.984 GB, free: 89.89 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/1.866, allocations: 96.86 kB / 1.984 GB, free: 89.79 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.866, allocations: 59.97 kB / 1.984 GB, free: 89.73 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.6304/2.497, allocations: 251.5 MB / 2.229 GB, free: 362.2 MB / 1.326 GB Notification: Performance of sort global known variables: time 6.02e-07/2.497, allocations: 0 / 2.229 GB, free: 362.2 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003714/2.501, allocations: 1.377 MB / 2.231 GB, free: 361 MB / 1.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.006628/2.507, allocations: 4.453 MB / 2.235 GB, free: 357.5 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.005378/2.513, allocations: 4.33 MB / 2.239 GB, free: 353.5 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/2.513, allocations: 0 / 2.239 GB, free: 353.5 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.002651/2.515, allocations: 1.91 MB / 2.241 GB, free: 351.7 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/2.519, allocations: 0.5966 MB / 2.242 GB, free: 351.2 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.61/4.13, allocations: 1.258 GB / 3.5 GB, free: 126.8 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/4.132, allocations: 3.015 MB / 3.503 GB, free: 123.8 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.003178/4.135, allocations: 1.685 MB / 3.504 GB, free: 122.2 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00301/4.138, allocations: 2.355 MB / 3.507 GB, free: 119.9 MB / 1.342 GB Notification: Performance of SimCode: time 5.21e-07/4.138, allocations: 0 / 3.507 GB, free: 119.9 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.737/7.875, allocations: 272.8 MB / 3.773 GB, free: 376.6 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.68/31.56, allocations: 14.31 kB / 3.773 GB, free: 376.5 MB / 1.342 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)