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.001057/0.001057, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001108/0.001108, allocations: 189.9 kB / 16.25 MB, free: 6.633 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 290.8 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.933/0.933, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 92.02 kB / 0.5948 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1367, allocations: 86.98 MB / 0.6797 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006305/0.143, allocations: 4.425 MB / 0.6841 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4111/0.5541, allocations: 148.4 MB / 0.8289 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006379/0.5548, allocations: 15.22 kB / 0.8289 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.5552, allocations: 134.4 kB / 0.8291 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.5565, allocations: 456.7 kB / 0.8295 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.5582, allocations: 0.7549 MB / 0.8303 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.5593, allocations: 1.338 MB / 0.8316 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007983/0.5601, allocations: 0.7047 MB / 0.8322 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004571/0.5605, allocations: 0.5008 MB / 0.8327 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004605/0.561, allocations: 0.5333 MB / 0.8333 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.5612, allocations: 131.8 kB / 0.8334 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006741/0.5619, allocations: 470.2 kB / 0.8338 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.5622, allocations: 323 kB / 0.8341 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004827/0.5627, allocations: 0.5936 MB / 0.8347 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.5641, allocations: 1.674 MB / 0.8364 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.5642, allocations: 0 / 0.8364 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5642, allocations: 0 / 0.8364 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.5642, allocations: 0 / 0.8364 GB, free: 15.53 MB / 0.5762 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.002755/0.567, allocations: 1.494 MB / 0.8378 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.567, allocations: 9.5 kB / 0.8378 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.5672, allocations: 154.8 kB / 0.838 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/0.5691, allocations: 300.1 kB / 0.8383 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.57, allocations: 0.7656 MB / 0.839 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.5701, allocations: 75.25 kB / 0.8391 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.5702, allocations: 95 kB / 0.8392 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.5722, allocations: 1.069 MB / 0.8402 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.5723, allocations: 0 / 0.8402 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.486e-05/0.5724, allocations: 44.3 kB / 0.8402 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.5724, allocations: 23.88 kB / 0.8403 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.575, allocations: 1.274 MB / 0.8415 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004379/0.5794, allocations: 2.726 MB / 0.8442 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/0.5821, allocations: 1.024 MB / 0.8452 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008838/0.583, allocations: 366.5 kB / 0.8455 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.5831, allocations: 34.25 kB / 0.8456 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.5845, allocations: 0.5566 MB / 0.8461 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.234e-06/0.5845, allocations: 3.938 kB / 0.8461 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003959/0.5884, allocations: 1.378 MB / 0.8475 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.5886, allocations: 188.4 kB / 0.8476 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006775/0.5892, allocations: 0.6403 MB / 0.8483 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.516e-05/0.5893, allocations: 42.17 kB / 0.8483 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.5896, allocations: 433.4 kB / 0.8487 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.5898, allocations: 272.4 kB / 0.849 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.59, allocations: 155.7 kB / 0.8491 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5902, allocations: 392.3 kB / 0.8495 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/0.5909, allocations: 303.7 kB / 0.8498 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007906/0.5917, allocations: 411.6 kB / 0.8502 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.5932, allocations: 0.6906 MB / 0.8509 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5932, allocations: 0 / 0.8509 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00225/0.5954, allocations: 0.9135 MB / 0.8517 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5955, allocations: 7.562 kB / 0.8518 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5955, allocations: 0 / 0.8518 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/0.5961, allocations: 83.58 kB / 0.8518 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007943/0.5969, allocations: 174 kB / 0.852 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.5988, allocations: 1.627 MB / 0.8536 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007749/0.5996, allocations: 110.7 kB / 0.8537 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.5997, allocations: 31.8 kB / 0.8537 GB, free: 5.359 MB / 0.5762 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.0003571/0.6001, allocations: 289.2 kB / 0.854 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.6002, allocations: 83.28 kB / 0.8541 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.6031, allocations: 1.204 MB / 0.8553 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.6031, allocations: 11.72 kB / 0.8553 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6031, allocations: 5.75 kB / 0.8553 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6031, allocations: 3.984 kB / 0.8553 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/0.6067, allocations: 2.152 MB / 0.8574 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6067, allocations: 0.875 kB / 0.8574 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/0.6074, allocations: 176.9 kB / 0.8575 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.6079, allocations: 72.03 kB / 0.8576 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.499e-05/0.608, allocations: 29.69 kB / 0.8576 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.6097, allocations: 1.668 MB / 0.8593 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6097, allocations: 3.938 kB / 0.8593 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.6121, allocations: 1.109 MB / 0.8604 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.6124, allocations: 289.8 kB / 0.8606 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.6125, allocations: 16.84 kB / 0.8606 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/0.6134, allocations: 82.41 kB / 0.8607 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.6135, allocations: 80.06 kB / 0.8608 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/0.6136, allocations: 41.84 kB / 0.8608 GB, free: 372 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004831/0.6141, allocations: 469.6 kB / 0.8613 GB, free: 96 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6141, allocations: 0 / 0.8613 GB, free: 96 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007578/0.6149, allocations: 321.3 kB / 0.8616 GB, free: 0 / 0.5762 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.003782/0.6186, allocations: 2.168 MB / 0.8637 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002893/0.6215, allocations: 1.134 MB / 0.8648 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6216, allocations: 3.125 kB / 0.8648 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.6227, allocations: 0.5795 MB / 0.8654 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.6239, allocations: 297.7 kB / 0.8657 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.637, allocations: 7.507 MB / 0.873 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.6375, allocations: 1.047 MB / 0.874 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009057/0.6385, allocations: 290.7 kB / 0.8743 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/0.639, allocations: 419.2 kB / 0.8747 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.639, allocations: 0 / 0.8747 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/0.6765, allocations: 21.81 MB / 0.896 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.6767, allocations: 329.8 kB / 0.8963 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.975, allocations: 4 kB / 0.8963 GB, free: 1.266 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)