Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_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.004593/0.004593, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001241/0.001241, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.002519, allocations: 285.4 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.162/1.162, allocations: 178.5 MB / 0.5074 GB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 91.84 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3846, allocations: 89.12 MB / 0.7813 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006405/0.391, allocations: 5.167 MB / 0.7864 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1715/0.5625, allocations: 150.7 MB / 0.9336 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008422/0.5634, allocations: 15.94 kB / 0.9336 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006192/0.564, allocations: 202.1 kB / 0.9338 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.5659, allocations: 0.5775 MB / 0.9343 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.568, allocations: 0.8572 MB / 0.9352 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.5697, allocations: 1.452 MB / 0.9366 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009643/0.5706, allocations: 0.6595 MB / 0.9372 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006526/0.5713, allocations: 0.5139 MB / 0.9377 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000663/0.572, allocations: 0.5523 MB / 0.9383 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.5722, allocations: 124 kB / 0.9384 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009637/0.5731, allocations: 0.5074 MB / 0.9389 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.5735, allocations: 319 kB / 0.9392 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005842/0.5741, allocations: 0.6064 MB / 0.9398 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.5761, allocations: 1.763 MB / 0.9415 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5762, allocations: 0 / 0.9415 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5762, allocations: 0 / 0.9415 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.5762, allocations: 0 / 0.9415 GB, free: 4.082 MB / 0.7012 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.002608/0.5788, allocations: 1.553 MB / 0.943 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.5788, allocations: 12.03 kB / 0.943 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/0.579, allocations: 152.2 kB / 0.9432 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.5801, allocations: 224 kB / 0.9434 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.5813, allocations: 0.7893 MB / 0.9442 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.768e-05/0.5814, allocations: 74 kB / 0.9442 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.5815, allocations: 88 kB / 0.9443 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.5833, allocations: 1.012 MB / 0.9453 GB, free: 44 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5834, allocations: 0 / 0.9453 GB, free: 44 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.335e-05/0.5835, allocations: 44 kB / 0.9453 GB, free: 0 / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.54e-05/0.5835, allocations: 20.05 kB / 0.9454 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.5856, allocations: 1.178 MB / 0.9465 GB, free: 14.8 MB / 0.7169 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.004463/0.5901, allocations: 2.946 MB / 0.9494 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.5919, allocations: 0.9076 MB / 0.9503 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/0.5925, allocations: 322.6 kB / 0.9506 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006913/0.5932, allocations: 478.1 kB / 0.951 GB, free: 9.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009556/0.5942, allocations: 0.5009 MB / 0.9515 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 2.104e-06/0.5942, allocations: 0 / 0.9515 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=82): time 0.00343/0.5976, allocations: 1.237 MB / 0.9527 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.5978, allocations: 196.6 kB / 0.9529 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008483/0.5986, allocations: 0.6411 MB / 0.9535 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.5987, allocations: 45.7 kB / 0.9536 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.5991, allocations: 433 kB / 0.954 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.5993, allocations: 277.6 kB / 0.9543 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.5996, allocations: 154.5 kB / 0.9544 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.5998, allocations: 390.7 kB / 0.9548 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/0.6004, allocations: 253.9 kB / 0.955 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006857/0.6011, allocations: 374.5 kB / 0.9554 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.6023, allocations: 0.5995 MB / 0.956 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.6024, allocations: 0 / 0.956 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002008/0.6044, allocations: 0.8296 MB / 0.9568 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6044, allocations: 12.08 kB / 0.9568 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6044, allocations: 4 kB / 0.9568 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/0.605, allocations: 76.78 kB / 0.9569 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/0.6057, allocations: 163.7 kB / 0.957 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.6079, allocations: 1.634 MB / 0.9586 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006515/0.6086, allocations: 91.5 kB / 0.9587 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.6086, allocations: 28.17 kB / 0.9587 GB, free: 1.699 MB / 0.7169 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.0003923/0.609, allocations: 277.6 kB / 0.959 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.6092, allocations: 91.44 kB / 0.9591 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/0.6118, allocations: 1.093 MB / 0.9602 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.6118, allocations: 8 kB / 0.9602 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.6118, allocations: 0 / 0.9602 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.6118, allocations: 7.984 kB / 0.9602 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.6154, allocations: 2.017 MB / 0.9621 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6154, allocations: 3.938 kB / 0.9621 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/0.616, allocations: 143.8 kB / 0.9623 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.6165, allocations: 76.78 kB / 0.9624 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.6166, allocations: 23.98 kB / 0.9624 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.6186, allocations: 1.67 MB / 0.964 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6186, allocations: 0 / 0.964 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.6208, allocations: 1.026 MB / 0.965 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/0.6212, allocations: 284.1 kB / 0.9653 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.6213, allocations: 16 kB / 0.9653 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006754/0.622, allocations: 70.89 kB / 0.9654 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.6221, allocations: 80.83 kB / 0.9654 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-05/0.6222, allocations: 31.98 kB / 0.9655 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000614/0.6229, allocations: 471 kB / 0.9659 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6229, allocations: 0 / 0.9659 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008613/0.6237, allocations: 351 kB / 0.9663 GB, free: 9.73 MB / 0.7325 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.004279/0.628, allocations: 2.09 MB / 0.9683 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.6298, allocations: 0.8196 MB / 0.9691 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6298, allocations: 4 kB / 0.9691 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6308, allocations: 0.5393 MB / 0.9696 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.6321, allocations: 313.7 kB / 0.9699 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.6429, allocations: 6.439 MB / 0.9762 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/0.6436, allocations: 1.047 MB / 0.9772 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008042/0.6444, allocations: 274.8 kB / 0.9775 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005969/0.645, allocations: 407.3 kB / 0.9779 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.645, allocations: 0 / 0.9779 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3446/0.9896, allocations: 22.48 MB / 0.9998 GB, free: 199.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.67, allocations: 8.688 kB / 0.9998 GB, free: 199.7 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)