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.007519/0.007519, allocations: 101.2 kB / 15.73 MB, free: 6.062 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.001884/0.001884, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.41/1.41, 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.002474/0.002474, allocations: 285.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9687/0.9687, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002644/0.002644, allocations: 95.84 kB / 0.681 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4107, allocations: 86.97 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006171/0.4169, allocations: 4.42 MB / 0.7702 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1621/0.579, allocations: 150.6 MB / 0.9173 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006177/0.5796, allocations: 15.94 kB / 0.9173 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005037/0.5802, allocations: 170.3 kB / 0.9175 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.5816, allocations: 0.5106 MB / 0.918 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.5833, allocations: 0.8395 MB / 0.9188 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001274/0.5846, allocations: 1.343 MB / 0.9201 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009178/0.5855, allocations: 0.7078 MB / 0.9208 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005739/0.5861, allocations: 0.4983 MB / 0.9213 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.5867, allocations: 0.5289 MB / 0.9218 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.5869, allocations: 128 kB / 0.9219 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007979/0.5877, allocations: 499.6 kB / 0.9224 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.588, allocations: 327 kB / 0.9227 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005132/0.5885, allocations: 0.5868 MB / 0.9233 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.5904, allocations: 1.721 MB / 0.9249 GB, free: 384 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5904, allocations: 4 kB / 0.9249 GB, free: 380 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5904, allocations: 0 / 0.9249 GB, free: 380 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.5904, allocations: 0 / 0.9249 GB, free: 380 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.002596/0.593, allocations: 1.532 MB / 0.9264 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.5931, allocations: 8.031 kB / 0.9264 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000187/0.5933, allocations: 160.3 kB / 0.9266 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.595, allocations: 311.8 kB / 0.9269 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.5962, allocations: 0.7932 MB / 0.9277 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.781e-05/0.5963, allocations: 74 kB / 0.9277 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.5964, allocations: 92 kB / 0.9278 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.5984, allocations: 1.074 MB / 0.9289 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.5984, allocations: 0 / 0.9289 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.662e-05/0.5985, allocations: 44 kB / 0.9289 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.5985, allocations: 28 kB / 0.9289 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/0.601, allocations: 1.264 MB / 0.9302 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00458/0.6055, allocations: 2.689 MB / 0.9328 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.6082, allocations: 1.02 MB / 0.9338 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007954/0.609, allocations: 362.6 kB / 0.9342 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.996e-05/0.6091, allocations: 34.47 kB / 0.9342 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/0.6102, allocations: 0.5665 MB / 0.9347 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.505e-06/0.6103, allocations: 0 / 0.9347 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.003943/0.6142, allocations: 1.376 MB / 0.9361 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.6143, allocations: 200.9 kB / 0.9363 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008331/0.6152, allocations: 0.641 MB / 0.9369 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.533e-05/0.6153, allocations: 41.7 kB / 0.9369 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.6156, allocations: 433 kB / 0.9374 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.6159, allocations: 285.5 kB / 0.9376 GB, free: 3.051 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.6161, allocations: 154.6 kB / 0.9378 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.6163, allocations: 386.7 kB / 0.9381 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007303/0.6171, allocations: 301.8 kB / 0.9384 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000849/0.6179, allocations: 418.5 kB / 0.9388 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.6195, allocations: 0.6866 MB / 0.9395 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6195, allocations: 3.938 kB / 0.9395 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002313/0.6218, allocations: 0.9194 MB / 0.9404 GB, free: 148 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6218, allocations: 4 kB / 0.9404 GB, free: 144 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.6218, allocations: 0 / 0.9404 GB, free: 144 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005743/0.6224, allocations: 84.84 kB / 0.9405 GB, free: 56 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007883/0.6232, allocations: 183.8 kB / 0.9407 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.6254, allocations: 1.626 MB / 0.9422 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007513/0.6261, allocations: 115.5 kB / 0.9424 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.6262, allocations: 27.98 kB / 0.9424 GB, free: 13.96 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.0004059/0.6266, allocations: 276.8 kB / 0.9426 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.6268, allocations: 91.42 kB / 0.9427 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.6297, allocations: 1.206 MB / 0.9439 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.6297, allocations: 8 kB / 0.9439 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.6297, allocations: 0 / 0.9439 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.6297, allocations: 3.984 kB / 0.9439 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003976/0.6337, allocations: 2.153 MB / 0.946 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6337, allocations: 4 kB / 0.946 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.6344, allocations: 175.7 kB / 0.9462 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/0.6349, allocations: 72.8 kB / 0.9463 GB, free: 9.895 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.635, allocations: 31.97 kB / 0.9463 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.6369, allocations: 1.662 MB / 0.9479 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6369, allocations: 4 kB / 0.9479 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.6395, allocations: 1.116 MB / 0.949 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/0.6399, allocations: 288.1 kB / 0.9493 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.64, allocations: 20 kB / 0.9493 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000783/0.6408, allocations: 87.14 kB / 0.9494 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.6409, allocations: 80.83 kB / 0.9495 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.356e-05/0.641, allocations: 31.98 kB / 0.9495 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005971/0.6416, allocations: 475 kB / 0.95 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6416, allocations: 0 / 0.95 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009403/0.6426, allocations: 327.1 kB / 0.9503 GB, free: 5.625 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.00457/0.6472, allocations: 2.18 MB / 0.9524 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002166/0.6493, allocations: 0.9172 MB / 0.9533 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.6494, allocations: 3.984 kB / 0.9533 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.6506, allocations: 0.5783 MB / 0.9539 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.6518, allocations: 306 kB / 0.9541 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3047/0.9565, allocations: 6.853 MB / 0.9608 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.957, allocations: 1.051 MB / 0.9619 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008655/0.9579, allocations: 286.4 kB / 0.9621 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/0.9584, allocations: 420.7 kB / 0.9625 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of SimCode: time 4.3e-07/0.9584, allocations: 0 / 0.9625 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3285/1.287, allocations: 22.26 MB / 0.9843 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.87, allocations: 10.25 kB / 0.9843 GB, free: 168.7 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 & /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)