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.001935/0.001935, allocations: 104.1 kB / 16.4 MB, free: 6.496 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.001973/0.001973, allocations: 192 kB / 17.34 MB, free: 5.727 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7984/0.7984, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 59.2 kB / 0.5735 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1341, allocations: 78.87 MB / 0.6505 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007096/0.1412, allocations: 5.172 MB / 0.6556 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4549/0.5961, allocations: 150.7 MB / 0.8027 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008181/0.597, allocations: 16.78 kB / 0.8027 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005464/0.5975, allocations: 201.4 kB / 0.8029 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.599, allocations: 0.5657 MB / 0.8035 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.6006, allocations: 0.859 MB / 0.8043 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.6019, allocations: 1.458 MB / 0.8057 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007887/0.6027, allocations: 0.6642 MB / 0.8064 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005267/0.6032, allocations: 0.5187 MB / 0.8069 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/0.6037, allocations: 0.55 MB / 0.8074 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.6039, allocations: 132.2 kB / 0.8076 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007165/0.6046, allocations: 492.1 kB / 0.808 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.6049, allocations: 332 kB / 0.8083 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004372/0.6053, allocations: 0.6065 MB / 0.8089 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.6068, allocations: 1.765 MB / 0.8107 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6069, allocations: 0 / 0.8107 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6069, allocations: 0 / 0.8107 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.6069, allocations: 0 / 0.8107 GB, free: 10.77 MB / 0.5919 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.002485/0.6094, allocations: 1.557 MB / 0.8122 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.6094, allocations: 8.844 kB / 0.8122 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.6096, allocations: 155.4 kB / 0.8123 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.6112, allocations: 310 kB / 0.8126 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.6123, allocations: 0.7956 MB / 0.8134 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.6124, allocations: 75.94 kB / 0.8135 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.6125, allocations: 91.53 kB / 0.8136 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.6143, allocations: 1.074 MB / 0.8146 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.6144, allocations: 0 / 0.8146 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.584e-05/0.6144, allocations: 41.38 kB / 0.8147 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.6145, allocations: 22.28 kB / 0.8147 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.6166, allocations: 1.272 MB / 0.8159 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004443/0.6211, allocations: 3.057 MB / 0.8189 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.6237, allocations: 1.023 MB / 0.8199 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007861/0.6245, allocations: 370 kB / 0.8203 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.238e-05/0.6246, allocations: 36.64 kB / 0.8203 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.6257, allocations: 0.5535 MB / 0.8208 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.505e-06/0.6258, allocations: 4 kB / 0.8208 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003955/0.6297, allocations: 1.39 MB / 0.8222 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.6298, allocations: 195.3 kB / 0.8224 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/0.6306, allocations: 0.6349 MB / 0.823 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/0.6307, allocations: 46.42 kB / 0.823 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.631, allocations: 436.6 kB / 0.8235 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.6313, allocations: 289 kB / 0.8237 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.6315, allocations: 153.4 kB / 0.8239 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.6318, allocations: 388.2 kB / 0.8243 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007388/0.6325, allocations: 304.5 kB / 0.8245 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008503/0.6334, allocations: 416.5 kB / 0.8249 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.635, allocations: 0.694 MB / 0.8256 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.635, allocations: 0 / 0.8256 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002329/0.6373, allocations: 0.9262 MB / 0.8265 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6374, allocations: 5.938 kB / 0.8265 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6374, allocations: 0 / 0.8265 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/0.638, allocations: 81.97 kB / 0.8266 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/0.6388, allocations: 186.5 kB / 0.8268 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.641, allocations: 1.629 MB / 0.8284 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.6418, allocations: 108.9 kB / 0.8285 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.6418, allocations: 35.47 kB / 0.8285 GB, free: 15.53 MB / 0.6075 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.000399/0.6422, allocations: 266.1 kB / 0.8288 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.6424, allocations: 90.19 kB / 0.8289 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/0.6453, allocations: 1.212 MB / 0.83 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.6453, allocations: 7.906 kB / 0.83 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.6453, allocations: 0 / 0.83 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.6454, allocations: 10.47 kB / 0.8301 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/0.6491, allocations: 2.141 MB / 0.8321 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6491, allocations: 0 / 0.8321 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007347/0.6498, allocations: 170.8 kB / 0.8323 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/0.6503, allocations: 69.86 kB / 0.8324 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.6504, allocations: 30.47 kB / 0.8324 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.6523, allocations: 1.669 MB / 0.834 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6523, allocations: 0 / 0.834 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.6548, allocations: 1.122 MB / 0.8351 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.6552, allocations: 286.5 kB / 0.8354 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.6553, allocations: 23.27 kB / 0.8354 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007896/0.6561, allocations: 86.31 kB / 0.8355 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.6563, allocations: 72.09 kB / 0.8356 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-05/0.6564, allocations: 42.91 kB / 0.8356 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005641/0.657, allocations: 468.8 kB / 0.8361 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.657, allocations: 0 / 0.8361 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008196/0.6578, allocations: 348.2 kB / 0.8364 GB, free: 10.17 MB / 0.6075 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.004569/0.6624, allocations: 2.177 MB / 0.8385 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.6645, allocations: 0.9283 MB / 0.8394 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6646, allocations: 0 / 0.8394 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.6658, allocations: 0.5783 MB / 0.84 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.6671, allocations: 310.7 kB / 0.8403 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.6794, allocations: 6.762 MB / 0.8469 GB, free: 364 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/0.6801, allocations: 1.047 MB / 0.8479 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008704/0.681, allocations: 267 kB / 0.8482 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/0.6816, allocations: 427.2 kB / 0.8486 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.6817, allocations: 0 / 0.8486 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05601/0.7377, allocations: 22.66 MB / 0.8707 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.61, allocations: 15.59 kB / 0.8707 GB, free: 8.25 MB / 0.6387 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)