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.001104/0.001104, allocations: 95.48 kB / 15.68 MB, free: 488 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.001086/0.001086, allocations: 176.2 kB / 16.57 MB, free: 6.391 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.314/1.314, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6285/0.6285, allocations: 113.7 MB / 405.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 8 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1444, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00407/0.1485, allocations: 3.702 MB / 0.5603 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4515/0.6001, allocations: 127.6 MB / 0.6849 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009302/0.6011, allocations: 15.94 kB / 0.6849 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.6015, allocations: 79.27 kB / 0.685 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.6031, allocations: 0.4913 MB / 0.6855 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.605, allocations: 0.6315 MB / 0.6861 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.6063, allocations: 0.8222 MB / 0.6869 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007593/0.6071, allocations: 0.551 MB / 0.6874 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005825/0.6077, allocations: 350.5 kB / 0.6878 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.6081, allocations: 362.1 kB / 0.6881 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.222e-05/0.6082, allocations: 28 kB / 0.6881 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007488/0.609, allocations: 303.7 kB / 0.6884 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.6092, allocations: 195.2 kB / 0.6886 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.6093, allocations: 201.1 kB / 0.6888 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.6105, allocations: 1.232 MB / 0.69 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.6106, allocations: 0 / 0.69 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6106, allocations: 0 / 0.69 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.6106, allocations: 0 / 0.69 GB, free: 1.527 MB / 0.4981 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.002257/0.6128, allocations: 1.283 MB / 0.6913 GB, free: 204 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.6129, allocations: 8.031 kB / 0.6913 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/0.6131, allocations: 148.1 kB / 0.6914 GB, free: 40 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.6147, allocations: 326.1 kB / 0.6917 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.6158, allocations: 0.7342 MB / 0.6924 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.511e-05/0.6158, allocations: 81.66 kB / 0.6925 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.6159, allocations: 92 kB / 0.6926 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.6177, allocations: 1.058 MB / 0.6936 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.6177, allocations: 4 kB / 0.6936 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.6178, allocations: 40 kB / 0.6937 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.6179, allocations: 24 kB / 0.6937 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.62, allocations: 1.272 MB / 0.6949 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00436/0.6244, allocations: 2.746 MB / 0.6976 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.6269, allocations: 1.034 MB / 0.6986 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-05/0.627, allocations: 36.59 kB / 0.6987 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.6281, allocations: 0.5549 MB / 0.6992 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=84): time 2.295e-06/0.6281, allocations: 0 / 0.6992 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84): time 0.003679/0.6318, allocations: 1.381 MB / 0.7006 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/0.6319, allocations: 188.9 kB / 0.7007 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008221/0.6327, allocations: 0.6371 MB / 0.7014 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-05/0.6328, allocations: 49.64 kB / 0.7014 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/0.6334, allocations: 424.3 kB / 0.7018 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00035/0.6337, allocations: 276 kB / 0.7021 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.6338, allocations: 16 kB / 0.7021 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000238/0.634, allocations: 390.7 kB / 0.7025 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007922/0.6348, allocations: 301.8 kB / 0.7028 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007815/0.6356, allocations: 410.5 kB / 0.7031 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.6364, allocations: 346.9 kB / 0.7035 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6364, allocations: 0 / 0.7035 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002212/0.6386, allocations: 0.919 MB / 0.7044 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.6387, allocations: 4 kB / 0.7044 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.6387, allocations: 4 kB / 0.7044 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/0.6393, allocations: 80.84 kB / 0.7045 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000779/0.6401, allocations: 183.7 kB / 0.7046 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.6419, allocations: 1.528 MB / 0.7061 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008098/0.6428, allocations: 128.8 kB / 0.7063 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/0.6428, allocations: 27.98 kB / 0.7063 GB, free: 364 kB / 0.5137 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.0005084/0.6433, allocations: 274.3 kB / 0.7065 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.6435, allocations: 83.14 kB / 0.7066 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.6463, allocations: 1.226 MB / 0.7078 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.6463, allocations: 15.78 kB / 0.7078 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.6463, allocations: 0 / 0.7078 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.6463, allocations: 3.984 kB / 0.7078 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003695/0.65, allocations: 2.153 MB / 0.7099 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.65, allocations: 0 / 0.7099 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007269/0.6508, allocations: 175.7 kB / 0.7101 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004932/0.6513, allocations: 84.77 kB / 0.7102 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.6513, allocations: 23.98 kB / 0.7102 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.653, allocations: 1.556 MB / 0.7117 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.653, allocations: 0 / 0.7117 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.6554, allocations: 1.125 MB / 0.7128 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/0.6559, allocations: 295.5 kB / 0.7131 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.656, allocations: 27.95 kB / 0.7131 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007966/0.6568, allocations: 100.7 kB / 0.7132 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.657, allocations: 72.89 kB / 0.7133 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/0.657, allocations: 43.97 kB / 0.7133 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005755/0.6576, allocations: 463 kB / 0.7138 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6576, allocations: 0 / 0.7138 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009081/0.6586, allocations: 323.2 kB / 0.7141 GB, free: 8.098 MB / 0.5294 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.003804/0.6624, allocations: 2.159 MB / 0.7162 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.6645, allocations: 0.9134 MB / 0.7171 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6645, allocations: 4 kB / 0.7171 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.6656, allocations: 0.586 MB / 0.7177 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.6668, allocations: 248 kB / 0.7179 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.6771, allocations: 5.9 MB / 0.7237 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.6776, allocations: 1.071 MB / 0.7247 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008758/0.6785, allocations: 286.8 kB / 0.725 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005102/0.679, allocations: 417.3 kB / 0.7254 GB, free: 12.53 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.6791, allocations: 0 / 0.7254 GB, free: 12.53 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.35/3.029, allocations: 22.06 MB / 0.7469 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/3.03, allocations: 277.9 kB / 0.7472 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.518/6.547, allocations: 3.75 kB / 0.7472 GB, free: 6.531 MB / 0.5606 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: