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.0009695/0.0009696, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009371/0.0009371, allocations: 194 kB / 16.67 MB, free: 6.57 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.173/1.173, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001923/0.001923, allocations: 278.9 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8502/0.8502, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 87.92 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1305, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005278/0.1358, allocations: 4.431 MB / 0.7702 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.396/0.5318, allocations: 150.6 MB / 0.9173 GB, free: 7.867 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006041/0.5324, allocations: 15.94 kB / 0.9173 GB, free: 7.852 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.533, allocations: 176.7 kB / 0.9175 GB, free: 7.68 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.5345, allocations: 0.5127 MB / 0.918 GB, free: 7.184 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.5362, allocations: 0.8486 MB / 0.9188 GB, free: 6.355 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.5374, allocations: 1.332 MB / 0.9201 GB, free: 5.016 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008457/0.5383, allocations: 0.7117 MB / 0.9208 GB, free: 4.281 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005639/0.5389, allocations: 0.5021 MB / 0.9213 GB, free: 3.777 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005459/0.5394, allocations: 0.5367 MB / 0.9218 GB, free: 3.238 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.5396, allocations: 128 kB / 0.9219 GB, free: 3.113 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007228/0.5403, allocations: 495.6 kB / 0.9224 GB, free: 2.629 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.5406, allocations: 319 kB / 0.9227 GB, free: 2.316 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004779/0.5411, allocations: 0.5946 MB / 0.9233 GB, free: 1.719 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.5427, allocations: 1.722 MB / 0.925 GB, free: 4 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5427, allocations: 0 / 0.925 GB, free: 4 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5427, allocations: 0 / 0.925 GB, free: 4 kB / 0.67 GB Notification: Performance of Transformations before backend: time 2.58e-05/0.5427, allocations: 0 / 0.925 GB, free: 4 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.002359/0.5451, allocations: 1.533 MB / 0.9265 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.5451, allocations: 8.031 kB / 0.9265 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.5453, allocations: 152.3 kB / 0.9266 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.5468, allocations: 315.8 kB / 0.9269 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.5479, allocations: 0.7936 MB / 0.9277 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.5479, allocations: 74 kB / 0.9278 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.548, allocations: 92 kB / 0.9278 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.5497, allocations: 1.077 MB / 0.9289 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.5498, allocations: 0 / 0.9289 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/0.5499, allocations: 40 kB / 0.9289 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.5499, allocations: 24.56 kB / 0.929 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.552, allocations: 1.268 MB / 0.9302 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003847/0.5559, allocations: 2.691 MB / 0.9328 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.5583, allocations: 1.024 MB / 0.9338 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007223/0.559, allocations: 362.6 kB / 0.9342 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.87e-05/0.5591, allocations: 28.61 kB / 0.9342 GB, free: 6.316 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009821/0.5601, allocations: 0.5645 MB / 0.9347 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 2.004e-06/0.5601, allocations: 0 / 0.9347 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.003494/0.5636, allocations: 1.38 MB / 0.9361 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.5637, allocations: 192.9 kB / 0.9363 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/0.5643, allocations: 0.6333 MB / 0.9369 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.631e-05/0.5644, allocations: 49.69 kB / 0.9369 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.5647, allocations: 429 kB / 0.9374 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.5649, allocations: 285.5 kB / 0.9376 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.5651, allocations: 154.6 kB / 0.9378 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5652, allocations: 394.7 kB / 0.9382 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/0.5659, allocations: 297.8 kB / 0.9384 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/0.5667, allocations: 422.4 kB / 0.9388 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.5682, allocations: 0.6827 MB / 0.9395 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5682, allocations: 6.812 kB / 0.9395 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002127/0.5703, allocations: 0.9117 MB / 0.9404 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5703, allocations: 8 kB / 0.9404 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5703, allocations: 6.281 kB / 0.9404 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/0.5709, allocations: 80.7 kB / 0.9405 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007173/0.5716, allocations: 179.8 kB / 0.9407 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.5734, allocations: 1.629 MB / 0.9423 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000678/0.5741, allocations: 115.5 kB / 0.9424 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.5742, allocations: 27.98 kB / 0.9424 GB, free: 13.61 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.0003241/0.5745, allocations: 277.5 kB / 0.9427 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.5747, allocations: 87.44 kB / 0.9427 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/0.5773, allocations: 1.211 MB / 0.9439 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.5773, allocations: 12 kB / 0.9439 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.5774, allocations: 0 / 0.9439 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.5774, allocations: 3.984 kB / 0.9439 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/0.5808, allocations: 2.169 MB / 0.9461 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5808, allocations: 0 / 0.9461 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006773/0.5815, allocations: 171.8 kB / 0.9462 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003866/0.5819, allocations: 68.8 kB / 0.9463 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/0.582, allocations: 31.97 kB / 0.9463 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.5836, allocations: 1.654 MB / 0.9479 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5837, allocations: 0 / 0.9479 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.5859, allocations: 1.123 MB / 0.949 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.5862, allocations: 288.1 kB / 0.9493 GB, free: 6.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.5863, allocations: 25.97 kB / 0.9493 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007015/0.587, allocations: 79.97 kB / 0.9494 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.5872, allocations: 80.84 kB / 0.9495 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.515e-05/0.5873, allocations: 35.97 kB / 0.9495 GB, free: 6.055 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004877/0.5878, allocations: 471 kB / 0.95 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5878, allocations: 0 / 0.95 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000667/0.5884, allocations: 331.1 kB / 0.9503 GB, free: 5.273 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.003552/0.592, allocations: 2.185 MB / 0.9524 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.5939, allocations: 0.9142 MB / 0.9533 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5939, allocations: 0 / 0.9533 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.595, allocations: 0.5821 MB / 0.9539 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.596, allocations: 290.7 kB / 0.9542 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.6071, allocations: 6.875 MB / 0.9609 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.6076, allocations: 1.051 MB / 0.9619 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007196/0.6084, allocations: 282.8 kB / 0.9622 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005333/0.6089, allocations: 415.3 kB / 0.9626 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6089, allocations: 0 / 0.9626 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04459/0.6535, allocations: 22.27 MB / 0.9843 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.8, allocations: 9.266 kB / 0.9843 GB, free: 2.793 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)