Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.0009083/0.0009083, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005278/0.005278, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.351/2.351, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002838, allocations: 12.11 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2254, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004925/0.2303, allocations: 4.95 MB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.128/0.3584, allocations: 146.9 MB / 1.207 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006217/0.359, allocations: 19.88 kB / 1.207 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.3595, allocations: 158.8 kB / 1.207 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.361, allocations: 492.5 kB / 1.208 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.3626, allocations: 0.8292 MB / 1.209 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001403/0.364, allocations: 1.503 MB / 1.21 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009058/0.3649, allocations: 0.7026 MB / 1.211 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005894/0.3655, allocations: 438.1 kB / 1.211 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005898/0.3661, allocations: 0.4935 MB / 1.212 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.3663, allocations: 32 kB / 1.212 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006622/0.3669, allocations: 395.7 kB / 1.212 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.3671, allocations: 230.9 kB / 1.212 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004269/0.3676, allocations: 0.553 MB / 1.213 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.3689, allocations: 1.748 MB / 1.214 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3689, allocations: 0 / 1.214 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3689, allocations: 0 / 1.214 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.3689, allocations: 4 kB / 1.214 GB, free: 4.797 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002394/0.3713, allocations: 1.419 MB / 1.216 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.3714, allocations: 8.031 kB / 1.216 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.3716, allocations: 169.1 kB / 1.216 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004942/0.3765, allocations: 0.8303 MB / 1.217 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009648/0.3775, allocations: 0.8044 MB / 1.218 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.3776, allocations: 90.14 kB / 1.218 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.3777, allocations: 100 kB / 1.218 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/0.3806, allocations: 1.463 MB / 1.219 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.3806, allocations: 0 / 1.219 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.3808, allocations: 44 kB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.3808, allocations: 24 kB / 1.219 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004348/0.3851, allocations: 1.948 MB / 1.221 GB, free: 13.72 MB / 0.9825 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.005424/0.3906, allocations: 3.567 MB / 1.225 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/0.3937, allocations: 1.398 MB / 1.226 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.3952, allocations: 0.6011 MB / 1.227 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006053/0.3958, allocations: 478.4 kB / 1.227 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001736/0.3975, allocations: 0.8204 MB / 1.228 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=109): time 2.074e-06/0.3975, allocations: 0 / 1.228 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=109): time 0.005627/0.4032, allocations: 2 MB / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.295e-05/0.4033, allocations: 192.9 kB / 1.23 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006596/0.4039, allocations: 0.649 MB / 1.231 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/0.404, allocations: 45.7 kB / 1.231 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.4043, allocations: 440.5 kB / 1.231 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.4045, allocations: 366.8 kB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.4047, allocations: 77.67 kB / 1.232 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4048, allocations: 402.7 kB / 1.232 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.4062, allocations: 493.7 kB / 1.232 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.4077, allocations: 0.6203 MB / 1.233 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/0.4104, allocations: 1.074 MB / 1.234 GB, free: 128 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4105, allocations: 4 kB / 1.234 GB, free: 124 kB / 0.9825 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003566/0.414, allocations: 1.333 MB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4141, allocations: 9.406 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4141, allocations: 0 / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/0.4146, allocations: 84.89 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.4159, allocations: 271.7 kB / 1.236 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.4177, allocations: 1.528 MB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.4189, allocations: 176.6 kB / 1.237 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.004e-05/0.4189, allocations: 39.97 kB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.0003926/0.4193, allocations: 289.5 kB / 1.238 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.4195, allocations: 98.81 kB / 1.238 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/0.4238, allocations: 1.688 MB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.4238, allocations: 12 kB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4238, allocations: 3.984 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.4238, allocations: 3.984 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005124/0.429, allocations: 2.821 MB / 1.242 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.429, allocations: 0 / 1.242 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.4302, allocations: 263.6 kB / 1.242 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/0.4307, allocations: 92.7 kB / 1.243 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.538e-05/0.4308, allocations: 31.97 kB / 1.243 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.4324, allocations: 1.54 MB / 1.244 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4324, allocations: 8 kB / 1.244 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003681/0.4361, allocations: 1.546 MB / 1.246 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.4365, allocations: 335.4 kB / 1.246 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.4366, allocations: 24 kB / 1.246 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.4378, allocations: 149.2 kB / 1.246 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.438, allocations: 92.75 kB / 1.246 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.02e-05/0.4381, allocations: 43.97 kB / 1.246 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004862/0.4386, allocations: 475 kB / 1.247 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4386, allocations: 0 / 1.247 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008475/0.4394, allocations: 399.1 kB / 1.247 GB, free: 2.398 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.3916/0.8311, allocations: 2.6 MB / 1.25 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00394/0.835, allocations: 1.375 MB / 1.251 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.8351, allocations: 1.781 kB / 1.251 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001989/0.837, allocations: 0.8284 MB / 1.252 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.8385, allocations: 291 kB / 1.252 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.8539, allocations: 9.032 MB / 1.261 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.8544, allocations: 1.084 MB / 1.262 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0013/0.8557, allocations: 344.1 kB / 1.262 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006377/0.8564, allocations: 461.3 kB / 1.263 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.8564, allocations: 4 kB / 1.263 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.2/6.057, allocations: 24.11 MB / 1.286 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/6.057, allocations: 333 kB / 1.287 GB, free: 178 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.781/11.84, allocations: 0 / 1.287 GB, free: 178 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)