Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001087/0.001087, allocations: 105.9 kB / 16.4 MB, free: 6.512 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.001215/0.001215, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7608/0.7608, allocations: 122.9 MB / 414.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.3 kB / 0.5679 GB, free: 29.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1287, allocations: 77.93 MB / 0.644 GB, free: 9.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006602/0.1353, allocations: 5.143 MB / 0.6491 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4497/0.585, allocations: 150.7 MB / 0.7963 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008116/0.5859, allocations: 19.88 kB / 0.7963 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.5866, allocations: 206.2 kB / 0.7965 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.5884, allocations: 0.568 MB / 0.797 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.5903, allocations: 0.8715 MB / 0.7979 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.5918, allocations: 1.456 MB / 0.7993 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009186/0.5927, allocations: 0.6505 MB / 0.7999 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007233/0.5934, allocations: 0.5248 MB / 0.8004 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006891/0.5941, allocations: 0.5477 MB / 0.801 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002479/0.5944, allocations: 124.8 kB / 0.8011 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009544/0.5954, allocations: 0.5024 MB / 0.8016 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.5957, allocations: 323.1 kB / 0.8019 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006477/0.5963, allocations: 0.602 MB / 0.8025 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.5983, allocations: 1.765 MB / 0.8042 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5983, allocations: 3.75 kB / 0.8042 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5983, allocations: 0 / 0.8042 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.395e-05/0.5983, allocations: 2.578 kB / 0.8042 GB, free: 11.46 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002432/0.6008, allocations: 1.558 MB / 0.8057 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.6008, allocations: 8.656 kB / 0.8057 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.601, allocations: 147.2 kB / 0.8059 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.6021, allocations: 225.4 kB / 0.8061 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.6032, allocations: 0.7869 MB / 0.8069 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.6033, allocations: 67.66 kB / 0.8069 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.6034, allocations: 94.05 kB / 0.807 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.605, allocations: 1.02 MB / 0.808 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.605, allocations: 0 / 0.808 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.6051, allocations: 37.72 kB / 0.8081 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.6051, allocations: 27.52 kB / 0.8081 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.6069, allocations: 1.179 MB / 0.8092 GB, free: 9.535 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004026/0.6109, allocations: 2.943 MB / 0.8121 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.6125, allocations: 0.9134 MB / 0.813 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.613, allocations: 322.4 kB / 0.8133 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006284/0.6137, allocations: 469.9 kB / 0.8138 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008631/0.6146, allocations: 0.5012 MB / 0.8142 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.284e-06/0.6146, allocations: 0 / 0.8142 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003222/0.6178, allocations: 1.235 MB / 0.8154 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.6179, allocations: 197.8 kB / 0.8156 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007679/0.6187, allocations: 0.6416 MB / 0.8163 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.445e-05/0.6188, allocations: 42.17 kB / 0.8163 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.6191, allocations: 438.5 kB / 0.8167 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.6193, allocations: 274.2 kB / 0.817 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.6195, allocations: 153.2 kB / 0.8171 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.6197, allocations: 384.6 kB / 0.8175 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005403/0.6203, allocations: 262 kB / 0.8177 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/0.6209, allocations: 372.6 kB / 0.8181 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.622, allocations: 0.5996 MB / 0.8187 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.622, allocations: 3.938 kB / 0.8187 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001909/0.624, allocations: 0.8313 MB / 0.8195 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.624, allocations: 16.84 kB / 0.8195 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.624, allocations: 1.812 kB / 0.8195 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/0.6246, allocations: 84.27 kB / 0.8196 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.6252, allocations: 155.4 kB / 0.8197 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.6272, allocations: 1.631 MB / 0.8213 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007269/0.628, allocations: 92.61 kB / 0.8214 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.628, allocations: 31.53 kB / 0.8215 GB, free: 1.523 MB / 0.5919 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 (88): * Single equations (assignments): 87 * 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.0004072/0.6285, allocations: 276.8 kB / 0.8217 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.6286, allocations: 91.2 kB / 0.8218 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.631, allocations: 1.09 MB / 0.8229 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.631, allocations: 9.375 kB / 0.8229 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6311, allocations: 0 / 0.8229 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.6311, allocations: 15.91 kB / 0.8229 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.6343, allocations: 2.006 MB / 0.8249 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6344, allocations: 6.531 kB / 0.8249 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006045/0.635, allocations: 149 kB / 0.825 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004221/0.6354, allocations: 74.66 kB / 0.8251 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/0.6355, allocations: 23.48 kB / 0.8251 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.6373, allocations: 1.666 MB / 0.8267 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6373, allocations: 0 / 0.8267 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.6394, allocations: 1.025 MB / 0.8277 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/0.6398, allocations: 283.9 kB / 0.828 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.64, allocations: 19.31 kB / 0.828 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000706/0.6407, allocations: 66.3 kB / 0.8281 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.6408, allocations: 75.98 kB / 0.8282 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/0.6409, allocations: 30.92 kB / 0.8282 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005433/0.6415, allocations: 469.6 kB / 0.8286 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.633e-06/0.6415, allocations: 3.062 kB / 0.8286 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008566/0.6423, allocations: 354.4 kB / 0.829 GB, free: 12.3 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 (93): * Single equations (assignments): 87 * 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.003553/0.6459, allocations: 2.106 MB / 0.831 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.6476, allocations: 0.8211 MB / 0.8318 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6476, allocations: 0 / 0.8318 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009455/0.6485, allocations: 0.5343 MB / 0.8324 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.6498, allocations: 311.1 kB / 0.8326 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.66, allocations: 6.446 MB / 0.8389 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/0.6606, allocations: 1.039 MB / 0.84 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008406/0.6615, allocations: 270.9 kB / 0.8402 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005803/0.6621, allocations: 411.2 kB / 0.8406 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.6621, allocations: 0 / 0.8406 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04844/0.7105, allocations: 22.45 MB / 0.8625 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13, allocations: 9.812 kB / 0.8625 GB, free: 13.14 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)