Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.0009109/0.0009108, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005127/0.005127, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.183/1.183, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.254/2.254, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002928, allocations: 12 kB / 0.8729 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5041/0.5044, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004718/0.5092, allocations: 4.757 MB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1265/0.6358, allocations: 146.8 MB / 1.171 GB, free: 7.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006035/0.6364, allocations: 15.94 kB / 1.171 GB, free: 7.75 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004895/0.6369, allocations: 154.8 kB / 1.171 GB, free: 7.598 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.6383, allocations: 489.1 kB / 1.172 GB, free: 7.121 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.6398, allocations: 0.7412 MB / 1.172 GB, free: 6.387 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001278/0.6411, allocations: 1.366 MB / 1.174 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008125/0.6419, allocations: 0.6213 MB / 1.174 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004928/0.6424, allocations: 370.2 kB / 1.175 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.6429, allocations: 417.7 kB / 1.175 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.414e-05/0.643, allocations: 24 kB / 1.175 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006199/0.6436, allocations: 367.6 kB / 1.176 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.6438, allocations: 195.1 kB / 1.176 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004198/0.6443, allocations: 0.5064 MB / 1.176 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.6456, allocations: 1.604 MB / 1.178 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6456, allocations: 3.938 kB / 1.178 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6456, allocations: 0 / 1.178 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.615e-05/0.6457, allocations: 0 / 1.178 GB, free: 0.8945 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002122/0.6478, allocations: 1.278 MB / 1.179 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.6478, allocations: 15.97 kB / 1.179 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001736/0.648, allocations: 152.3 kB / 1.179 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.6496, allocations: 315.1 kB / 1.179 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009413/0.6505, allocations: 0.7692 MB / 1.18 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.482e-05/0.6506, allocations: 70 kB / 1.18 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.6507, allocations: 96 kB / 1.18 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.6525, allocations: 1.07 MB / 1.181 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.6525, allocations: 8 kB / 1.181 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/0.6526, allocations: 44 kB / 1.181 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.6526, allocations: 24 kB / 1.182 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.6548, allocations: 1.276 MB / 1.183 GB, free: 11.65 MB / 0.9356 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.004065/0.6589, allocations: 3.01 MB / 1.186 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.6613, allocations: 1.04 MB / 1.187 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007303/0.662, allocations: 370.6 kB / 1.187 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.942e-05/0.6621, allocations: 42.41 kB / 1.187 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.6631, allocations: 0.5549 MB / 1.188 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 1.813e-06/0.6631, allocations: 3.938 kB / 1.188 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.003574/0.6667, allocations: 1.407 MB / 1.189 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/0.6668, allocations: 192.9 kB / 1.189 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006682/0.6675, allocations: 0.6333 MB / 1.19 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.643e-05/0.6675, allocations: 45.7 kB / 1.19 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.6678, allocations: 428.2 kB / 1.19 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.668, allocations: 268.1 kB / 1.191 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.6681, allocations: 69.69 kB / 1.191 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6682, allocations: 382.8 kB / 1.191 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/0.669, allocations: 313.8 kB / 1.191 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007673/0.6697, allocations: 418.5 kB / 1.192 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.6712, allocations: 0.6984 MB / 1.192 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6712, allocations: 4 kB / 1.192 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002132/0.6733, allocations: 0.9306 MB / 1.193 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6734, allocations: 4 kB / 1.193 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6734, allocations: 4 kB / 1.193 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005403/0.6739, allocations: 80.81 kB / 1.193 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007416/0.6747, allocations: 183.8 kB / 1.194 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.6764, allocations: 1.53 MB / 1.195 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007465/0.6772, allocations: 128.9 kB / 1.195 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/0.6772, allocations: 31.92 kB / 1.195 GB, free: 14.46 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (90): * Single equations (assignments): 89 * 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.0003348/0.6776, allocations: 274.4 kB / 1.195 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.6777, allocations: 82.97 kB / 1.195 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.6804, allocations: 1.218 MB / 1.197 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.6804, allocations: 12 kB / 1.197 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.6804, allocations: 0 / 1.197 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.6805, allocations: 7.984 kB / 1.197 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.6838, allocations: 2.151 MB / 1.199 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6838, allocations: 3.938 kB / 1.199 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/0.6846, allocations: 183.7 kB / 1.199 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004768/0.685, allocations: 92.7 kB / 1.199 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.6851, allocations: 23.98 kB / 1.199 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.6867, allocations: 1.551 MB / 1.201 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6867, allocations: 0 / 1.201 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.6889, allocations: 1.125 MB / 1.202 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.6892, allocations: 299.6 kB / 1.202 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.6894, allocations: 16 kB / 1.202 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007955/0.6902, allocations: 105 kB / 1.202 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.6903, allocations: 76.95 kB / 1.202 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/0.6904, allocations: 35.98 kB / 1.202 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005006/0.6909, allocations: 479 kB / 1.203 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.6909, allocations: 0 / 1.203 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007043/0.6916, allocations: 335.1 kB / 1.203 GB, free: 6.18 MB / 0.9512 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 (97): * Single equations (assignments): 91 * 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.003559/0.6952, allocations: 2.191 MB / 1.205 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.697, allocations: 0.9212 MB / 1.206 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.697, allocations: 0 / 1.206 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.6981, allocations: 0.59 MB / 1.207 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.6993, allocations: 290.1 kB / 1.207 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.711, allocations: 7.447 MB / 1.214 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.7115, allocations: 1.051 MB / 1.215 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008277/0.7123, allocations: 278.9 kB / 1.215 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/0.7129, allocations: 423.2 kB / 1.216 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.7129, allocations: 0 / 1.216 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07909/0.792, allocations: 21.28 MB / 1.237 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/0.7923, allocations: 332.4 kB / 1.237 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/2.949, allocations: 0 / 1.237 GB, free: 3.703 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)