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.005408/0.005408, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001276/0.001276, allocations: 195.9 kB / 16.67 MB, free: 5.977 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002136, allocations: 290.5 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9397/0.9397, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001865, allocations: 95.84 kB / 0.681 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1745, allocations: 86.97 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008727/0.1833, allocations: 4.415 MB / 0.7702 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5039/0.6872, allocations: 150.6 MB / 0.9173 GB, free: 7.945 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008242/0.6881, allocations: 19.88 kB / 0.9173 GB, free: 7.926 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007254/0.6888, allocations: 184.3 kB / 0.9175 GB, free: 7.746 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.6907, allocations: 0.5035 MB / 0.9179 GB, free: 7.258 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.6928, allocations: 0.8466 MB / 0.9188 GB, free: 6.441 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001812/0.6947, allocations: 1.336 MB / 0.9201 GB, free: 5.098 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.6959, allocations: 0.7017 MB / 0.9208 GB, free: 4.375 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008154/0.6967, allocations: 0.5021 MB / 0.9213 GB, free: 3.871 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000766/0.6975, allocations: 0.5328 MB / 0.9218 GB, free: 3.336 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.6977, allocations: 128.6 kB / 0.9219 GB, free: 3.211 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.6988, allocations: 0.4937 MB / 0.9224 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.6992, allocations: 319 kB / 0.9227 GB, free: 2.406 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007514/0.6999, allocations: 0.5907 MB / 0.9233 GB, free: 1.812 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.7021, allocations: 1.709 MB / 0.9249 GB, free: 104 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.7022, allocations: 0 / 0.9249 GB, free: 104 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7022, allocations: 1.031 kB / 0.9249 GB, free: 104 kB / 0.67 GB Notification: Performance of Transformations before backend: time 4.451e-05/0.7022, allocations: 0 / 0.9249 GB, free: 104 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.003086/0.7053, allocations: 1.496 MB / 0.9264 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.7054, allocations: 16.03 kB / 0.9264 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002272/0.7056, allocations: 152.2 kB / 0.9266 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.7074, allocations: 303.1 kB / 0.9268 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.7087, allocations: 0.793 MB / 0.9276 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.7088, allocations: 68.69 kB / 0.9277 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.7089, allocations: 96 kB / 0.9278 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.711, allocations: 1.073 MB / 0.9288 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.711, allocations: 0 / 0.9288 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.7111, allocations: 51.97 kB / 0.9289 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.7112, allocations: 24 kB / 0.9289 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.7134, allocations: 1.268 MB / 0.9301 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004733/0.7182, allocations: 2.673 MB / 0.9327 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/0.7208, allocations: 1.032 MB / 0.9338 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008077/0.7216, allocations: 362.6 kB / 0.9341 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.569e-05/0.7217, allocations: 32.61 kB / 0.9341 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.7229, allocations: 0.5606 MB / 0.9347 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 2.705e-06/0.7229, allocations: 4 kB / 0.9347 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.003982/0.7269, allocations: 1.372 MB / 0.936 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.727, allocations: 196.9 kB / 0.9362 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009433/0.728, allocations: 0.6372 MB / 0.9368 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.331e-05/0.7281, allocations: 41.7 kB / 0.9369 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.7285, allocations: 428.2 kB / 0.9373 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.7287, allocations: 276 kB / 0.9375 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.729, allocations: 150.5 kB / 0.9377 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.7292, allocations: 386.8 kB / 0.9381 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007318/0.7299, allocations: 301.8 kB / 0.9383 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008155/0.7307, allocations: 418.5 kB / 0.9387 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.7323, allocations: 0.6905 MB / 0.9394 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7323, allocations: 0 / 0.9394 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002396/0.7347, allocations: 0.915 MB / 0.9403 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.7347, allocations: 4 kB / 0.9403 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.7347, allocations: 0 / 0.9403 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.7353, allocations: 84.86 kB / 0.9404 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007926/0.7362, allocations: 183.7 kB / 0.9406 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.7383, allocations: 1.625 MB / 0.9422 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.7392, allocations: 112.8 kB / 0.9423 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/0.7393, allocations: 27.98 kB / 0.9423 GB, free: 13.79 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.0005/0.7398, allocations: 277.7 kB / 0.9426 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.74, allocations: 82.97 kB / 0.9426 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.743, allocations: 1.209 MB / 0.9438 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.743, allocations: 8 kB / 0.9438 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.743, allocations: 3.938 kB / 0.9438 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.743, allocations: 3.984 kB / 0.9438 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004338/0.7474, allocations: 2.154 MB / 0.9459 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7474, allocations: 0 / 0.9459 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007461/0.7482, allocations: 175.7 kB / 0.9461 GB, free: 9.801 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.7486, allocations: 76.78 kB / 0.9462 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.739e-05/0.7487, allocations: 27.97 kB / 0.9462 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.7506, allocations: 1.654 MB / 0.9478 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.7507, allocations: 0 / 0.9478 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.7532, allocations: 1.123 MB / 0.9489 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/0.7537, allocations: 279.7 kB / 0.9492 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.7539, allocations: 19.33 kB / 0.9492 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008278/0.7547, allocations: 87.89 kB / 0.9493 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.7549, allocations: 76.84 kB / 0.9494 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.755, allocations: 39.97 kB / 0.9494 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006599/0.7557, allocations: 471 kB / 0.9498 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7557, allocations: 0 / 0.9498 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009607/0.7566, allocations: 323.1 kB / 0.9501 GB, free: 5.473 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.004131/0.7608, allocations: 2.173 MB / 0.9523 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.763, allocations: 0.9144 MB / 0.9532 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.763, allocations: 3.984 kB / 0.9532 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.7642, allocations: 0.5822 MB / 0.9537 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.7655, allocations: 299.4 kB / 0.954 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.7787, allocations: 6.827 MB / 0.9607 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.7795, allocations: 1.051 MB / 0.9617 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009157/0.7804, allocations: 282.8 kB / 0.962 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006244/0.7811, allocations: 419.3 kB / 0.9624 GB, free: 8.926 MB / 0.7169 GB Notification: Performance of SimCode: time 7.22e-07/0.7811, allocations: 0 / 0.9624 GB, free: 8.926 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05342/0.8345, allocations: 22.69 MB / 0.9845 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.07, allocations: 22.64 kB / 0.9846 GB, free: 2.598 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 & /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)