Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.001501/0.001501, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001623/0.001623, allocations: 192.1 kB / 16.25 MB, free: 6.637 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.217/1.217, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.405/2.405, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 66.91 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2503, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008319/0.2587, allocations: 8.358 MB / 1.061 GB, free: 248 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1337/0.3924, allocations: 149.6 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000912/0.3934, allocations: 23.94 kB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.3941, allocations: 234 kB / 1.207 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.3959, allocations: 0.748 MB / 1.208 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.3981, allocations: 1.242 MB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.4003, allocations: 2.99 MB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.4018, allocations: 1.492 MB / 1.213 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.4029, allocations: 1.191 MB / 1.214 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.4041, allocations: 1.346 MB / 1.216 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003083/0.4044, allocations: 324 kB / 1.216 GB, free: 460 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009179/0.4053, allocations: 0.6715 MB / 1.217 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004587/0.4058, allocations: 0.6971 MB / 1.217 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009119/0.4067, allocations: 1.345 MB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.4094, allocations: 3.595 MB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4094, allocations: 0 / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.123e-06/0.4094, allocations: 0 / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.652e-05/0.4094, allocations: 0 / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005101/0.4146, allocations: 2.832 MB / 1.225 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4146, allocations: 12.62 kB / 1.225 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003244/0.4149, allocations: 312.9 kB / 1.225 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0143/0.4292, allocations: 2.112 MB / 1.227 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.4309, allocations: 1.274 MB / 1.229 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.4311, allocations: 168.5 kB / 1.229 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/0.4314, allocations: 216 kB / 1.229 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007224/0.4386, allocations: 3.278 MB / 1.232 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.4387, allocations: 4 kB / 1.232 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.4389, allocations: 92 kB / 1.232 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.439, allocations: 59.98 kB / 1.232 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.4499, allocations: 4.197 MB / 1.236 GB, free: 11.32 MB / 0.9981 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.0134/0.4633, allocations: 8.104 MB / 1.244 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007838/0.4712, allocations: 2.876 MB / 1.247 GB, free: 64 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.426/0.8972, allocations: 1.487 MB / 1.249 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000615/0.8979, allocations: 0.5049 MB / 1.249 GB, free: 190 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004317/0.9022, allocations: 1.843 MB / 1.251 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 3.737e-06/0.9022, allocations: 3.516 kB / 1.251 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.01233/0.9145, allocations: 4.47 MB / 1.255 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.9146, allocations: 207.3 kB / 1.255 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.9157, allocations: 0.948 MB / 1.256 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.9158, allocations: 66.47 kB / 1.256 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/0.9163, allocations: 0.7492 MB / 1.257 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004382/0.9167, allocations: 0.6805 MB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006593/0.9174, allocations: 375.8 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.596e-05/0.9174, allocations: 304.5 kB / 1.258 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003478/0.9209, allocations: 1.24 MB / 1.26 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003756/0.9247, allocations: 1.434 MB / 1.261 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007501/0.9322, allocations: 2.587 MB / 1.264 GB, free: 188 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.9322, allocations: 0.9375 kB / 1.264 GB, free: 188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009286/0.9415, allocations: 3.075 MB / 1.267 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.9415, allocations: 5.5 kB / 1.267 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.9416, allocations: 1.812 kB / 1.267 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000588/0.9421, allocations: 91.62 kB / 1.267 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/0.9456, allocations: 0.5923 MB / 1.267 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04079/0.9864, allocations: 1.638 MB / 1.269 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/0.9898, allocations: 373.8 kB / 1.269 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/0.9901, allocations: 95.58 kB / 1.269 GB, free: 186.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * 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.0009439/0.9911, allocations: 448.4 kB / 1.27 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/0.9915, allocations: 152.7 kB / 1.27 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/1.002, allocations: 3.71 MB / 1.273 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.002, allocations: 26.72 kB / 1.274 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.002, allocations: 0.75 kB / 1.274 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/1.002, allocations: 10.83 kB / 1.274 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/1.005, allocations: 2.454 MB / 1.276 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.005, allocations: 4.078 kB / 1.276 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003215/1.008, allocations: 0.5583 MB / 1.276 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/1.008, allocations: 76.91 kB / 1.277 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/1.008, allocations: 74.84 kB / 1.277 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/1.01, allocations: 1.672 MB / 1.278 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.01, allocations: 0 / 1.278 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008531/1.018, allocations: 3.214 MB / 1.281 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007034/1.019, allocations: 0.5384 MB / 1.282 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/1.019, allocations: 55.7 kB / 1.282 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/1.022, allocations: 283.7 kB / 1.282 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/1.022, allocations: 153.8 kB / 1.282 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/1.023, allocations: 95.84 kB / 1.282 GB, free: 180 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007919/1.023, allocations: 0.7049 MB / 1.283 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.023, allocations: 0 / 1.283 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001543/1.025, allocations: 0.67 MB / 1.284 GB, free: 179.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.009707/1.035, allocations: 4.329 MB / 1.288 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0113/1.046, allocations: 3.64 MB / 1.292 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.046, allocations: 0 / 1.292 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003889/1.05, allocations: 1.769 MB / 1.293 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/1.051, allocations: 389.5 kB / 1.294 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03146/1.083, allocations: 17.66 MB / 1.311 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/1.084, allocations: 1.434 MB / 1.312 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003011/1.087, allocations: 0.5762 MB / 1.313 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.088, allocations: 0.8779 MB / 1.314 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/1.088, allocations: 4 kB / 1.314 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.975/2.063, allocations: 42.12 MB / 1.355 GB, free: 113.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/2.063, allocations: 318.3 kB / 1.355 GB, free: 113.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/5.022, allocations: 0 / 1.355 GB, free: 113.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)