Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_10_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.001496/0.001496, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 197.7 kB / 16.53 MB, free: 6.672 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.233/1.233, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.89 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5225, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009047/0.5316, allocations: 8.229 MB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.148/0.6796, allocations: 159.5 MB / 1.181 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.6809, allocations: 39.81 kB / 1.181 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004309/0.6853, allocations: 1.984 MB / 1.183 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002926/0.6882, allocations: 1.283 MB / 1.184 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.6911, allocations: 1.435 MB / 1.186 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004126/0.6952, allocations: 5.431 MB / 1.191 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.6965, allocations: 1.116 MB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.6981, allocations: 1.679 MB / 1.194 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.6996, allocations: 1.495 MB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003379/0.6999, allocations: 276 kB / 1.196 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.703, allocations: 2.329 MB / 1.198 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001969/0.7049, allocations: 3.01 MB / 1.201 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002407/0.7074, allocations: 2.947 MB / 1.204 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00792/0.7153, allocations: 10.71 MB / 1.214 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7153, allocations: 3.938 kB / 1.214 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7153, allocations: 4 kB / 1.214 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6e-05/0.7154, allocations: 0 / 1.214 GB, free: 8.215 MB / 0.9669 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.01221/0.7276, allocations: 8.263 MB / 1.222 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7276, allocations: 15.97 kB / 1.222 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002304/0.7279, allocations: 219.9 kB / 1.222 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.7298, allocations: 0.6033 MB / 1.223 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5526/1.282, allocations: 276 MB / 1.493 GB, free: 244 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.429e-05/1.283, allocations: 142.9 kB / 1.493 GB, free: 100 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003789/1.283, allocations: 184 kB / 1.493 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/1.286, allocations: 1.952 MB / 1.495 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/1.286, allocations: 4 kB / 1.495 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/1.286, allocations: 68 kB / 1.495 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/1.286, allocations: 36 kB / 1.495 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/1.289, allocations: 1.991 MB / 1.497 GB, free: 11.79 MB / 1.014 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.05312/1.342, allocations: 70.36 MB / 1.566 GB, free: 5.199 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/1.345, allocations: 1.804 MB / 1.567 GB, free: 3.395 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/1.347, allocations: 1.08 MB / 1.568 GB, free: 2.312 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.25e-05/1.347, allocations: 41.02 kB / 1.568 GB, free: 2.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/1.348, allocations: 1.188 MB / 1.57 GB, free: 1.066 MB / 1.076 GB Notification: Performance of pre-optimization done (n=117): time 2.524e-06/1.348, allocations: 0 / 1.57 GB, free: 1.066 MB / 1.076 GB Notification: Performance of matching and sorting (n=117): time 0.008122/1.357, allocations: 3.694 MB / 1.573 GB, free: 13.33 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002153/1.357, allocations: 350.5 kB / 1.574 GB, free: 12.94 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6501/2.007, allocations: 315.9 MB / 1.882 GB, free: 289.7 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003541/2.007, allocations: 69.69 kB / 1.882 GB, free: 289.7 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.002704/2.01, allocations: 2.229 MB / 1.884 GB, free: 287.6 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005671/2.011, allocations: 385.7 kB / 1.885 GB, free: 287.4 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/2.012, allocations: 461.6 kB / 1.885 GB, free: 287 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/2.012, allocations: 304.9 kB / 1.885 GB, free: 286.7 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/2.014, allocations: 1.523 MB / 1.887 GB, free: 285.2 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/2.015, allocations: 1.842 MB / 1.889 GB, free: 283.3 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/2.018, allocations: 3.224 MB / 1.892 GB, free: 280 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/2.018, allocations: 4 kB / 1.892 GB, free: 280 MB / 1.217 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006659/2.025, allocations: 4.275 MB / 1.896 GB, free: 275.8 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/2.025, allocations: 172.6 kB / 1.896 GB, free: 275.6 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/2.025, allocations: 4 kB / 1.896 GB, free: 275.6 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/2.026, allocations: 92.12 kB / 1.896 GB, free: 275.5 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/2.027, allocations: 396.4 kB / 1.897 GB, free: 275.1 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/2.029, allocations: 1.65 MB / 1.898 GB, free: 273.4 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/2.032, allocations: 0.6293 MB / 1.899 GB, free: 272.7 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/2.032, allocations: 91.12 kB / 1.899 GB, free: 272.6 MB / 1.217 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.002284/2.034, allocations: 2.163 MB / 1.901 GB, free: 270.5 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001964/2.036, allocations: 458 kB / 1.901 GB, free: 270 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004809/2.041, allocations: 3.387 MB / 1.905 GB, free: 266.6 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/2.041, allocations: 12 kB / 1.905 GB, free: 266.6 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/2.041, allocations: 0 / 1.905 GB, free: 266.6 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/2.041, allocations: 7.969 kB / 1.905 GB, free: 266.6 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/2.046, allocations: 4.086 MB / 1.909 GB, free: 262.5 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/2.046, allocations: 0 / 1.909 GB, free: 262.5 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006672/2.047, allocations: 187.7 kB / 1.909 GB, free: 262.3 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/2.048, allocations: 72.72 kB / 1.909 GB, free: 262.2 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/2.048, allocations: 43.91 kB / 1.909 GB, free: 262.2 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/2.049, allocations: 1.654 MB / 1.911 GB, free: 260.4 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/2.049, allocations: 4.062 kB / 1.911 GB, free: 260.4 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005026/2.054, allocations: 3.036 MB / 1.914 GB, free: 257.3 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00265/2.057, allocations: 1.775 MB / 1.915 GB, free: 255.5 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/2.058, allocations: 39.83 kB / 1.915 GB, free: 255.5 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002501/2.061, allocations: 412.7 kB / 1.916 GB, free: 255.1 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/2.061, allocations: 104.6 kB / 1.916 GB, free: 255 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/2.061, allocations: 55.97 kB / 1.916 GB, free: 254.9 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.1449/2.206, allocations: 251.5 MB / 2.162 GB, free: 3.402 MB / 1.217 GB Notification: Performance of sort global known variables: time 4.8e-07/2.206, allocations: 0 / 2.162 GB, free: 3.402 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003953/2.21, allocations: 1.406 MB / 2.163 GB, free: 2.074 MB / 1.217 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.007671/2.218, allocations: 4.456 MB / 2.167 GB, free: 13.89 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00626/2.224, allocations: 4.857 MB / 2.172 GB, free: 9.035 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.224, allocations: 0 / 2.172 GB, free: 9.035 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002088/2.226, allocations: 1.907 MB / 2.174 GB, free: 7.105 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/2.23, allocations: 0.6163 MB / 2.175 GB, free: 6.512 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.044/4.273, allocations: 1.277 GB / 3.452 GB, free: 125.5 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00301/4.277, allocations: 3.015 MB / 3.455 GB, free: 122.5 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.003617/4.28, allocations: 1.691 MB / 3.456 GB, free: 121 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002956/4.283, allocations: 2.354 MB / 3.459 GB, free: 118.6 MB / 1.232 GB Notification: Performance of SimCode: time 7.51e-07/4.283, allocations: 0 / 3.459 GB, free: 118.6 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.72/6.003, allocations: 276.7 MB / 3.729 GB, free: 312.5 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/21.13, allocations: 11.03 kB / 3.729 GB, free: 312.5 MB / 1.232 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)