Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_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.000935/0.0009352, allocations: 92.7 kB / 15.7 MB, free: 472 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.001199/0.0012, allocations: 175.7 kB / 16.58 MB, free: 6.066 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.367/1.367, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6695/0.6695, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 8 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1576, allocations: 77.12 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004559/0.1622, allocations: 3.791 MB / 0.5606 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5789/0.7411, allocations: 136.8 MB / 0.6942 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009005/0.7421, allocations: 15.88 kB / 0.6942 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006859/0.7428, allocations: 138.9 kB / 0.6943 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.7446, allocations: 422.8 kB / 0.6947 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.7467, allocations: 0.6427 MB / 0.6954 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00154/0.7482, allocations: 1.148 MB / 0.6965 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007479/0.749, allocations: 0.5503 MB / 0.697 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005397/0.7496, allocations: 342.4 kB / 0.6973 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004806/0.75, allocations: 385.9 kB / 0.6977 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.355e-05/0.7501, allocations: 24 kB / 0.6977 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008268/0.751, allocations: 335.6 kB / 0.6981 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.7512, allocations: 195.1 kB / 0.6982 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.7514, allocations: 201.1 kB / 0.6984 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.7526, allocations: 1.231 MB / 0.6996 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.7526, allocations: 0 / 0.6996 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.484e-06/0.7526, allocations: 0 / 0.6996 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.7526, allocations: 0 / 0.6996 GB, free: 8.555 MB / 0.5137 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.002435/0.7551, allocations: 1.279 MB / 0.7009 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.7551, allocations: 12.03 kB / 0.7009 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.7553, allocations: 148.1 kB / 0.701 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.7568, allocations: 318.2 kB / 0.7013 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.7578, allocations: 0.7458 MB / 0.7021 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.7579, allocations: 73.95 kB / 0.7021 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.758, allocations: 96 kB / 0.7022 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.7598, allocations: 1.062 MB / 0.7033 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.7598, allocations: 0 / 0.7033 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.7599, allocations: 43.94 kB / 0.7033 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.76, allocations: 27.94 kB / 0.7033 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.7621, allocations: 1.268 MB / 0.7046 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004525/0.7666, allocations: 2.744 MB / 0.7073 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.7689, allocations: 1.035 MB / 0.7083 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006889/0.7696, allocations: 362.6 kB / 0.7086 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.753e-05/0.7697, allocations: 36.47 kB / 0.7086 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.7707, allocations: 0.5588 MB / 0.7092 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=84): time 2.525e-06/0.7708, allocations: 0 / 0.7092 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84): time 0.003428/0.7742, allocations: 1.388 MB / 0.7105 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.42e-05/0.7743, allocations: 188.9 kB / 0.7107 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.7751, allocations: 0.6371 MB / 0.7113 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.7752, allocations: 45.64 kB / 0.7114 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.7755, allocations: 424.2 kB / 0.7118 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.7758, allocations: 280 kB / 0.7121 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.7758, allocations: 12 kB / 0.7121 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.776, allocations: 386.8 kB / 0.7124 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.7766, allocations: 305.8 kB / 0.7127 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006998/0.7773, allocations: 418.5 kB / 0.7131 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000693/0.778, allocations: 350.8 kB / 0.7135 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.778, allocations: 0 / 0.7135 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002027/0.7801, allocations: 0.9151 MB / 0.7144 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.7801, allocations: 8 kB / 0.7144 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.7801, allocations: 0 / 0.7144 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005153/0.7806, allocations: 84.86 kB / 0.7145 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/0.7814, allocations: 175.8 kB / 0.7146 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.7832, allocations: 1.513 MB / 0.7161 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008678/0.7841, allocations: 127.5 kB / 0.7162 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/0.7842, allocations: 43.66 kB / 0.7163 GB, free: 7.008 MB / 0.5294 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000517/0.7847, allocations: 270.3 kB / 0.7165 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.7848, allocations: 86.97 kB / 0.7166 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/0.7875, allocations: 1.211 MB / 0.7178 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.7875, allocations: 15.95 kB / 0.7178 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7875, allocations: 3.984 kB / 0.7178 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.7875, allocations: 7.969 kB / 0.7178 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/0.791, allocations: 2.149 MB / 0.7199 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.7911, allocations: 4 kB / 0.7199 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/0.7918, allocations: 171.8 kB / 0.7201 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004655/0.7923, allocations: 84.77 kB / 0.7202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/0.7924, allocations: 23.98 kB / 0.7202 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.7941, allocations: 1.544 MB / 0.7217 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7941, allocations: 0 / 0.7217 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.7965, allocations: 1.117 MB / 0.7228 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.7969, allocations: 295.5 kB / 0.7231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.797, allocations: 24 kB / 0.7231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006949/0.7977, allocations: 107.1 kB / 0.7232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.7979, allocations: 76.89 kB / 0.7233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/0.798, allocations: 47.91 kB / 0.7233 GB, free: 15.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005575/0.7985, allocations: 463 kB / 0.7237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.7986, allocations: 3.938 kB / 0.7237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008629/0.7994, allocations: 323.2 kB / 0.7241 GB, free: 14.76 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003625/0.8031, allocations: 2.154 MB / 0.7262 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002093/0.8052, allocations: 0.9173 MB / 0.7271 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.8052, allocations: 4 kB / 0.7271 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.8065, allocations: 0.586 MB / 0.7276 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.8078, allocations: 257 kB / 0.7279 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.8183, allocations: 5.507 MB / 0.7333 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.819, allocations: 1.048 MB / 0.7343 GB, free: 4.297 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009932/0.82, allocations: 274.9 kB / 0.7345 GB, free: 4.023 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005649/0.8205, allocations: 423.2 kB / 0.7349 GB, free: 3.609 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.8205, allocations: 0 / 0.7349 GB, free: 3.609 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05983/0.8804, allocations: 22.1 MB / 0.7565 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/0.8807, allocations: 286.9 kB / 0.7568 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.262, allocations: 0 / 0.7568 GB, free: 13.58 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) Environment - environmentSimulation: