Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildingSystems_BuildingSystems_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.004937/0.004937, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001332/0.001332, allocations: 194.5 kB / 16.67 MB, free: 6.348 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002444/0.002444, allocations: 282.9 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 95.92 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1604, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006406/0.1668, allocations: 4.422 MB / 0.7702 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4596/0.6264, allocations: 150.6 MB / 0.9173 GB, free: 7.895 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006847/0.6271, allocations: 15.94 kB / 0.9173 GB, free: 7.879 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.6277, allocations: 180.5 kB / 0.9175 GB, free: 7.703 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.6293, allocations: 0.5016 MB / 0.918 GB, free: 7.219 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.6312, allocations: 0.8461 MB / 0.9188 GB, free: 6.395 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001555/0.6327, allocations: 1.336 MB / 0.9201 GB, free: 5.051 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.6338, allocations: 0.7066 MB / 0.9208 GB, free: 4.324 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006747/0.6344, allocations: 0.4944 MB / 0.9213 GB, free: 3.828 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006798/0.6351, allocations: 0.5406 MB / 0.9218 GB, free: 3.285 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.6353, allocations: 128 kB / 0.9219 GB, free: 3.16 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009395/0.6363, allocations: 495.6 kB / 0.9224 GB, free: 2.676 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.6366, allocations: 319 kB / 0.9227 GB, free: 2.363 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005876/0.6372, allocations: 0.5946 MB / 0.9233 GB, free: 1.766 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.6393, allocations: 1.725 MB / 0.925 GB, free: 48 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6393, allocations: 0 / 0.925 GB, free: 48 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6393, allocations: 0 / 0.925 GB, free: 48 kB / 0.67 GB Notification: Performance of Transformations before backend: time 2.217e-05/0.6394, allocations: 0 / 0.925 GB, free: 48 kB / 0.67 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.00277/0.6421, allocations: 1.529 MB / 0.9264 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.6422, allocations: 12.03 kB / 0.9265 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001922/0.6424, allocations: 152.3 kB / 0.9266 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.6441, allocations: 311.9 kB / 0.9269 GB, free: 14 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.6454, allocations: 0.7975 MB / 0.9277 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.825e-05/0.6454, allocations: 70 kB / 0.9277 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.6456, allocations: 92 kB / 0.9278 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.6477, allocations: 1.077 MB / 0.9289 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.6477, allocations: 0 / 0.9289 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.6478, allocations: 40 kB / 0.9289 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.6479, allocations: 24 kB / 0.9289 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.6504, allocations: 1.268 MB / 0.9302 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00464/0.6551, allocations: 2.698 MB / 0.9328 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.6578, allocations: 1.021 MB / 0.9338 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008334/0.6586, allocations: 358.6 kB / 0.9342 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.587e-05/0.6587, allocations: 40.59 kB / 0.9342 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/0.6599, allocations: 0.5528 MB / 0.9347 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 2.465e-06/0.66, allocations: 4 kB / 0.9347 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.004068/0.664, allocations: 1.376 MB / 0.9361 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.6642, allocations: 200.9 kB / 0.9363 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008737/0.6651, allocations: 0.6333 MB / 0.9369 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.542e-05/0.6651, allocations: 45.7 kB / 0.9369 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.6656, allocations: 433 kB / 0.9374 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.6658, allocations: 281.5 kB / 0.9376 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.6661, allocations: 158.6 kB / 0.9378 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002328/0.6664, allocations: 390.7 kB / 0.9381 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007902/0.6672, allocations: 301.8 kB / 0.9384 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009086/0.6681, allocations: 421.6 kB / 0.9388 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.6697, allocations: 0.6827 MB / 0.9395 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6697, allocations: 2.531 kB / 0.9395 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002487/0.6722, allocations: 0.9156 MB / 0.9404 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.6723, allocations: 8 kB / 0.9404 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6723, allocations: 7.938 kB / 0.9404 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/0.6729, allocations: 84.77 kB / 0.9405 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/0.6737, allocations: 171.8 kB / 0.9407 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.676, allocations: 1.628 MB / 0.9422 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/0.6769, allocations: 115.5 kB / 0.9424 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/0.677, allocations: 31.92 kB / 0.9424 GB, free: 13.66 MB / 0.7012 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.0005012/0.6775, allocations: 277.5 kB / 0.9427 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.6777, allocations: 87.44 kB / 0.9427 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/0.6808, allocations: 1.208 MB / 0.9439 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.6808, allocations: 8 kB / 0.9439 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.6808, allocations: 4 kB / 0.9439 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.6808, allocations: 3.984 kB / 0.9439 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004113/0.6849, allocations: 2.162 MB / 0.946 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.685, allocations: 0 / 0.946 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007544/0.6857, allocations: 175.8 kB / 0.9462 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004313/0.6862, allocations: 68.8 kB / 0.9463 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.6862, allocations: 31.97 kB / 0.9463 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.6883, allocations: 1.654 MB / 0.9479 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6884, allocations: 2.25 kB / 0.9479 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.691, allocations: 1.127 MB / 0.949 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.6914, allocations: 284.1 kB / 0.9493 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.6916, allocations: 24 kB / 0.9493 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007776/0.6923, allocations: 83.91 kB / 0.9494 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.6925, allocations: 76.83 kB / 0.9495 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-05/0.6926, allocations: 31.98 kB / 0.9495 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006366/0.6932, allocations: 475 kB / 0.95 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6932, allocations: 0 / 0.95 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008613/0.6941, allocations: 335 kB / 0.9503 GB, free: 5.312 MB / 0.7012 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.00482/0.6989, allocations: 2.187 MB / 0.9524 GB, free: 3.289 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002276/0.7012, allocations: 0.9141 MB / 0.9533 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7013, allocations: 0 / 0.9533 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.7025, allocations: 0.5783 MB / 0.9539 GB, free: 1.773 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.7038, allocations: 293.6 kB / 0.9541 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.7172, allocations: 6.871 MB / 0.9609 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/0.718, allocations: 1.055 MB / 0.9619 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009475/0.719, allocations: 278.8 kB / 0.9622 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000644/0.7196, allocations: 419.3 kB / 0.9626 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of SimCode: time 9.42e-07/0.7196, allocations: 0 / 0.9626 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05873/0.7784, allocations: 22.27 MB / 0.9843 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.8, allocations: 9.047 kB / 0.9843 GB, free: 2.828 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)