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.004716/0.004716, allocations: 97.69 kB / 15.73 MB, free: 6.055 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.001155/0.001155, allocations: 198.4 kB / 16.68 MB, free: 5.961 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.208/1.208, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 290.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8852/0.8852, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 99.84 kB / 0.681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3705, allocations: 86.98 MB / 0.7659 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005732/0.3762, allocations: 4.423 MB / 0.7702 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1462/0.5225, allocations: 150.6 MB / 0.9173 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006921/0.5232, allocations: 19.88 kB / 0.9173 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000538/0.5238, allocations: 174.4 kB / 0.9175 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.5253, allocations: 0.5155 MB / 0.918 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.5272, allocations: 0.8499 MB / 0.9188 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001371/0.5286, allocations: 1.347 MB / 0.9201 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009077/0.5295, allocations: 0.7 MB / 0.9208 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006208/0.5302, allocations: 0.506 MB / 0.9213 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.5307, allocations: 0.5367 MB / 0.9218 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.5309, allocations: 124 kB / 0.9219 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008603/0.5317, allocations: 499.6 kB / 0.9224 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.532, allocations: 319 kB / 0.9227 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004858/0.5325, allocations: 0.5868 MB / 0.9233 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.5345, allocations: 1.721 MB / 0.925 GB, free: 364 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5345, allocations: 0 / 0.925 GB, free: 364 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5345, allocations: 0 / 0.925 GB, free: 364 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.5345, allocations: 4 kB / 0.925 GB, free: 360 kB / 0.6856 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.002516/0.537, allocations: 1.533 MB / 0.9265 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5371, allocations: 12.03 kB / 0.9265 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.5373, allocations: 148.3 kB / 0.9266 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.5389, allocations: 311.8 kB / 0.9269 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.5401, allocations: 0.801 MB / 0.9277 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.5402, allocations: 70 kB / 0.9278 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.5403, allocations: 99.98 kB / 0.9279 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.5422, allocations: 1.066 MB / 0.9289 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.5422, allocations: 0 / 0.9289 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.031e-05/0.5423, allocations: 44 kB / 0.9289 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.5424, allocations: 27.94 kB / 0.929 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.5446, allocations: 1.264 MB / 0.9302 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004268/0.5489, allocations: 2.685 MB / 0.9328 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.5515, allocations: 1.028 MB / 0.9338 GB, free: 7.047 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007774/0.5523, allocations: 362.6 kB / 0.9342 GB, free: 6.684 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.969e-05/0.5523, allocations: 38.42 kB / 0.9342 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.5534, allocations: 0.5588 MB / 0.9348 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.435e-06/0.5534, allocations: 0 / 0.9348 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.003815/0.5573, allocations: 1.384 MB / 0.9361 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.5574, allocations: 196.9 kB / 0.9363 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007828/0.5582, allocations: 0.6333 MB / 0.9369 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.936e-05/0.5582, allocations: 45.64 kB / 0.937 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.5586, allocations: 440.9 kB / 0.9374 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.5588, allocations: 289.5 kB / 0.9376 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.559, allocations: 150.6 kB / 0.9378 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.5592, allocations: 390.7 kB / 0.9382 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007284/0.5599, allocations: 301.8 kB / 0.9385 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008246/0.5608, allocations: 418.4 kB / 0.9389 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.5623, allocations: 0.6789 MB / 0.9395 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5623, allocations: 0 / 0.9395 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002315/0.5646, allocations: 0.9233 MB / 0.9404 GB, free: 124 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5647, allocations: 4 kB / 0.9404 GB, free: 120 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.5647, allocations: 4 kB / 0.9404 GB, free: 116 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000567/0.5652, allocations: 84.86 kB / 0.9405 GB, free: 28 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/0.5661, allocations: 175.7 kB / 0.9407 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.5681, allocations: 1.63 MB / 0.9423 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008056/0.5689, allocations: 115.5 kB / 0.9424 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.569, allocations: 31.98 kB / 0.9424 GB, free: 13.94 MB / 0.7169 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.0004336/0.5694, allocations: 268.1 kB / 0.9427 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.5696, allocations: 87.44 kB / 0.9427 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.5724, allocations: 1.21 MB / 0.9439 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.5725, allocations: 8 kB / 0.9439 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5725, allocations: 4 kB / 0.9439 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5725, allocations: 3.984 kB / 0.9439 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003802/0.5763, allocations: 2.153 MB / 0.946 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5763, allocations: 4 kB / 0.946 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007564/0.5771, allocations: 175.8 kB / 0.9462 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/0.5775, allocations: 72.73 kB / 0.9463 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.5776, allocations: 27.97 kB / 0.9463 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.5794, allocations: 1.654 MB / 0.9479 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5794, allocations: 3.984 kB / 0.9479 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.5819, allocations: 1.135 MB / 0.949 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.5823, allocations: 280.2 kB / 0.9493 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.5824, allocations: 20 kB / 0.9493 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007919/0.5832, allocations: 83.91 kB / 0.9494 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.5834, allocations: 76.83 kB / 0.9495 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/0.5835, allocations: 35.98 kB / 0.9495 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005675/0.584, allocations: 471 kB / 0.95 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5841, allocations: 0 / 0.95 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008432/0.5849, allocations: 331.1 kB / 0.9503 GB, free: 5.605 MB / 0.7169 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.003848/0.5888, allocations: 2.176 MB / 0.9524 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.5909, allocations: 0.9172 MB / 0.9533 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5909, allocations: 0 / 0.9533 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.5921, allocations: 0.586 MB / 0.9539 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.5933, allocations: 287.3 kB / 0.9541 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3013/0.8947, allocations: 6.867 MB / 0.9609 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.8953, allocations: 1.041 MB / 0.9619 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009038/0.8962, allocations: 292 kB / 0.9621 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/0.8967, allocations: 420 kB / 0.9625 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.8967, allocations: 0 / 0.9625 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0428/0.9395, allocations: 22.27 MB / 0.9843 GB, free: 168.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.34, allocations: 9.172 kB / 0.9843 GB, free: 168.6 MB / 0.7169 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)