Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_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.003778/0.003778, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.001126/0.001126, allocations: 189.8 kB / 16.67 MB, free: 5.938 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.245/1.245, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.382/2.382, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 67.16 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2597, allocations: 162.3 MB / 1.242 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006191/0.2659, allocations: 5.168 MB / 1.247 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1499/0.4158, allocations: 150.7 MB / 1.394 GB, free: 12.48 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000672/0.4165, allocations: 19.88 kB / 1.394 GB, free: 12.46 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005013/0.417, allocations: 206.1 kB / 1.394 GB, free: 12.26 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.4185, allocations: 0.566 MB / 1.395 GB, free: 11.69 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.4201, allocations: 0.8568 MB / 1.396 GB, free: 10.84 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001282/0.4214, allocations: 1.464 MB / 1.397 GB, free: 9.367 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008259/0.4222, allocations: 0.6581 MB / 1.398 GB, free: 8.676 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005226/0.4228, allocations: 0.5177 MB / 1.398 GB, free: 8.156 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005815/0.4234, allocations: 0.5484 MB / 1.399 GB, free: 7.605 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.4235, allocations: 128 kB / 1.399 GB, free: 7.48 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007163/0.4243, allocations: 0.4918 MB / 1.399 GB, free: 6.988 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.4246, allocations: 327 kB / 1.4 GB, free: 6.668 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005242/0.4251, allocations: 0.618 MB / 1.4 GB, free: 6.047 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.4268, allocations: 1.759 MB / 1.402 GB, free: 4.281 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4268, allocations: 0 / 1.402 GB, free: 4.281 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4268, allocations: 3.938 kB / 1.402 GB, free: 4.277 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.4268, allocations: 0 / 1.402 GB, free: 4.277 MB / 1.123 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.00234/0.4292, allocations: 1.553 MB / 1.403 GB, free: 2.676 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.4292, allocations: 8.031 kB / 1.404 GB, free: 2.668 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.4294, allocations: 160.2 kB / 1.404 GB, free: 2.504 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.4309, allocations: 307.9 kB / 1.404 GB, free: 2.203 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.432, allocations: 0.7893 MB / 1.405 GB, free: 1.371 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.437e-05/0.432, allocations: 74 kB / 1.405 GB, free: 1.301 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.4322, allocations: 95.98 kB / 1.405 GB, free: 1.207 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.434, allocations: 1.074 MB / 1.406 GB, free: 96 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.4341, allocations: 0 / 1.406 GB, free: 96 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.822e-05/0.4341, allocations: 40 kB / 1.406 GB, free: 56 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.4342, allocations: 24 kB / 1.406 GB, free: 32 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.4365, allocations: 1.272 MB / 1.407 GB, free: 14.76 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004294/0.4408, allocations: 3.056 MB / 1.41 GB, free: 11.55 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.4434, allocations: 1.028 MB / 1.411 GB, free: 10.5 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.4442, allocations: 370.6 kB / 1.412 GB, free: 10.13 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.21e-05/0.4442, allocations: 34.47 kB / 1.412 GB, free: 10.1 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.4453, allocations: 0.5549 MB / 1.412 GB, free: 9.523 MB / 1.139 GB Notification: Performance of pre-optimization done (n=84): time 1.723e-06/0.4453, allocations: 4 kB / 1.412 GB, free: 9.52 MB / 1.139 GB Notification: Performance of matching and sorting (n=84): time 0.003713/0.449, allocations: 1.388 MB / 1.414 GB, free: 8.109 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.4492, allocations: 192.9 kB / 1.414 GB, free: 7.879 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007305/0.4499, allocations: 0.6411 MB / 1.414 GB, free: 7.234 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.45, allocations: 41.7 kB / 1.414 GB, free: 7.188 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.4503, allocations: 437 kB / 1.415 GB, free: 6.754 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.4505, allocations: 281.6 kB / 1.415 GB, free: 6.477 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.4508, allocations: 154.6 kB / 1.415 GB, free: 6.316 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4509, allocations: 390.8 kB / 1.416 GB, free: 5.926 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/0.4517, allocations: 301.8 kB / 1.416 GB, free: 5.633 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008308/0.4525, allocations: 422.5 kB / 1.416 GB, free: 5.195 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.454, allocations: 0.6867 MB / 1.417 GB, free: 4.496 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.4541, allocations: 8 kB / 1.417 GB, free: 4.488 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00224/0.4563, allocations: 0.9194 MB / 1.418 GB, free: 3.559 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4563, allocations: 10.03 kB / 1.418 GB, free: 3.551 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4563, allocations: 96 / 1.418 GB, free: 3.551 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/0.4569, allocations: 84.72 kB / 1.418 GB, free: 3.465 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.4576, allocations: 183.8 kB / 1.418 GB, free: 3.285 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.4596, allocations: 1.632 MB / 1.42 GB, free: 1.508 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/0.4603, allocations: 111.5 kB / 1.42 GB, free: 1.398 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.4604, allocations: 31.97 kB / 1.42 GB, free: 1.367 MB / 1.139 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.0003406/0.4607, allocations: 265.7 kB / 1.42 GB, free: 1.098 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.4609, allocations: 91.44 kB / 1.42 GB, free: 1.008 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/0.4637, allocations: 1.198 MB / 1.421 GB, free: 15.79 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4638, allocations: 12 kB / 1.421 GB, free: 15.78 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4638, allocations: 0 / 1.421 GB, free: 15.78 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4638, allocations: 7.969 kB / 1.421 GB, free: 15.77 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/0.4674, allocations: 2.145 MB / 1.423 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4674, allocations: 4 kB / 1.423 GB, free: 13.56 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006994/0.4681, allocations: 179.7 kB / 1.424 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004002/0.4685, allocations: 72.78 kB / 1.424 GB, free: 13.31 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.283e-05/0.4686, allocations: 31.97 kB / 1.424 GB, free: 13.28 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.4704, allocations: 1.662 MB / 1.425 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4704, allocations: 4.031 kB / 1.425 GB, free: 11.47 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.4728, allocations: 1.119 MB / 1.426 GB, free: 10.33 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.4731, allocations: 284.2 kB / 1.427 GB, free: 10.04 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.4732, allocations: 23.94 kB / 1.427 GB, free: 10.01 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007215/0.4739, allocations: 83.91 kB / 1.427 GB, free: 9.93 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.4741, allocations: 76.83 kB / 1.427 GB, free: 9.855 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.237e-05/0.4742, allocations: 39.98 kB / 1.427 GB, free: 9.816 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005319/0.4747, allocations: 467 kB / 1.427 GB, free: 9.363 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4747, allocations: 0 / 1.427 GB, free: 9.363 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006995/0.4754, allocations: 339.1 kB / 1.428 GB, free: 9.031 MB / 1.154 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.004267/0.4797, allocations: 2.184 MB / 1.43 GB, free: 7.004 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.4817, allocations: 0.9134 MB / 1.431 GB, free: 6.078 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4817, allocations: 0 / 1.431 GB, free: 6.078 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.4828, allocations: 0.5861 MB / 1.431 GB, free: 5.48 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.4839, allocations: 315.2 kB / 1.432 GB, free: 5.199 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.4948, allocations: 6.766 MB / 1.438 GB, free: 14.27 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.4955, allocations: 1.047 MB / 1.439 GB, free: 13.2 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007254/0.4962, allocations: 278.9 kB / 1.439 GB, free: 12.92 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005731/0.4968, allocations: 419.3 kB / 1.44 GB, free: 12.51 MB / 1.17 GB Notification: Performance of SimCode: time 2.4e-07/0.4968, allocations: 0 / 1.44 GB, free: 12.51 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.186/2.683, allocations: 22.68 MB / 1.462 GB, free: 6.199 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.67/21.35, allocations: 9.109 kB / 1.462 GB, free: 6.195 MB / 1.186 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)