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.001278/0.001278, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001178/0.001178, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8114/0.8114, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 59.75 kB / 0.5735 GB, free: 27.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1324, allocations: 78.87 MB / 0.6505 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007116/0.1395, allocations: 5.163 MB / 0.6556 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.451/0.5906, allocations: 150.7 MB / 0.8028 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006979/0.5913, allocations: 19.06 kB / 0.8028 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.5919, allocations: 204.3 kB / 0.803 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.5934, allocations: 0.5654 MB / 0.8035 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.595, allocations: 0.8721 MB / 0.8044 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0012/0.5962, allocations: 1.451 MB / 0.8058 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007802/0.597, allocations: 0.6591 MB / 0.8064 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/0.5975, allocations: 0.5129 MB / 0.8069 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.598, allocations: 0.5453 MB / 0.8075 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.5982, allocations: 129.8 kB / 0.8076 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007192/0.5989, allocations: 0.5026 MB / 0.8081 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.5991, allocations: 320.5 kB / 0.8084 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.5996, allocations: 0.6004 MB / 0.809 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.6012, allocations: 1.77 MB / 0.8107 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.6012, allocations: 0 / 0.8107 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6012, allocations: 0 / 0.8107 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.6012, allocations: 0 / 0.8107 GB, free: 10.72 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.002461/0.6037, allocations: 1.554 MB / 0.8122 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.6037, allocations: 7.531 kB / 0.8122 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.6039, allocations: 146.9 kB / 0.8124 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.6049, allocations: 225 kB / 0.8126 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.606, allocations: 0.7885 MB / 0.8133 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/0.6061, allocations: 74.16 kB / 0.8134 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.782e-05/0.6062, allocations: 88.25 kB / 0.8135 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.6078, allocations: 1.02 MB / 0.8145 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.6078, allocations: 0 / 0.8145 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.127e-05/0.6079, allocations: 41.31 kB / 0.8145 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.6079, allocations: 22.62 kB / 0.8146 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.6097, allocations: 1.174 MB / 0.8157 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004213/0.614, allocations: 3.056 MB / 0.8187 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.6157, allocations: 0.908 MB / 0.8196 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/0.6162, allocations: 320.5 kB / 0.8199 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00069/0.617, allocations: 476.9 kB / 0.8203 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009049/0.6179, allocations: 0.5003 MB / 0.8208 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.314e-06/0.6179, allocations: 0 / 0.8208 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003309/0.6212, allocations: 1.235 MB / 0.822 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.6213, allocations: 194.4 kB / 0.8222 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007458/0.6221, allocations: 0.635 MB / 0.8228 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.6222, allocations: 48.48 kB / 0.8229 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.6225, allocations: 435.9 kB / 0.8233 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.6228, allocations: 290.9 kB / 0.8236 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.623, allocations: 149.2 kB / 0.8237 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.6232, allocations: 388.8 kB / 0.8241 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/0.6237, allocations: 253.9 kB / 0.8243 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006543/0.6244, allocations: 372.5 kB / 0.8247 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.6256, allocations: 0.6035 MB / 0.8253 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6256, allocations: 2.875 kB / 0.8253 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001945/0.6275, allocations: 0.833 MB / 0.8261 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6276, allocations: 5.344 kB / 0.8261 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6276, allocations: 5.969 kB / 0.8261 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/0.6282, allocations: 79.81 kB / 0.8262 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.6288, allocations: 158.9 kB / 0.8263 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.631, allocations: 1.62 MB / 0.8279 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000698/0.6317, allocations: 101.6 kB / 0.828 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.6318, allocations: 28.05 kB / 0.828 GB, free: 15.37 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 (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.0004252/0.6322, allocations: 272.8 kB / 0.8283 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.6324, allocations: 90.84 kB / 0.8284 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.6349, allocations: 1.102 MB / 0.8295 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.6349, allocations: 10.47 kB / 0.8295 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.6349, allocations: 0 / 0.8295 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.6349, allocations: 7.547 kB / 0.8295 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/0.6383, allocations: 2.007 MB / 0.8314 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6383, allocations: 4 kB / 0.8314 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.6389, allocations: 147.2 kB / 0.8316 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.6393, allocations: 72.98 kB / 0.8317 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/0.6394, allocations: 29.64 kB / 0.8317 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.6414, allocations: 1.659 MB / 0.8333 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6414, allocations: 2.281 kB / 0.8333 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.6435, allocations: 1.032 MB / 0.8343 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/0.6439, allocations: 284.1 kB / 0.8346 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.644, allocations: 19.75 kB / 0.8346 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/0.6447, allocations: 64.17 kB / 0.8347 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.6449, allocations: 80.17 kB / 0.8347 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/0.6449, allocations: 30.39 kB / 0.8348 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005527/0.6455, allocations: 473.9 kB / 0.8352 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6455, allocations: 0 / 0.8352 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008287/0.6463, allocations: 350.7 kB / 0.8356 GB, free: 10.16 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.004129/0.6505, allocations: 2.099 MB / 0.8376 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.6521, allocations: 0.8197 MB / 0.8384 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6522, allocations: 1.781 kB / 0.8384 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009572/0.6531, allocations: 0.537 MB / 0.8389 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.6544, allocations: 305.4 kB / 0.8392 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.6652, allocations: 6.451 MB / 0.8455 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007176/0.6659, allocations: 1.039 MB / 0.8465 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008543/0.6668, allocations: 282.7 kB / 0.8468 GB, free: 304 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006094/0.6674, allocations: 403.7 kB / 0.8472 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.6674, allocations: 4 kB / 0.8472 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05932/0.7268, allocations: 22.44 MB / 0.8691 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.56, allocations: 10.44 kB / 0.8691 GB, free: 9.781 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)